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

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:

  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