Although macOS is a safe and stable operating system, that is no guarantee against problems or operating errors. Folders, programs or files can easily be moved to the trash. Apple's automatic save function is also a source of eternal annoyance: pictures, documents and other files are quickly overwritten. Fortunately, there is Apple's Time Machine: If the backup is running on an external hard drive or NAS, you can restore the file or the entire Mac at any time. Apple's Time Machine now also runs with APFS. That's how it works:
You can find out how to create a Time Machine backup on your Mac here.
Restore Mac completely
Restoring a complete Time Machine backup works both when setting up a new Mac or a Mac with a new hard disk, as well as when it is already set up ..
Apply Time Machine backup to Mac setup
When you start using a new Mac, macOS asks during setup whether you want to import a backup. Choose From a Mac, Time Machine Backup, or Startup Disk, and connect your old Mac's backup hard drive. Then click on " Continue ". Now select the backup hard drive and click on “ Continue ”. The read back process then starts, which may take a while depending on the size of the backup.
Apply Time Machine backup to a Mac that has already been set up
If you've already started using your Mac, that's no problem either: Apple has a tool for this , the migration assistant . You can find this in / Programs / Utilities . Start the program, which first closes all programs and switches the Mac to migration mode. Then the procedure is identical to step 1 of this paragraph..
Recover lost files
If you accidentally delete a file or folder, you can easily restore it using Time Machine backup:
Alternatively, you can also reset files to a different processing status : For this, a second Time Machine backup runs on every Mac , which saves the files locally. The function is useful if, for example, you have edited an image with Preview and then closed it, which meant that the editing could no longer be undone with [CMD] + [Z] :