Does Time Machine backup all of your files when you are using iCloud Drive? The answer depends on whether you are using the Optimize Mac Storage function. But even with it on, chances are you are well protected.
You can also watch this video at YouTube.
Watch more videos about related subjects: iCloud (55 videos).
You can also watch this video at YouTube.
Watch more videos about related subjects: iCloud (55 videos).
Video Transcript
Hi, this is Gary with MacMost.com. Let me explain what happens when you try to do a Time Machine backup and you're using iCloud Drive.
MacMost is brought to you thanks to a great group of more than 1000 supporters. Go to MacMost.com/patreon. There you can read more about the Patreon Campaign. Join us and get exclusive content and course discounts.
Now when you're using iCloud Drive the important thing to keep in mind is that there are two different modes. In System Preferences you'll find these in your Apple ID under iCloud Drive and it's called Optimize Mac Storage. You can either have this Off or On. Now let's look at what happens when you have it Off. Let's dive down into iCloud Drive, into the Documents folder, let's say you have Desktop and Documents turned On and you've created a folder called Some Folder. In there you have five files. These are on your Mac. You look on your Mac in your Documents folder, Some Folder there's files A through E. Since these are in iCloud Drive these are also going to be on Apple's server. 100% of the files on your Mac in your Documents folder in iCloud Drive are going to be on your Mac and a 100% of them are also going to be on Apple's server. When you have Optimize Mac Storage turned Off everything is always going to be in both locations. Or it's easier to think of it as one location that you can access from different places.
If you go to Backup with Time Machine, Time Machine is going to backup everything locally including anything you've got in your User Folder that's outside of iCloud Drive. Also anything that is in iCloud Drive. All these files are there locally on your Mac. All the data is there. Time Machine does its backup. It backs everything up. You have 100% backup. All your stuff if you are using Optimize Mac Storage turned Off.
Now what if you turn it On. If you have Optimize Mac Storage turned On you may see something like this. Only some of your files are available on your Mac. It appears all the files are there. They are all going to be on your list. But some files, files you haven't accessed recently are going to be off-loaded. They are going to appear to be there but they are kind of like envelopes that are empty. There's nothing inside. The content of the files is missing. You could recognize these very easily because they have a little Cloud icon with an arrow pointing down in them. This icon allows you to click it and download those files so they are there. Or you can simply open up the file and, on demand, you're going to be able to download them from iCloud Drive before the file opens up. Note that 100% of your files are always on Apple servers. Optimize Mac Storage is for optimizing your local drive. The whole point of this feature is if you have a small drive locally but plenty of space on iCloud Drive. So if you have a terabyte of stuff you can have that all on Apple servers but maybe you only have a 512 GB hard drive so only some of the stuff, like in this case File A and C, are fully present with all the content. Files B, D, E are just hallow files. Nothing in them. The content is missing.
In this case when Time Machine backs up you can only properly backup the files that are completed there. File A and C will be backed up. Files B, D, E can't be backed up. The contents are missing.
So if you need a 100% local backup, all your files there all the time no exceptions, there are two things that you need to do. First is your Drive needs to be big enough to hold everything. If you have a terabyte of data you need to have a terabyte, probably 2 terabytes really, of drive space on your local Mac. Then step 2 is make sure Optimize Mac Storage is turned Off. This ensures that all your files are local as well as on the server at all times and Time Machine can back everything up.
But, do you actually really need that? I argue that most people don't because even with Optimize Mac Storage turned On and not all your files local all the time you still are getting just about everything backed up, probably more than you even think. So let's look at the situation where you have Optimize Mac Storage turned On. Some of your files on your drive, only the files currently present, are backed up. So in this case Files A and C will be backed up. B,D,E will not. Or are they? Well here's the thing. They kind of still are. Let me look at two situations. One in which you create a completely new set of files. So you start a new project. You created a new folder for it called Some Folder. You've got your Time Machine backup going. You've got Optimize Mac Storage turned On. You create your first file. It's a new file. It's present on your Mac. It's going to get backed up. It may in the future get Off-loaded and not there. But that's way in the future. Right now Time Machine does its hourly backup and gets File A. File A is backed up. You can create four more files. They are all new files. They are all present on your Mac and they are all going to be backed up. It is going to be awhile before those are Off-loaded because you recently used these files. Optimize Mac Storage keeps around recently accessed files because they are the ones you most likely will need again. So everything here now is fine and Backed Up.
Now let's say some time goes by. You accessed A and C pretty often. But it turns out B, D, and E you haven't accessed since you originally created them. There's no need to backup B, D, and E again anyway because it backed it up the first time. You haven't changed it since. Even if Time Machine had access to these files it still wouldn't back them up because it already has a backup of the file as it exists now. Time Machine backs up when there is change. It doesn't backup the same file over and over again if it hasn't been changed. So, in this case all five files are backed up and they are just fine even though now files B, D, and E haven't been accessed in awhile. They are not present locally. They have been optimized. You still have the backup because they were created and then backed up by Time Machine originally. You're are all good in this situation. Let's say file D is updated. It's downloaded. It has to be downloaded for you to update it. Once it is downloaded it has been recently accessed. It's going to hang around for awhile. Time Machine is going to back it up and Time Machine will get this new version of File D there. So it's all good. Everything is still backed up.
From this point on anything you do, anytime you change a file, it's going to be present locally for Time Machine to back it up. So you don't have to have Optimize Mac Storage turned Off. Time Machine is going to be able to handle the situation just fine. You'll have the same backup you would have if Optimize Mac Storage was Off.
Now let's look at a different situation. Let's look at a situation where some folder was created and you weren't using Time Machine. You've got Optimize Mac Storage On. So eventually, after awhile, files B, D, and E are off-loaded because you haven't accessed them in awhile. Files A and C are present because you have accessed them recently. Now, you start your Time Machine backup. Time Machine could only backup A and C. It can't access B, D, and E because they are not present locally. It can't back them up. Now you delete file D by accident. There's no way to recover it. Time Machine never actually saw the file local. It was optimized and off-loaded and only present on Apple server from the moment Time Machine started backing things up. Now that you have deleted it, it's gone. You can't get it back. Keep in mind by deleting it I mean it was dragged to the Trash and then Trash was emptied. It's a little hard to do as it should be. So hopefully this situation doesn't come up too often. If it does come up keep in mind it has to be with a file that you haven't accessed recently, since you actually started backing up with Time Machine. So this is a situation where by using Optimize Mac Storage and Time Machine you failed to backup a file and then you loose it. But how often does this actually happen?
There are really three main times when you need your Time Machine backup. The first is a Catastrophe. Your Mac is stolen. It's broken. A meteor hits your house. Whatever. It's gone and you need to get all your files back. Another situation is you need to revert to an old version of a file. You are writing your autobiography and a few weeks ago you made some changes and now you want to revert back to before you made those changes. The third reason is that you had a file and you accidentally deleted it. A couple of weeks later you realize your mistake and now you want it back.
So if you're using iCloud Drive Optimize Mac Storage and you've been backing up with Time Machine how can you recover in these situations. Well, in a catastrophe it turns out you're fine. You restore your local files with Time Machine. This gives you things back that say were in your Movies folder that weren't part of iCloud Drive. It also restores everything in iCloud Drive that Time Machine could get ahold of to backup. Then you sign into iCloud. Now you have access to everything that was on iCloud Drive including the file that Time Machine never got to see and never got to backup. You're back to everything restored. Just restoring from Time Machine, signing into iCloud and you're back. The fact that you used Optimize Mac Storage didn't hurt you at all.
Now what about the situation where you revert to an old version of a file. Well chances are you don't need Time Machine at all to revert. Most modern apps, like Pages, Numbers, and Keynote or even things like Microsoft Word have a function where you can revert to a previous version of the file. So you can just revert to that previous version inside the app. No need to access your backup. But let's say it's a file that doesn't have that. It's a graphics file or something with an app that doesn't have a Revert To function. Well, if you change the file then that means the file had to be downloaded on your Mac, it had to be present there, which means the Time Machine got a chance to back it up, doing its regular hourly backups. Which means it is going to be there on Time Machine. You're covered. You can get this old version of the file back.
How about if you delete a file? Well, if you delete a file and it's something you've accessed recently then it would have been present at some point on your local drive. Time Machine would have backed it up and now you can recover it using Time Machine. But there's that last situation where it's a file that doesn't appear to be important. You haven't accessed it since you started your Time Machine backup that you're using right now and it's just now present there in Time Machine. It's gone. This is the situation that's not covered. So you have to ask yourself is it worth it to get a Mac with a really big hard drive so you don't use Optimize and have everything present all the time. So you have a 100% backup to avoid this one situation or can you use the Optimize feature knowing that you're covered most of the time for most things that you use a backup for.
Keep in mind that if you know that there's a file that's important to you, like for instance you are writing your autobiography but you haven't touched the file in a year and you've started a new Time Machine backup since then you could always go to that file and click the little cloud icon to download it. That will get it backed up. Or just open up any file and do anything with it and it will get backed up. You can even select a whole folder and say I want all this stuff. This is important tax information or whatever. Download that now and then it will be local for at least awhile and get backed up. So I hope this explains all the different aspects of using Time Machine backups along with the iCloud Drive Optimize Mac Storage option. As you can see you're pretty much covered even if you're using the Optimize Mac Storage function. But if you want to be absolutely sure that you're covered all the time it's just a matter of having a big enough hard drive and not using the Optimize feature.
I hope you found this useful. Thanks for watching.
I have an extensive backup strategy. Part of it (a small part) is shuffeling two 5TB removable drives between house and off site storage. I have always backed up my Macbook Pro and My iMac Pro to the same disk.
I get this warning new everytime: Should this computer claim the existing backups on the disk "Backup2 5TB"?
I always answer yes. Everything seems to be fine. Is this OK?
Please don't advise me to use separate drives. I also do that.
Respectfully,
Kay Fisher
Kay: That sounds fine, but I've never seen that message myself. My backup process is not like yours.
Hi Gary
What would happen in the case where say "File E" has not been used and is not stored locally and we started using using TimeMachine some time after it was released from the local drive. Then we have a disk crash or lost or stolen computer.
When we first restore the folder from TimeMachine "File E" will not be present. My concern is that iCloud will interpret that as the file was deleted as it is not there and do the same on the cloud
Frank: I cover that in the video. You restore from Time Machine and that doesn't help File E. But it is on iCloud Drive, so it doesn't matter. iCloud Drive would not think you deleted it because you didn't. It would still be available in iCloud on other devices or the web while you waited for your new computer, and then when you connected the new computer to iCloud it would be there without missing a beat. This happens every time someone buys a new Mac, not just when one is stolen or breaks.
Fantastic Explanation Gary. I could store everything on my local drive and don't really need to do optimize but that's only because I went to the new M1 iMac and got a 2TB drive. But after hearing your explanation, I think I'll just leave it at optimize as I see no great danger.
Thanks again!
Mark
Thanks Gary for the excellent video. Can you tell me if a New M1 24” iMac running latest OS would have any issue with Time Machine where I would like to use two external HDD drives, one connected all the time, and the 2nd configured in TM but only connected twice a week to create redundant backups? Would TM get confused by this backup strategy? I eject and the 2nd drive before it’s unplugged, but leave it configured in TM. I trust your experience and expertise. Thanks K
Kathy: I don't see why there would be a problem. Time Machine is software and it shouldn't matter while Mac model you have.
Hi Gary, thank you for your response. Have you seen issues with time machine where the program could get confused in a situation that I described above? Could it possibly wake up the sleeping iMac while it 'searched' for the non connected but configured HDD I wonder? Thanks in advance.
Kathy: It is designed to work with more than one drive. Many people have one at home and one at work and setups like that. It won't wonder where the other drive is, it knows it isn't connected.
Gary, I have 5 TB external HD used for time machine on iMac I will be getting rid of. Can I access the time machine back up data on my new MacBook Pro? And Can I use that same drive on my new MacBook Pro to start a brand new Time Machine back up? I did not use Time machine to transfer the Data and I had issues using the migration application and most of my Data was transferred via iCloud.
Moira: You can plug it in and select the drive and use Time Machine to get a file off of it if you want. You can also erase it and use it as a backup for your new Mac. Of course, once you do that, the old data is gone so make sure you have everything you need. If you still have your old Mac then you can always keep that around for a while too to make sure you have everything you need.
Gary, So its sounds like I can't use the iMAC Time Machines external hard drive and keep the backup on it and then start a new time machine backup for the new MacBook pro? Apple said one external drive per computer. This seems like a maybe an Apple software change because few years ago I used one (1) external drive for three (3) Macs we had in the household.
Moira: I think it should still work, but I would say it is definitely "best practice" to use one per computer when connected via USB. Do you really need to the old backup now that you have moved to a new computer?
Gary, Lol....probably not. I am wondering if there are more people like me that just can't let go of their old back up hard drives and USB thumb drives "just in case" I have a pile of them.
Gary, How does iCloud or any other synch service know that the file was Deleted as opposed to Missing as in the case where a partial restore was done by timemachine or any other backup strategy?
One more thing I accidentally deleted a file using my OneDrive. Fortunately there is a Recyclye Bin
Frank: Note that there is a big difference between a "sync service" and a cloud service. Cloud services like iCloud Drive, Dropbox, OneDrive, Google Drive and others store files on a remote server and give you access to these files on all of your devices. They are frequently cached locally so you can open a file instantly rather than waiting for a download. But it is always best to think of files as one file in one location that you can access from everywhere.
Your situation would be unusual and it is hard to judge what would happen because it depends on the details. If you were restoring a Mac and there was an error that caused a partial restore, I'm not sure what would happen. It would depend on the error and the situation. Typically you wouldn't restore a file that is "already there," which would be the case with iCloud Drive. Not sure how OneDrive handles it.
So there's no good answer because what you are suggesting is a pretty serious error happening (partial restore) in a situation where you wouldn't even do a restore from Time Machine (just log back into OneDrive instead).
Gary: What I meant by "partial restore" was that some files were missing from local backup ( ie files created AFTER local backup was done) .. I am wondering if the better strategy, is to not restore from local backup at all, for folders backed up on iCloud as it should be there anyways
Frank: I don't think it would make a difference. If the file is in iCloud Drive it will show up on the new machine.
Thanks Gary,
I just had to replace my back-up drive and I replace with a LaCie mini. I was wondering if I need to use turn on their Mirror program. But after watching your video about time machine and iCloud, I have a better understanding how it works. I not turning on their Mirror program, since i'm using iCloud maximizer.
May thanks, great job, keep up the good work.
Jerry
I have an old mac air 2015, Icloud was on and it was downloading all the files that I had from my other mac filling up all the memory, meanwhile I backup the mac with time machine to a time capsule. So I decided to turn off the icloud as the memory was getting too full. This mac air doesn't have the option to optimize storage. When I checked back the time machine it doesn't show any of the files that were in I cloud. Time machine didn't back them up? Would that also happen in my new mac? Thanks!
Isa: iCloud Drive files would fill up "storage," not memory. If you turn on "Optimize Mac Storage" under System Preferences, iCloud then it would only use the space needed and wouldn't put all of your iCloud Drive files on your MacBook Air. That option is definitely there. How did you check Time Machine for these files? It would be hard to do as you wouldn't have iCloud Drive anymore in your local storage, so using Time Machine to find older files would be a problem. You wouldn't have a starting point to launch Time Machine from.