# Backup and Restore | TRIP
Backup and Restore your data

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>

2. Create a backup archive of the storage directory

    zip -r <date>_TRIP_backup.zip <path/to/storage>

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

2. Start the container