Files
opt/borgmatic/scripts/run-old.sh

11 lines
455 B
Bash

borgmatic --stats -v 0 -c /config/home.yaml >> /log/home.log 2>&1
borgmatic --stats -v 0 -c /config/root.yaml >> /log/root.log 2>&1
borgmatic --stats -v 0 -c /config/opt.yaml >> /log/opt.log 2>&1
borgmatic --stats -v 0 -c /config/etc.yaml >> /log/etc.log 2>&1
export REMOTE=/remote/server/bram
mkdir -p ${REMOTE}
sshfs user@bram.veenboer.xyz:/media/helios/Bram ${REMOTE}
borgmatic --stats -v 0 -c /config/bram.yaml >> /log/bram.log 2>&1
umount ${REMOTE}