Backups that actually restore: Time Machine plus rsync
A backup you have never restored is a hope, not a backup. Two independent copies in two formats, tested monthly, is the setup we recommend.
Time Machine for history
Time Machine keeps hourly, daily, and weekly versions. Point it at an APFS-formatted drive and let it run.
rsync for a plain copy
A nightly rsync of your home folder to a second drive gives you files you can open on any computer, with no special software.
Test the restore
Once a month, restore a random file from each backup to the desktop and open it. Put it in your calendar.
- Keep one backup off-site.
- Exclude caches to save space.
- Test restores monthly.
backup.sh
rsync -aH –delete
–exclude 'Library/Caches'
~/ /Volumes/Archive/home/
Weeks of coding can save you hours of planning.
Anonymous, widely circulated programmer proverb
--delete removes files from the destination that no longer exist in the source. Run with -n first.
$ cat /comments 1
Great post. One small correction: the flag is case-sensitive on older versions.