brewedbits.dev

Personal blog with guides and news on selfhosting, Linux and AI, from the Netherlands

nextDash nextdash --aboutYour bookmarks. Your terminal. checks your links knows your Docker host one container, no cloudLive demo →nextdash.cc ↗

Tip: set Keep at least this many backups in Appdata Backup

Backup
~/tips/tip-unraid-appdata-backup-keep-minimum

ls -lt /mnt/user/backups | head

A floor for your appdata backups, so an age rule can never delete the last good one.

Deleting backups older than a few days sounds tidy, until the new backups fail for a week and the age rule removes the last good copy.

The Appdata Backup plugin has two settings next to each other: Delete backups if older than x days and Keep at least this many backups. The second one is the safety net. Set it to at least two or three, whatever age you choose.

Look at the destination now and then to see that the dates keep moving:

ls -lt /mnt/user/backups | head

A backup folder that stopped getting new entries is the first sign of a failing job. A notification on failure is better than looking by hand.

Further reading: Appdata Backup plugin on GitHub

More Backup tips restic snapshots --group-by host,paths mysqldump --routines --events mydb > mydb.sql rsync -a --files-from=list.txt /home/me/ backup:/backup/ restic find "*.txt" restic stats All Backup tips (45) All topics

Link