This website requires JavaScript.
Explore
Help
Sign In
vividboarder
/
docker-duplicity-cron
Watch
2
Star
0
Fork
0
You've already forked docker-duplicity-cron
mirror of
https://github.com/ViViDboarder/docker-duplicity-cron.git
synced
2024-11-24 02:16:29 +00:00
Code
Issues
Releases
Wiki
Activity
simpler-multi-arch
docker-duplicity-cron
/
tests
/
test-pre-scripts
/
backup
/
after
/
post-backup.sh
8 lines
79 B
Bash
Raw
Permalink
Normal View
History
Unescape
Escape
Add pre-commit and clean up
2020-02-14 20:12:07 +00:00
#! /bin/bash
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
2018-09-28 00:32:55 +00:00
set
-e
cd
/data
# Remove backed up copy
rm test_database.db.bak
Reference in New Issue
Copy Permalink