Skip to main content

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:

  1. Stop the container
# Look for TRIP container
$ docker ps

$ docker stop <trip_container_id>
  1. Create a backup archive of the storage directory
zip -r <date>_TRIP_backup.zip <path/to/storage>
  1. Restart the container

Restore

danger

Ensure the container is not running before restoring

  1. Extract the backup archive to the storage directory
$ unzip <date>_TRIP_backup.zip -d <path/to/storage>
  1. Start the container