iCloud Drive and Time Machine

Discussion in 'macOS Sierra (10.12)' started by mjohansen, Dec 28, 2016.

  1. mjohansen macrumors regular

    Joined:
    Feb 19, 2010
    Location:
    Denmark
    #1
    Hi all

    I have tried searching for the answer to my questions since Sierra was released, but cannot seem to find definitive answers.

    Does anyone know how exactly iCloud Drive and Time Machine works together?

    Will Time Machine only backup files stored locally on a device and will files be deleted from the Time Machine backup when uploaded to iCloud Drive? Which essentially mean that you only have 1 copy of your files.

    Is it possible to download all your files from iCould Drive later on if you want to revert back to traditional local storage?
     
  2. Julien macrumors G4

    Julien

    Joined:
    Jun 30, 2007
    Location:
    Atlanta
    #2
    iCloud files are stored locally on your Mac in the Library>Mobile Documents folder.
     
  3. deany, Dec 28, 2016
    Last edited: Dec 28, 2016

    deany macrumors 68030

    deany

    Joined:
    Sep 16, 2012
    Location:
    North Wales
    #3
    My understanding is files are only deleted from TM backups when the storage device reaches capacity:

    "as your backup disk fills up, Time Machine deletes older backups to make room for new ones." apple

    So deleted files on your mac on iCloud drive and other files will still be there until the above apple quote occurs. I have seen folks quote ideally the storage device(s) should be x2 or > than the macs storage.
    Mine is x4 - 500GB mac 2TB TC which is future proofed, I hope.

    Ps
    Always worth having a clone of your TM backup with say CCC kept 'off-site'.
     
  4. mjohansen thread starter macrumors regular

    Joined:
    Feb 19, 2010
    Location:
    Denmark
    #4
    Is there a way to sync documents and desktop to iCloud drive and make sure that all files are saved locally on 1 specific mac?
     
  5. Julien macrumors G4

    Julien

    Joined:
    Jun 30, 2007
    Location:
    Atlanta
    #5
    As I already stated (and posted location) all iCloud files are stored locally on your Mac too. iCloud is a syncing service and NOT a backup or file replacement service.
     
  6. FreakinEurekan macrumors 68040

    FreakinEurekan

    Joined:
    Sep 8, 2011
    Location:
    Eureka Springs, Arkansas
    #6
    Yes there is, I do this on my Mac Mini (so that all iCloud Drive files are locally synced and therefore backed up in Time Machine). System Preferences > iCloud click the Options button for iCloud Drive, make sure Optimize Mac Storage is not checked. See screenshot.

    Then on my MacBook, I have Optimize enabled - and I also have, in Time Machine preferences, excluded the Desktop and Documents folder from Time Machine on the MacBook (since all those files are already being backed up by my Mac Mini)

    I also do the same with my iCloud Photo Library and iCloud Music Library - the Mini is set to "Download originals" on photos and to automatically download any new content in iTunes, and all that is backed up in Time Machine (and on Crashplan). Again, I've excluded the Photos Library and the iTunes Media folders from backups on my MacBook.
    --- Post Merged, Dec 31, 2016 ---
    Not necessarily so in macOS Sierra. If Optimization is enabled, macOS will only locally store your most recently/frequently accessed files. See https://support.apple.com/en-us/HT206996 and https://support.apple.com/en-us/HT202867
     

    Attached Files:

  7. mjohansen thread starter macrumors regular

    Joined:
    Feb 19, 2010
    Location:
    Denmark
    #7
    Where do I set this up?
     
  8. FreakinEurekan macrumors 68040

    FreakinEurekan

    Joined:
    Sep 8, 2011
    Location:
    Eureka Springs, Arkansas
    #8
    Photos app Preferences > iCloud to set the option to Download Originals
    Screen Shot 2016-12-31 at 7.30.44 AM.png

    iTunes app Preferences > Downloads to enable automatic downloads
    Screen Shot 2016-12-31 at 7.33.10 AM.png

    Then on the MacBook, I have all of that set the opposite (Optimizing storage, not automatically downloading). The MacBook's Time Machine options is set to exclude any items that would already be covered by the Mini's backup (not only these items, but also Dropbox)

    fullsizeoutput_b1b.jpeg
     
  9. mjohansen thread starter macrumors regular

    Joined:
    Feb 19, 2010
    Location:
    Denmark
    #9
    Thanks FreakingEurekan. I have tried to figure this out for a while now. Seems pretty simple now that you have explained it :)

    With that setup, I should worry about files not getting backed up with Time Machine right? A lot of people seem worried that files will noget get backed up with TM after the Sierra release.
     
  10. FreakinEurekan macrumors 68040

    FreakinEurekan

    Joined:
    Sep 8, 2011
    Location:
    Eureka Springs, Arkansas
    #10
    That's correct, if you're using those steps and you have enough disk space for them to work (i.e. Sierra will still do "Forced Optimization" if there physically isn't room for the files), then your iCloud Drive files are definitely backed up in Time Machine.
     
  11. mjohansen thread starter macrumors regular

    Joined:
    Feb 19, 2010
    Location:
    Denmark
    #11
    Right, dearly noted that I need to make sure I have enough disk space on my main Mac.
     
  12. Fishrrman macrumors G5

    Fishrrman

    Joined:
    Feb 20, 2009
    #12
    Are there any terminal commands that will COMPLETELY DISABLE "optimization"?

    I'm of the old school and I don't want Apple mucking with where I keep my files.
    I want to remain the sole arbiter of that.
     
  13. FreakinEurekan macrumors 68040

    FreakinEurekan

    Joined:
    Sep 8, 2011
    Location:
    Eureka Springs, Arkansas
    #13
    Forgot one, in iTunes Preferences on the "Advanced" tab, un-check Automatically delete watched movies and TV shows on the Mac where you want all media stored.

    Screen Shot 2016-12-31 at 10.49.22 AM.png
     
  14. splitpea macrumors 6502a

    Joined:
    Oct 21, 2009
    Location:
    Among the starlings
    #14
    Does that mean that even if you have iCloud Drive and optimization completely disabled, and you try to save a file when your disk is full (or that's bigger than your free space), Sierra will silently delete files from your drive instead of refusing to save the new file??
     
  15. FreakinEurekan macrumors 68040

    FreakinEurekan

    Joined:
    Sep 8, 2011
    Location:
    Eureka Springs, Arkansas
    #15
    No, that applies only if you do have iCloud Drive enabled. If iCloud Drive is on, even if you don't have Optimization enabled, Sierra won't fill your drive to capacity if you were to e.g. add files to iCloud Drive on another device.

    https://support.apple.com/en-us/HT202867 shows how to see how much "Purgeable" content you have. If you've set all the optimization features off, then there should be none.
     

Share This Page