Mac – Make Time Machine use two drives from Terminal

backupcommand linehigh sierraterminaltime-machine

My desire is to have two identical Time Machine backups on two different locally attached drives. My first thought was a clone via Carbon Copy Cloner, but it won't do it, because Apple won't let third parties copy the filesystem that is being used for Time Machine backups (that's what the "error"-message says before I can even start the clone).

The reason why I need a command line approach is because I want to include the two backups in task-chain in Carbon Copy Cloner.

Everything I have been trying in that direction fails (no help found online so far), as Time Machine would always start backing up to the same drive over and over again. So what I can say so far: tmutil is not the way to go, no matter what options I choose. But maybe I missed something?

If I manually start the backup by clicking "backup now" in macOS (High Sierra 10.13.6 by the way), Time Machine will backup to drive 1 first, if I click it again (after backup has finished), backup to drive 2. By the way: same bevaviour if I set a schedule via Time Machine Editor.

So I am looking for a Terminal-way to imitate the macOS-approach to start the backup, as it seems this is the only way to make Time Machine use two different drives. tmutil only uses the last destination, again and again. Even if I setdestination to drive 2. But again: maybe I missed something.

Best Answer

I don't think using terminal to configure Time Machine to back up to 2 different disks is necessary. If you have Time Machine setup currently to back up to one external disk, you can go back to the Time Machine preferences in System Preferences and select a different drive to back up to. After doing this you will be presented with the option of using both drives for Time Machine backups or change the existing drive. If you select the option of using two separate drives, the Time Machine backups will alternate destination drives for each backup. At least these are the options I am presented with, while using two separate 3 tb Time Capsules.

enter image description here

enter image description here

enter image description here

enter image description here