Back up with Time Machine
Automatic backups and file-by-file restoration.
- Plug in an external drive (at least 2× the size of your data).
- System Settings → General → Time Machine → Add backup disk. Tick "Encrypt backup".
- Start a backup right away and list existing ones:
tmutil startbackup tmutil listbackups
- To restore: open the folder concerned then Time Machine → Browse backups.
- When setting up a new Mac, Migration Assistant can restore the whole backup.