docker-duplicity-cron/tests/test-pre-scripts/backup/before/pre-backup.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
101 B
Bash
Executable File

set -e
cd /data
# Dump the SQLite database
sqlite3 test_database.db ".backup test_database.db.bak"