- Joined
- Jan 1, 2009
- Messages
- 16,379
- Reaction score
- 4,735
- Points
- 113
- Location
- Winchester, VA
- Your Mac's Specs
- MBP 16" 2023 (M3 Pro), iPhone 16 Pro, plus ATVs, AWatch, MacMinis (multiple)
Again, that's not how it works. What you are thinking of as "snapshots" are, in fact, key elements of the backup database. What TM calls the local snapshots that TM does when the drive is not connected are invisible and cannot be opened by TM for the user. Think of it this way: The backups.backupdb file is actually a database wherein TM controls the data. Each time it adds a new bit of data, it labels that data with a date/time stamp. When it cannot open the database because the drive is detached, it temporarily stores the transaction in a hidden file to wait for the drive to reappear. So, when the drive is connected, TM opens the snapshot to get the transaction it needs to recreate the "skipped" backups and bring the database to be complete. So there is no way for the user to show or know what is in the snapshot. Don't mess with the snapshots. Deleting them can make the entire backup useless. As I said, TM is a very complex set of activities and functions that is NOT designed to have someone meddle in the middle of it. Just like you wouldn't use a text editor to change the internals of a relational data base, you should not use any tools to change any of the internals of a TM backup system. Frankly, it would have been better if Apple had just obscured the entire process and results so that end users would NOT see what is in the database except through TM itself, but I guess they thought that making it look "nice" would be a good thing.If you have another idea or way to achieve this goal, please let me know because I'm stuck. If what I think is true, the "missing folder" is in an older snapshot which points to the USB drive (not connected), it will then never back it up to the NAS and my customer will always need the USB drive if he would like to restore this data.
What you want, I think, is to have a full and complete backup of the system on the NAS. That is reasonable, and I have one of those in my system. It, too, is raided. So what you want is certainly reasonable and achievable. You just need to find the missing file and repeat the process already used.
As to what happened on this particular Mac, there are a couple of possibilities for that missing file. One is that the file that can be seen in the local backup is no longer on the internal source drive. If that is the case, the way to get it to the NAS is to restore from the local USB backup to the internal drive, then do a new, clean Time Machine backup to the NAS. If there is an existing backup already on the NAS, you will have to get rid of it so TM doesn't see it there and try to use it. I've tried deleting TM backups before and they take FOREVER. What has worked for me is to just reformat the drive. If reformatting the NAS is not possible, maybe create a new space in the NAS for this backup--a separate folder, or user, or something where there is no backup now. Point TM to that specific space and let it do the backup. Then, once the first new TM backup is done, you can try deleting the old backups and just let it run until it is done. As I said, that is a very, very slow process for some reason.
The second possibility is that somehow the backup was interrupted before it finished and the large file was simply not finished, so it doesn't appear in the backup database on the NAS. That might happen if in the middle of the backup the network connection was interrupted for any reason. TM works at a very low priority by design. The idea is that backups can happen and you don't notice them because it gives way to everything else in the system. That's good if you have it turned on to backup every hour, but not so good when all you want is for it to finish a big backup. Once you have the machine and all the drives and start the long new backup, just let it run, and run, and run, until it's done.
On a slightly new note, I don't know what your customers needs may be, but once you get the backups sorted out, you might want to look at something called TimeMachineEditor ( https://tclementdev.com/timemachineeditor/ ). I use it to schedule my TM backups to be just twice a day at noon and midnight. I don't need hourly backups any more because I am retired and no longer working on critical things I can't lose. TME is a nice scheduler for TM. One fringe benefit is that if the Mac is detached from the NAS, in your case, it won't make hourly local snapshots taking up drive space. It will only make the snapshots on the schedule set in TME and, again, once the NAS is reconnected, those local snapshots will be used to build the backup to current status.
You are on the right track, but just be careful. And don't mess with the snapshot or any other internal parts of TM. Find the missing file, get it on the internal drive, do a new backup to the NAS and you should be good to go.