diff --git a/arch-desktop_borg.sh b/arch-desktop_borg.sh index 127d91d..ea33698 100755 --- a/arch-desktop_borg.sh +++ b/arch-desktop_borg.sh @@ -14,37 +14,37 @@ info "Starting backup" # Backup the most important directories into an archive named after # the machine this script is currently running on: -borg create \ - --verbose \ - --filter AME \ - --list \ - --stats \ - --show-rc \ - --compression lz4 \ - --exclude-caches \ - --exclude '/home/*/.*/*' \ - --exclude '/home/*/.*' \ - --exclude '/home/*/builds/*' \ +borg create \ + --verbose \ + --filter AME \ + --list \ + --stats \ + --show-rc \ + --compression lz4 \ + --exclude-caches \ + --exclude '/home/*/.*/*' \ + --exclude '/home/*/.*' \ + --exclude '/home/*/builds/*' \ --exclude '/home/*/github_dotfiles/*' \ - --exclude '/home/*/github_misc/*' \ - --exclude '/home/*/Keepass/*' \ - --exclude '/home/*/Lessons/*' \ - --exclude '/home/*/Music/*' \ + --exclude '/home/*/github_misc/*' \ + --exclude '/home/*/Keepass/*' \ + --exclude '/home/*/Lessons/*' \ + --exclude '/home/*/Music/*' \ --exclude '/home/*/PersonnalScripts/*' \ - --exclude '/home/*/RootMe/*' \ - --exclude '/home/*/SetupCockpit/*' \ - --exclude '/home/*/SRC/*' \ + --exclude '/home/*/RootMe/*' \ + --exclude '/home/*/SetupCockpit/*' \ + --exclude '/home/*/SRC/*' \ --exclude '/home/*/VirtualBox VMs/*' \ - --exclude '/home/*/Videos/*' \ - --exclude '/var/cache/*' \ - --exclude '/var/log/*' \ - --exclude '/var/tmp/*' \ - \ - ::'{hostname}-{now}' \ - /etc \ - /home \ - /root \ - /var \ + --exclude '/home/*/Videos/*' \ + --exclude '/var/cache/*' \ + --exclude '/var/log/*' \ + --exclude '/var/tmp/*' \ + \ + ::'{hostname}-{now}' \ + /etc \ + /home \ + /root \ + /var \ backup_exit=$?