How Backup Works
During backup, Veeam Agent for Mac performs the following operations:
- When a new backup session starts, Veeam Agent creates a backup file in the target location.
- In the backup file, Veeam Agent creates a virtual disk. The disk contains a volume with an ext4 file system.
- Veeam Agent checks the file system of the volume which data you selected for backup. If data is located on the volume with the APFS file system, Veeam Agent commands macOS to create a APFS snapshot. The APFS snapshot helps make sure that the data on the volume is consistent and does not change at the moment of backup.
If data is located on the volume with any supported file system excluding APFS, Veeam Agent performs the backup operation in the snapshot-less mode. This mode allows you to back up data that resides in any supported file system mounted to the root file system of the Veeam Agent computer. However, Veeam Agent does not track whether source files have changed since the backup process start.
During backup in the snapshot-less mode, Veeam Agent does not track whether files and directories have changed in their original location since the time when the backup process started. To make sure that data in the backup is in the consistent state, you must not perform write operations in the file system that contains the backed-up data until the backup process completes.
- [For incremental backup] To detect files that changed on the Veeam Agent computer since the previous backup session, Veeam Agent reads file metadata and compares last modification time of files in the original location and files in the backup created during the previous job session. If the file has modification time later than the previous job session start time, Veeam Agent considers the file as changed.
To learn about full and incremental backup, see Backup Chain.
- Veeam Agent reads data from the created APFS snapshot or directly from the volume whose data you want to back up and copies data that you selected for backup to the target location.
The connection between Veeam Agent and the repository may be interrupted when the data is being copied from the Veeam Agent computer to the target backup repository. If the backup job runs on a schedule, after the connection is restored Veeam Agent will retry the backup job but will resume data transfer to the backup repository from the point where it was interrupted. For details, see Resume Backup.
- After all backed-up data is transferred to the target location, Veeam Agent removes the APFS snapshot. In the target location, Veeam Agent stores copied data to the backup file.