abesto / ansible-devenv

Ubuntu development environment managed with Ansible
3 stars 2 forks source link

Backups. Probably with borgbackup. #33

Closed abesto closed 7 years ago

abesto commented 7 years ago

Also: reminder. maybe with last backup date in xmobar? or a conjob with notify-send. Speaking of which, looks like dunst doesn't show up half the time?

abesto commented 7 years ago

Installed borgbackup, test-run for a while with this:

borg create -p -v --stats --exclude '/home/*/.cache' /mnt/borgbackup::'{hostname}-{now:%Y-%m-%d}' /home/abesto

Also note: sudo udisksctl power-off -b /dev/sda spins down external USB disk before disconnecting.

abesto commented 7 years ago

Fixed by https://github.com/abesto/dotfiles/commit/29336e3eb1e2a1c00b5dd9db5afb6fe30fe74cb9