APFS Snapshots Rolling Back to a Previous Known State
APFS Snapshots: Rolling Back to a Previous Known State GA S REGULAR Menu Lifewire Tech for Humans Newsletter! Search Close GO Computers, Laptops & Tablets > Apple 104 104 people found this article helpful
Press Enter or Return on the keyboard. Terminal responds by saying it has created a local snapshot with a specific date. You can check to see if there are any snapshots already present with the following command: tmutil listlocalsnapshots /
This command displays a list of any snapshots that are already present on the local drive.
APFS Snapshots: Rolling Back to a Previous Known State
Apple file system lets you go back in time
By Tom Nelson Tom Nelson Writer Tom Nelson is an engineer, programmer, network manager, and computer network and systems designer who has written for Other World Computing,and others. Tom is also president of Coyote Moon, Inc., a Macintosh and Windows consulting firm. lifewire's editorial guidelines Updated on April 1, 2020 Tweet Share Email Tweet Share EmailIn This Article
Expand Jump to a Section Create Automatic Snapshots for macOS Updates Manually Create APFS Snapshots How to Roll Back to an APFS Snapshot Point in Time Some Snapshot Notes to Keep in Mind One of the many features built-in to APFS (Apple File System) on the Mac is the ability to create a snapshot of the file system representing the state of your Mac at a specific point in time. Snapshots have a number of uses, including creating backup points that allow you to return your Mac to the state it was in at the point in time the snapshot was taken. Information in this article applies to Macs running macOS Catalina (10.15) through macOS High Sierra (10.13). Apple provides only minimal tools for taking advantage of the APFS snapshot feature, but you can use snapshots now to help you in managing your Mac. The Mac makes automatic snapshots whenever you upgrade your system, and you can make manual snapshots at any time.Automatic Snapshots for macOS Updates
Starting with macOS High Sierra and the introduction of the APFS file system, Macs use snapshots to create a backup point. You can use a snapshot to recover from an operating system upgrade that goes wrong or return to the previous version of the macOS if you don't like an upgrade. In either case, the rollback to the saved snapshot state does not require you to reinstall the old OS or restore information from backups you may have created in Time Machine or third-party backup software. This process is fully automatic; there is nothing you need to do other than run the macOS update from the Mac App Store to create a snapshot you can roll back to — should the need arise. Here's how it works: Launch the App Store from the Dock or the Apple menu. Select the new version of the macOS you want to install or select a system update from the Updates section of the App Store. Start the update or installation. After you agree to the license terms, the Mac takes a snapshot of the current state of the target disk for the installation before files are copied to the target disk. The install process then continues. Snapshots are a feature of APFS. If the target drive is not formatted with APFS, no snapshot is saved. Although major system updates include the creation of an automatic snapshot, Apple has not specified what is considered an update significant enough that a snapshot is generated automatically, If you would rather be sure about having a snapshot to roll back to, should the need arise, you can create your own snapshot manually.Manually Create APFS Snapshots
Automatic snapshots are all fine and good, but they are only generated when major system updates are installed. Snapshots are such a reasonable precautionary step that you may want to create a snapshot before you install new apps or perform tasks such as cleaning up files. You can create snapshots at any time by making use of the Terminal app, a command-line tool that is included with your Mac. If you haven't used Terminal before or you're not familiar with the Mac command-line interface, don't worry. Creating snapshots is an easy task. Launch Terminal, located in Applications > Utilities. The Terminal window that opens contains the command prompt, which usually includes the name of your Mac, followed by your account name and ending with a dollar sign ($), which marks the place where Terminal is waiting for you to enter a command. You can enter commands by typing them or by copying and pasting the commands. Commands are executed when you click the Return or Enter key on the keyboard. To create an APFS snapshot, copy and paste the following command into Terminal at the command prompt: tmutil snapshotPress Enter or Return on the keyboard. Terminal responds by saying it has created a local snapshot with a specific date. You can check to see if there are any snapshots already present with the following command: tmutil listlocalsnapshots /
This command displays a list of any snapshots that are already present on the local drive.