Backup and Restore
warning
This procedure assumes you know the storage directory path or have not modified it from the default
danger
Modify what is between < >
TRIP stores data in the storage directory by default, including a SQLite database and related folders.
Backup
To back up your data, follow these simple steps:
- Stop the container
# Look for TRIP container
$ docker ps
$ docker stop <trip_container_id>
- Create a backup archive of the storage directory
zip -r <date>_TRIP_backup.zip <path/to/storage>
- Restart the container
Restore
danger
Ensure the container is not running before restoring
- Extract the backup archive to the storage directory
$ unzip <date>_TRIP_backup.zip -d <path/to/storage>
- Start the container