1

I want to use a OneDrive folder as the location to which Time Machine backs-up my internal drive. I'm pretty sure that Time Machine can't back-up to a cloud drive that is mounted on the volume that it is backing-up because it creates a loop (that is why I would mount the cloud drive on an external drive that Time Machine is not backing-up).

If my internal drive fails then:

  1. get a new drive.
  2. do a fresh install of OS X.
  3. attach any external drive.
  4. install OneDrive and mount the OneDrive cloud drive on this external drive.
  5. point Time Machine at the OneDrive folder.
  6. tell Time Machine to restore.
  7. done.

I can rest safely knowing that is how it would work? Or, am I about to make a devastating mistake that leaves me with no Time Machine protection?

  • /Volumes is excluded from TM backups, I believe. Otherwise it would create a recursion loop for any mounted volumes regardless of source. – tubedogg Oct 3 '16 at 16:29
1

Theoretically it should work ok.

Note that you cannot specify a folder as the Time Machine backup destination. You'll need to create a sparse bundle by following these steps, from a MacRumors thread:

In Disk Utility, select File > New Image > Blank Image.

Enter your desired filename and set Where to your OneDrive folder on the external drive. You can choose the size here, too.

Ensure Format is set as OS X Extended (Journaled), and Image Format is "sparse bundle disk image".

Once it's created, unmount the bundle by clicking the Eject button next to it in the list on the left.

In Finder, double click the sparse bundle image file to mount it, or use the mount command in Terminal.

Now set Time Machine to use this sparse bundle:

sudo tmutil setdestination /Volumes/<path-to-sparse-bundle>

When you start Time Machine, it will create a Backups directory within the sparse bundle for your backups.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .