by Morgan Aldridge morgant@makkintosshu.com
Tempus Machina aims to provide a macOS (nee OS X) Time Machine work-alike powered by rsync, especially the tmutil
command line utility.
- OpenBSD:
- e2fsprogs package (for
genuuid
)
- e2fsprogs package (for
The intent is to support the same tmutil
command line interface as Apple's native binary:
tmutil verb [options]
Supported verbs currently include:
setdestination [-a] arg
: Set a local mount as a backup destination- Requires root
- If the
-a
option is given, thearg
will be added to the list of destinations, otherwisearg
will replace the list of destinations
destinationinfo
: Print information about currently configured backup destinationsremovedestination identifier
: Remove the backup destination with theindentifier
unique identifier- Requires root
machinedirectory
: Print the path to the computer's current backup directorylistbackups
: Print information about completed backups for this computeraddexclusion [-p] item
: Add a file/directory/mount to be excluded from backups- Requires root
- If the
-p
option (currently required) is given, a fixed-path exclusion will be added foritem
removeexclusion [-p] item
: Remove exclusion of file/path/mount from backups- Requires root
- If the
-p
option (currently required) is given, the fixed-path exclusion witll be removed foritem
isexcluded item
: Determine if a file/directory/mount will be excluded from backupsstartbackup [-b] [-d dest_id]
: Manually start a new backup- Currently requires root
- If the
-b
option (currently required) is given, it will wait until the backup has completed before exiting - If the
-d
option is given, the backup will be performed to the destination withdest_id
unique identifier
latestbackup
: Print information about the computer's most recent backupdelete [ -d destination -t timestamp ] [ -p path ]
: Delete a specific backup for the computer- Requires root
- If the '-p' option is given, it will delete the backup specified by the path
- If the '-d' & '-t' options are given, it will build the backup's path from the destination and timestamp and delete that backup
deleteinprogress machine_directory
: Delete incomplete backups in path- Requires root
Not all of the options that Apple's binary supports are included above. More verbs and options will be added as time permits.
Released under the MIT License.