Time Machine (software): Difference between revisions

From Citizendium
Jump to navigation Jump to search
imported>Ion Alexandru Morega
(Description of the program)
 
mNo edit summary
 
(3 intermediate revisions by one other user not shown)
Line 1: Line 1:
{{subpages}}
{{subpages}}


Time Machine is an automated backup application, created by [[Apple Inc.]] and distributed with [[Mac OS X]]. It creates hourly incremental backups to an external drive or over the network.
'''Time Machine''' is an automated backup application, created by [[Apple Inc.]] and distributed with [[Mac OS X]] 10.5 Leopard. It creates hourly incremental backups to an external drive or over the network.
 
==How it works==
Every hour, a daemon process mounts the backup volume (a HFS+ formatted sparse disk image), scans the filesystem for changes, and backs them up. Changes are detected via the FSEvents framework which was introduced in Leopard; when there is no information available, the backup process does a full filesystem scan.
 
For each backup, a new directory tree is created on the backup volume, mirroring the current state of the filesystem. Modified files are added incrementally; non-modified files are hard-linked from the previous successful backup tree. Whole directories that are not modified are hard-linked at the directory level (directory hardlinks are a new feature introduced by Apple in the HFS+ filesystem).
 
After a successful backup, some old backups may be purged. The goal of the purge process is to keep no more than: hourly backups of the last 24 hours, daily backups of the last week, and weekly backups for as long as there is space left on the backup volume.
 
[[Category:Suggestion Bot Tag]]

Latest revision as of 06:00, 29 October 2024

This article is a stub and thus not approved.
Main Article
Discussion
Related Articles  [?]
Bibliography  [?]
External Links  [?]
Citable Version  [?]
 
This editable Main Article is under development and subject to a disclaimer.

Time Machine is an automated backup application, created by Apple Inc. and distributed with Mac OS X 10.5 Leopard. It creates hourly incremental backups to an external drive or over the network.

How it works

Every hour, a daemon process mounts the backup volume (a HFS+ formatted sparse disk image), scans the filesystem for changes, and backs them up. Changes are detected via the FSEvents framework which was introduced in Leopard; when there is no information available, the backup process does a full filesystem scan.

For each backup, a new directory tree is created on the backup volume, mirroring the current state of the filesystem. Modified files are added incrementally; non-modified files are hard-linked from the previous successful backup tree. Whole directories that are not modified are hard-linked at the directory level (directory hardlinks are a new feature introduced by Apple in the HFS+ filesystem).

After a successful backup, some old backups may be purged. The goal of the purge process is to keep no more than: hourly backups of the last 24 hours, daily backups of the last week, and weekly backups for as long as there is space left on the backup volume.