dotfiles/bin/localbsync

7 lines
223 B
Plaintext
Raw Normal View History

#!/bin/zsh
backupdir="/mnt/backups"
nice -n 15 btrfs-sync -v -k 96 /.snapshots/*semi-hourly* $backupdir/snapshots/surtur/root
nice -n 15 btrfs-sync -v -k 96 /home/.snapshots/*semi-hourly* $backupdir/snapshots/surtur/home