Forrest logo
tool overview
On this page you find all important commands for the CLI tool tmutil. If the command you are looking for is missing please ask our AI.

tmutil

tmutil is a command line tool available on macOS systems that provides various functionalities related to Time Machine, the built-in backup software. It allows users to interact with and manage Time Machine backup processes directly from the Terminal. With tmutil, users can perform tasks such as enabling or disabling Time Machine backup, starting or stopping backups manually, and even restoring files from backups. It also provides options to perform backups of specific folders or exclude certain files from being backed up. tmutil can display information regarding the status of backups, including the size of backups, the estimated time remaining for a backup, and the last backup date and time. Additionally, tmutil can be used to list the available snapshots on a system, which essentially allows users to revert their system to a specific point in time.

List of commands for tmutil:

  • tmutil:tldr:0406c tmutil: Enable automatic backups.
    $ sudo tmutil enable
    try on your machine
    explain this command
  • tmutil:tldr:4c6eb tmutil: Disable automatic backups.
    $ sudo tmutil disable
    try on your machine
    explain this command
  • tmutil:tldr:6e17b tmutil: Start a backup and block until the backup is finished.
    $ sudo tmutil startbackup -b
    try on your machine
    explain this command
  • tmutil:tldr:a9a13 tmutil: Append the given destination to the list of destinations.
    $ sudo tmutil setdestination -a ${destination}
    try on your machine
    explain this command
  • tmutil:tldr:c5683 tmutil: Start a backup, if one is not running already, and release control of the shell.
    $ sudo tmutil startbackup
    try on your machine
    explain this command
  • tmutil:tldr:d548d tmutil: Set an HFS+ drive as the backup destination.
    $ sudo tmutil setdestination ${path-to-disk_mount_point}
    try on your machine
    explain this command
  • tmutil:tldr:fb393 tmutil: Stop a backup.
    $ sudo tmutil stopbackup
    try on your machine
    explain this command
tool overview