tripweb/docs/backup.md
2025-07-30 08:51:30 +02:00

463 B

TRIP uses a SQLite database to store the data.

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. Copy the SQLite database file
$ cp /path/to/trip/storage/trip.sqlite /path/to/backups/trip.sqlite.bak
  1. Restart the container

Tip

To restore your data, simply copy the trip.sqlite file back into the storage directory.