mirror of
https://github.com/ViViDboarder/docker-duplicity-cron.git
synced 2024-11-25 11:46:31 +00:00
b2fd9d4259
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
7 lines
101 B
Bash
Executable File
7 lines
101 B
Bash
Executable File
set -e
|
|
|
|
cd /data
|
|
|
|
# Dump the SQLite database
|
|
sqlite3 test_database.db ".backup test_database.db.bak"
|