mirror of
https://github.com/ViViDboarder/docker-restic-cron.git
synced 2024-11-14 17:26:47 +00:00
b2d95cc775
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
8 lines
133 B
Bash
Executable File
8 lines
133 B
Bash
Executable File
set -e
|
|
|
|
# Pretend we have some database
|
|
echo "insert foo into bar;" > /mydb.txt
|
|
|
|
# Let's dump that db
|
|
cat /mydb.txt > /data/dump.txt
|