tshirtsakp.blogg.se

Linux backup to backblaze b2
Linux backup to backblaze b2






linux backup to backblaze b2 linux backup to backblaze b2

Systemctl -user start schedule-backup. Systemctl -user enable schedule-backup.timer Backblaze B2 hosted network storage service is affordable for storing backups. Then, just enable it in systemd: systemctl -user enable rvice #Execute job if it missed a run due to machine being off home/user/.restic/backup.sh & curl -fsS -m 10 -retry 5 -o /dev/null Ĭat ~/.config/systemd/user/rviceĮxecStart=/home/user/.restic/backup-with-healthchecks.io.shĬat ~/.config/systemd/user/schedule-backup.timer cat ~/.restic/backup.shĮxport RESTIC_REPOSITORY="b2:whatever-backup"Įxport RESTIC_PASSWORD_FILE=/home/user/.restic/passwordĬat ~/.restic/backup-with-healthchecks.io.sh Then, I use to get notifications when it fails. I then set it up as a service in systemd in the userspace, and I setup a systemd timer to run it every day.








Linux backup to backblaze b2