docker-restic-cron/tests/test-pre-scripts/restore/after/post-restore.sh
ViViDboarder b2fd9d4259 Add support for pre/post scripts
Allows adding scripts to a directory to be executed before backups and
after restorating. This can allow backing up a mysql dump or something.

Using these could (and probably does) break verify checks

Fixes #8
2019-01-28 11:59:46 -08:00

7 lines
91 B
Bash
Executable File

set -e
cd /data
# Restore the backedup database
mv test_database.db.bak test_database.db