Backup and Restore
warning
This procedure assumes you know the storage directory path or have not modified it from the default
use your values
Modify what is between < >
tip
You can create a full backup archive in the admin interface. User-scoped backup can be created and restored using the settings interface.
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