How to preserve Time Machine backups and start over with a new one?

Solution 1:

The simplest way is for you to note the date and time of your last backup in Time Machine on OS X Mountain Lion. You can get back to it at any point in time in the future just by restoring to the backup with that date/time (this will remain on the disk as long as you have adequate space so that Time Machine does not delete these older versions).

  • You can easily find this date and time by navigating into the "Backups.backupdb" folder on the Time Machine disk and looking at the timestamp for the "Latest" folder (it is actually a link - so you can even open it to see the latest backup folder name with the date and time).

If you do not wish to note down the date and time of your last backup with OS X Mountain Lion, the next simplest way is to change the computer name either on the Mac on OS X Mavericks before you do your first Time Machine backup on it or on the Time Machine backup disk for the older backup.

In either case, this will make Time Machine create a new folder with the new machine name on the disk and it will do a full backup the first time (so you need adequate disk space to hold almost two copies of your Mac). This way, you can restore from the old or new backup in the future (if you rename the computer name on the Time Machine disk, then you would have to revert that to do a full restore of the old system).

  • To change your computer name, go to System Preferences > Sharing and edit the Computer Name: text.
    OR
  • To rename the computer name on the Time Machine disk instead, use the following command in Terminal.app:

    sudo /System/Library/Extensions/TMSafetyNet.kext/Contents/Helpers/bypass mv /Volumes/<TMDiskName>/Backups.backupdb/<ComputerName> /Volumes/<TMDiskName>/Backups.backupdb/<OSXMountainLionBackupComputerName>
    

    Substitute the following in the above command before running it:

    • <TMDiskName> is the name of the Time Machine volume name
    • <ComputerName> is the current computer name (which you will continue using for OS X Mavericks)
    • <OSXMountainLionBackupComputerName> is the name of the snapshot for you to do a full restore from in the future (you would have to rename it back using a similar command as above before the full restore)

Solution 2:

This answer adresses more scenarios when one needs to preserve one or more Time Machine backups.)

Time Machine is not designed for preserving old backups indefinitely (i.e. For permanent archives). Even if there is plenty of free space on the backup disk, Time Machine will delete a backup after 24 hours in case it's not the furst backup of a day. If it is, Time Machine will keep it for 30 days unless it is also the first backup of a week, where the start of a week is defined as the time and day of the initial backup (thus not necessarily Monday or Sunday). The life span of the first backup of a week is not time limited. However, the oldest backup is deleted if space is needed for a new one, unless it's not the last remaining backup.

So, later, if you decide to restore the latest backup Time Machine has ever made on the old system, it may already not be available, and you may need to pick an older backup instead that Time Machine has kept according to the aforementioned rules.

Basically, you have two options if you want to preserve one or more backups:

  • Start a new set of backups to a new disk or partition, or
  • preserve the backup by other means than Time Machine, and continue backing up to the same set of backups.

Note that if you install the system on an erased disk or partition, and put your data back (whichever way you do it, including Setup Assistant and Migration Assistant), or if you restore the whole system (again, whichever way you do it, including a restore from a Time Machine backup using OS X Recovery), then the first Time Machine backup will probably be a full backup (not an incremental one which could save a lot of backup disk space and time). However, you may be able to prevent it by following this guide.

Starting a new set of backups to a new disk or partition

This may be preferred, as it will allow you to restore your old system in the future most easily, by restoring from a Time Machine backup using OS X Recovery.

You might be able to create a new partition on your current Time Machine backup disk even without erasing it by following the steps here.

Depending on free space and other preference, you may want the new partition to be either for future backups of the new system, or it can hold only the single latest backup of the old system, selecting the new partition temporarily in the Time Machine Preferences just before the system upgrade, but continuing backing up to the old partition after that. You may also consider adding some exclusions, so that it holds really only the old system without the data you are already backing up to the old partition.

To see the old set of backups after starting a new one, you'll need the Browse Other Backup Disks option.

Preserving a backup by other means

This can be done even via the Time Machine interface, either before or after upgrading the system, by restoring the old system backup to a chosen location, such as a different folder on the Time Machine backup disk or another backup disk.

Another way is making a clone of the old system or its Time Machine backup via a specialized software like Carbon Copy Cloner.

Moving the Time Machine Backups.backupdb folder to a different location on the backup disk, using a little modification of the command supplied in M K's answer, to isolate it from the reach of Time Machine, will also do the trick, but it would require a reverse process every time you need to access the old backups via Time Machine or perform OS X Recovery. On the other hand, making a permanent backup this way is much faster, as it doesn't require copying anything.


It is also worth noting that if you want to keep a backup just because you want to retain an option to downgrade OS X, then you have also another option. If you have purchased or downloaded an older version of OS X in past using the Mac App Store, you can download its installer again from the purchase history in the Mac App Store. It's not possible to run the older installer from a newer version of OS X though – first, you would have to erase the partition the current system is on and install the older OS X version fresh. Then you can use Setup Assistant or Migration Assistant to copy your data, accounts, and/or settings (apps won't work) which you've backed up via time Machine on the previous system with newer OS X.

Solution 3:

Thanks for the thread and answers. I have a 2 TB Time Capsule so have space to keep the entirety of the previous Time Machine backups as well as new ones.

I used above information, from the great answer already provided, but created a new folder on the TMDisk first, once the TMDisk was showing mounted in the sidebar I added new folder in the same place as the Backups.backupdb one and called it backup2013.

Then I did the following in Terminal, after modifying the original in TextEdit.

sudo /System/Library/Extensions/TMSafetyNet.kext/Helpers/bypass mv \
/Volumes/**TMDisk**/Backups.backupdb/**machinename** \
/Volumes/**TMDisk**/**backup2013**/**machinename**

Substitute the following in the above command before running it:

  • **TMDisk** is the name of the Time Machine volume name
  • **machinename** is the computer name (regardless of old or new)
  • **backup2013** is the extra folder created to house the pre-Mavericks backup

As before this is where the snapshot will live for you to do a full restore from in the future (you would have to rename it back using a similar command as above before the full restore - hence saving it in a text file).

…and I also moved the **machinename**.sparsebundle to a backup folder in the standard Finder view of my Time Capsule. I also saved the TextEdit doc to the same folder so I can reverse it later if needed.

Important

I then promptly panicked when I opened Time Machine and only saw the new Backups.backupdb, this will be because I drag and dropped the machinename.sparsebundle to another folder on my Time Capsule.

I located the other folder and double-clicked on the machinename and it then mounted the old image as a separate device in the sidebar.

Time Machine also now seems to have reset its name to default.