From 223e095d7d1034bc5de9c86698b633d4904d9446 Mon Sep 17 00:00:00 2001 From: Gingka Akiyama <33764485+GingkathFox@users.noreply.github.com> Date: Tue, 29 Dec 2020 06:43:22 -0500 Subject: [PATCH] tmutil: add page (#5054) --- pages/osx/tmutil.md | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 pages/osx/tmutil.md diff --git a/pages/osx/tmutil.md b/pages/osx/tmutil.md new file mode 100644 index 0000000000..07befcfd36 --- /dev/null +++ b/pages/osx/tmutil.md @@ -0,0 +1,36 @@ +# tmutil + +> Utility for managing Time Machine backups. Most verbs require root privileges. +> More information: . + +- Set a HFS+ drive as the backup destination: + +`sudo tmutil setdestination {{path/to/disk_mount_point}}` + +- Set a APF share or SMB share as the backup destination: + +`sudo tmutil setdestination {{protocol://user[:password]@host/share}}` + +- Append the given destination to the list of destinations: + +`sudo tmutil setdestination -a {{destination}}` + +- Enable automatic backups: + +`sudo tmutil enable` + +- Disable automatic backups: + +`sudo tmutil disable` + +- Start a backup, if one is not running already, and release control of the shell: + +`sudo tmutil startbackup` + +- Start a backup and block until the backup is finished: + +`sudo tmutil startbackup -b` + +- Stop a backup: + +`sudo tmutil stopbackup`