Improved borgmatic files after the bookworm upgrade.
This commit is contained in:
parent
bd74162a3e
commit
8573499131
|
@ -8,10 +8,6 @@ if [ ! -d $DUMP_DIR ]; then
|
|||
mkdir -p $DUMP_DIR
|
||||
fi
|
||||
|
||||
if [ $(find "$DUMP_DIR" -cmin -120 -type d | wc -l) -eq 0 ]; then
|
||||
./dump-psql
|
||||
./dump-msql
|
||||
./dump-influx
|
||||
else
|
||||
echo "Very recent dump detected, dumps skipped."
|
||||
fi
|
||||
|
|
|
@ -24,7 +24,7 @@ output:
|
|||
color: false
|
||||
|
||||
hooks:
|
||||
before_backup:
|
||||
before_everything:
|
||||
- echo "== Dumps starting…"
|
||||
- /etc/borgmatic/hooks/dumps
|
||||
- echo "== Dumps done."
|
||||
|
|
Loading…
Reference in New Issue