My Backup Strategy

1754 days ago 2 views Tanner's Site (t0.vc) - feed t0.vc

*/15 * * * * offlineimap > /var/log/offlineimap.log 2>&1 00 12 * * 1 date -Iseconds > /home/email/email/backup_check.txt

20 12 * * 1 rdiff-backup /home/email/email /mnt/backup/local/email/ 40 12 * * 1 rdiff-backup --remove-older-than 12B --force /mnt/backup/local/email/

[general] accounts = main [Account main] localrepository = Local remoterepository = Remote [Repository Local] type = Maildir localfolders = ~/email [Repository Remote] type = IMAP readonly = True folderfilter = lambda foldername: foldername not in ['Trash', 'Spam', 'Drafts'] remotehost = example.com remoteuser = [email protected] remotepass = supersecret sslcacertfile = /etc/ssl/certs/ca-certificates.crt

00 12 * * 1 date -Iseconds > /home/notes/notes/backup_check.txt 15 12 * * 1 rdiff-backup /home/notes/notes /mnt/backup/local/notes/

00 12 * * 1 rdiff-backup /var/www/nextcloud/data/tanner/files /mnt/backup/local/nextcloud/ 30 12 * * 1 rdiff-backup --remove-older-than 12B --force /mnt/backup/local/nextcloud/

00 12 * * 1 date -Iseconds > /home/gitea/gitea/data/backup_check.txt 10 12 * * 1 rdiff-backup --exclude **data/indexers --exclude **data/sessions /home/gitea/gitea/data /mnt/backup/local/gitea/ 35 12 * * 1 rdiff-backup