Thank you @slawek
@slawek script doesn't work because of sed (option 4 choosed):
sed: -e expression #1, char 9: unknown option to `s'
Latest available version
.1/traccar-linux-64-*.zip
use this
this script should work good with ver 6.X (7.X etc.)
https://mega.nz/file/P09wCT6D#ZnJ7Z1-zZgeU4b02jyw6TQ_2jwNomxhLdoAQOoF8aCU
I have 5.12 , which script should I use?
use this
this script should work good with ver 6.X (7.X etc.)
https://mega.nz/file/P09wCT6D#ZnJ7Z1-zZgeU4b02jyw6TQ_2jwNomxhLdoAQOoF8aCU
Hello the script is not working with the new Versionin of traccar 6.7.1? Where can fix this please? Thank you
traccar_tools.sh: 3: set: Illegal option -o pipefail
What this error means?
Try
chmod +x traccar_tools.sh
bash ./traccar_tools.sh
Thx, works.
--- Traccar Tools Menu ---
Uninstaller: removes the Traccar installation directory and its system service. For safety, it’s recommended to create a copy.
Installs Traccar with default configuration.
Upgrades to the latest version, creating and restoring a backup of configuration files by default in BACKUP_DIR="/root/backup"
. For extra safety, it’s recommended to create a manual copy as well.
Restarts Traccar.
Shows the script log.
Shows Traccar service status.
Checks the latest available version.
Creates a MySQL database backup by default in MYSQL_BACKUP_DIR="/root/mysql_backup"
. Deletes backups older than the number of days specified in DAYS_TO_KEEP=3
.
Imports a MySQL backup: displays a list of archived databases and lets you select one to restore.
Installs MySQL for use with Traccar using MYSQL_USER="root"
and MYSQL_PASS="root"
.
Resets the MySQL database by completely removing it and reinstalling. Please make a backup before using this option.
x) Exit.
this script should work good with ver 5.XX (6.XX etc.)
https://mega.nz/file/molx1KzA#MrHemJxs8JcKWagqL15PtOLfhCq1N6Eb6Z-QEOAYwLM
this script should work good with ver 6.X (7.X etc.)
https://mega.nz/file/P09wCT6D#ZnJ7Z1-zZgeU4b02jyw6TQ_2jwNomxhLdoAQOoF8aCU