Add dotfiles to backup script

This commit is contained in:
Thomas Avé 2024-04-07 20:36:09 +02:00
parent 4cd5c1bb38
commit dc75d4505b
1 changed files with 7 additions and 0 deletions

View File

@ -27,6 +27,13 @@ echo "$ZFS_PASSPHRASE" | ssh vault /home/server/Storage/Thomas/Scripts/Mount/bor
# Run the backups #
##########################################
echo -e '\n\n\n'
echo "Running dotfiles Backups"
borg create -s --progress \
--exclude /home/server/.dotfiles/zsh/secrets.sh\
10.4.0.1:Storage/Thomas/Borg/Dotfiles::'{hostname}-{now}' \
/home/server/.dotfiles\
echo -e '\n\n\n'
echo "Running Caddy Backups"
borg create -s --progress \