Heads-up: excluded folders vary depending on use case.
WARNING: DATA ON TIME MACHINE DISK WILL BE PERMANENTLY DELETED.
Click “Time Machine” menu bar icon and then “Back Up Now” or run
tmutil listbackups to list backups.
$ sudo tmutil delete "/Volumes/LaCie/Backups.backupdb/Sun’s MacBook Pro/2021-04-05-161636" Deleting: /Volumes/LaCie/Backups.backupdb/Sun’s MacBook Pro/2021-04-05-161636 Deleted (43.5M): /Volumes/LaCie/Backups.backupdb/Sun’s MacBook Pro/2021-04-05-161636 Total deleted: 43.5M
Total deleted: 43.5M
$ tmutil localsnapshot Created local snapshot with date: 2021-04-05-162425
Created local snapshot with date: 2021-04-05-162425
$ tmutil listlocalsnapshots / Snapshots for volume group containing disk /: com.apple.TimeMachine.2021-04-05-162416.local com.apple.TimeMachine.2021-04-05-162425.local
umount /tmp/snapshotto unmount snapshot.
com.apple.TimeMachine.2021-04-05-162416.localwith snapshot from List local APFS snapshots.
mkdir -p /tmp/snapshot mount_apfs -s com.apple.TimeMachine.2021-04-05-162416.local / /tmp/snapshot open /tmp/snapshot
Restart computer and press cmd+r to boot to recovery mode.
Select “Restore From Time Machine Backup”, then “Macintosh HD”, choose local snapshot, click “Continue” and “Continue” again to confirm.
tmutil listlocalsnapshotdatesto list local snapshot dates.
$ tmutil deletelocalsnapshots 2021-04-05-162416 Deleted local snapshot '2021-04-05-162416'
Deleted local snapshot '2021-04-05-162416'
$ tmutil deletelocalsnapshots / Deleted 1 Time Machine local snapshots for volume group containing disk '/' com.apple.TimeMachine.2021-04-05-162425.local
Deleted 1 Time Machine local snapshots for volume group containing disk '/'