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: turn on Encrypt backups in Time Machine, and save the password somewhere safe

Backup
~/tips/tip-macos-time-machine-encrypt-backups

System Settings > General > Time Machine > Add Backup Disk > Encrypt backups

Encrypts your Time Machine disk so a lost drive doesn't expose your files.

A Time Machine disk holds a copy of everything on your Mac: mail, photos, documents, the lot. A MacBook with FileVault is well protected, but the USB drive in your bag or the share on a NAS isn’t, unless you encrypt the backup too. That’s one checkbox, and I’d tick it on every backup disk.

When you add a backup disk in System Settings > General > Time Machine, a window lets you choose whether to encrypt backups, and you then set a backup password for that disk.

System Settings > General > Time Machine > Add Backup Disk > Encrypt backups

Apple asks you to choose a hint that helps you remember the password. Depending on the disk, you may need to type the password when you connect it, disconnect it or restart your Mac.

For a network backup, on a NAS or on an Unraid share, the order matters. If you’ve been backing up unencrypted to a networked disk and now want encryption, Time Machine must first erase the unencrypted backup before it starts an encrypted one. You lose that history, so it’s worth deciding about encryption on day one.

The caveat is the password itself. To restore files from an encrypted Time Machine backup you must give that backup password, and the backup is only as useful as your memory of it. My advice is to save it in the Passwords app or your password manager the moment you set it, and to make sure you can still reach it when your Mac is gone, because that’s exactly when you’ll need the backup.

Further reading: Choose a backup disk and set encryption options (Mac User Guide), About the Time Machine backup password

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