Traccar tools

Slaweka year ago

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

TelematicsKea year ago

Thank you @slawek

bartlebia year ago

@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
Slaweka year ago

use this

this script should work good with ver 6.X (7.X etc.)

https://mega.nz/file/P09wCT6D#ZnJ7Z1-zZgeU4b02jyw6TQ_2jwNomxhLdoAQOoF8aCU

Shadow10 months ago

I have 5.12 , which script should I use?

Slawek10 months ago

use this

this script should work good with ver 6.X (7.X etc.)

https://mega.nz/file/P09wCT6D#ZnJ7Z1-zZgeU4b02jyw6TQ_2jwNomxhLdoAQOoF8aCU

flejur7 days ago

Hello the script is not working with the new Versionin of traccar 6.7.1? Where can fix this please? Thank you

Slawek6 days ago
fedingas6 days ago

traccar_tools.sh: 3: set: Illegal option -o pipefail

What this error means?

Slawek6 days ago

Try

chmod +x traccar_tools.sh
bash ./traccar_tools.sh

fedingas6 days ago

Thx, works.

Slawek6 days ago

--- Traccar Tools Menu ---

  1. Uninstall Traccar
  2. Install Traccar
  3. Upgrade Traccar
  4. Restart Traccar
  5. Show log
  6. Show status
  7. Check latest
  8. Backup MySQL
  9. Import MySQL
  10. Install MySQL server
  11. Reset MySQL server (DANGER!)
    x) Exit
  1. Uninstaller: removes the Traccar installation directory and its system service. For safety, it’s recommended to create a copy.

  2. Installs Traccar with default configuration.

  3. 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.

  4. Restarts Traccar.

  5. Shows the script log.

  6. Shows Traccar service status.

  7. Checks the latest available version.

  8. 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.

  9. Imports a MySQL backup: displays a list of archived databases and lets you select one to restore.

  10. Installs MySQL for use with Traccar using MYSQL_USER="root" and MYSQL_PASS="root".

  11. Resets the MySQL database by completely removing it and reinstalling. Please make a backup before using this option.

x) Exit.