Operation
Backup and Restore
Back up the database, settings, and media together.
Items to Back Up
- the entire
data/volume; - the entire
downloads/volume; - the Compose file and its configuration, without exposing secrets;
- the version of the image used.
Consistent Backup
Briefly stop VidArch before copying the volumes:
docker compose stop vidarchCopy data/ and downloads/ to an independent location, then restart:
docker compose start vidarchThis method prevents capturing the SQLite database during a write operation.
Restoration
- Stop the instance;
- Keep a copy of the current state;
- Restore the two volumes from the same point in time;
- Verify permissions;
- Restart and check
/api/health, the library, and a playback.
Regularly test the restoration on an isolated machine.