Time Machine backup disk migration to network drive

Blog

A Information to Utilizing Apple Time Machine and your NAS

Apple Time Machine is a backup software program utility included with macOS working system from Apple. The software program is designed to work with their vary of AirPort Time Capsule gadgets, the Wi-Fi router with built-in onerous disk (which apple are pulling out of), in addition to different inside and exterior disk drives linked through USB and Thunderbolt. It was launched in Mac OS X Leopard fairly a number of years in the past and has turn into a backup important for Mac customers worldwide. With the expansion of recognition in NAS gadgets from QNAP and third celebration clouds like Google Drive, Amazon Drive and CrashPlan it has turn into a typical requirement to retailer backup photographs of a Mac system off-site.

Easy methods to cease a Time Machine backup

If you do not have time to again up now – maybe you could shut down your Mac and rush dwelling – you may cease Time Machine from backing up your Mac.

Subsequent to the progress bar described above you will note an X. Click on on this to cease the backup. The system will begin the again up once more in a single hour. To begin it once more see easy methods to power a Time Machine backup above.

If you wish to pause a backup and end it later, choose Skip This Backup from the Time Machine menu.

Easy methods to cease Time Machine backing up mechanically

If the hourly backups turn into annoying you may disable them – however remember to make use of Time Machine to backup once in a while, and keep in mind that if you do it is going to take longer as a result of the system will not be making the incremental hourly backups so there will likely be extra to cowl.

  1. To cease computerized backups go to System Preferences > Time Machine
  2. Deselect Again up Routinely. (In Mac OS X El Capitan or earlier select Flip off Time Machine).
  3. If you subsequent need to again up your Mac click on on the greyed-out Time Machine icon in your menu bar and select Again Up Now.

Video

What You Want

  • A Mac: The pc ought to have OS X Mountain Lion (10.8) or later put in on it.
  • Three drives: Every drive should be massive sufficient to retailer the info you’ve gotten in your Mac after which some. The more room accessible on the backup drives, the extra historic Time Machine information they’ll maintain.

For those who solely need to create a two-drive backup system, you may comply with this course of. Simply modify the variety of drives from three to 2 as you’re employed by way of the directions.

This information works for native inside drives, exterior drives, and community drives that Time Machine helps.

Step 3: Copying contents

Technique 1: Copy utilizing disk cloning (quick, unstable)

There may be a better and sooner means – clone exterior backup disk to sparse bundle disk utilizing dd as it’s. No have to care about case sensitivity or possession flag – your sparse bundle could have precisely the identical byte to byte state as your exterior backup disk. Your sparse bundle quantity will need to have the identical or just a little bit bigger measurement than supply disk. You’ll be able to resize (develop) HFS+ partition on sparse bundle disk after however it’s not quick.

Steps:

  • Be sure that each supply backup disk and goal sparse bundle disk are seen in Disk Utility.
  • Unmount partitions (however not eject volumes) on supply disk and goal picture.
  • Allow “Terminal” to have full disk entry:
    • Open “System Preferences”
    • Then “Safety and Privateness”
    • Then “Privateness”
    • Then “Full Disk Entry”
    • Press “+” and add “Terminal” utility
  • Stop “Terminal” whether it is already began and begin “Terminal” utility.
  • Begin copy course of
    • Run sudo dd if=/dev/r{SourceDisk} of=/dev/r{DestinationDisk} bs=2m
    • Instance with macOS dd: sudo dd if=/dev/rdiskA of=/dev/rdiskB bs=2m
    • Use r prefix, it will make course of sooner
    • Use disk ID, not partition ID
    • Seize identifiers from Disk Utility or utilizing diskutil record.
      • rdiskA should be a bodily disk the place you might be copying kind
      • rdiskB should be a sparse bundle disk positioned on bodily disk the place you might be copying to
    • Block measurement 2m ought to enhance efficiency. You may experiment with totally different values. Terminate the method with Management + C, unmount quantity once more (in any other case macOS will auto mount it) and check the pace.
    • Press Management + T to see the progress and the pace.
    • You probably have HomeBrew and coreutils put in then you possibly can use GNU dd that may mechanically report progress
      • Run sudo gdd if=/dev/r{SourceDisk} of=/dev/r{DestinationDisk} bs=2M standing=progress
      • Instance:sudo gdd if=/dev/rdiskA of=/dev/rdiskB bs=2M standing=progress
      • Block measurement items have barely totally different format (M as a substitute of m).
  • Rename HFS+ quantity on sparse bundle disk to Time Machine Backups after (undecided whether it is required, however macOS created sparse bundles have this title for backup quantity).
    • Open Disk Utility
    • Choose partition inside sparse bundle picture
    • Proper click on -> Rename
    • Kind the title Time Machine Backups
  • Sparse bundle received’t have precisely the identical measurement as supply disk, so want to repair that:
    • You may skip this step if supply backup disk and sparse bundle have the identical or about the identical measurement.
    • Restore sparse bundle partition map (it will develop partition measurement in GPT)
      • Run sudo diskutil repairDisk {SparseBundleDiskID}
      • Instance: sudo diskutil repairDisk diskX
    • Develop backup HFS+ quantity in sparse bundle (develop quantity measurement to partition measurement)
      • Run sudo diskutil resizeVolume {TimeMachineBackupPartID} 0
      • Instance: sudo diskutil resizeVolume diskXs2 0
      • Resize can even set off HFS+ file system test and it’s good to substantiate that partition after this hardcore migration continues to be not broken
      • This process will take lots of time as a result of file system test is gradual.

Paragon ExtFS didn’t present excellent stability for me. It crashed macOS a number of occasions till succeded.

The one time the method has succeded was with these steps and in ~3.5 hours:

  • contemporary rebooted macOS
  • all purposes moreover Terminal had been closed
  • default band measurement was used
  • gdd as a substitute of dd
  • disabled macOS sleep utilizing Amphetamine app

Let me know if you will discover what precisely can crash the copying course of, so I can share extra particulars right here for others.

Instance:

Technique 2: Copy utilizing Finder (gradual, secure)

Your exterior backup disk most-likely has case-insensitive HFS+ and the sparse bundle could have by default case-sensitive HFS+ so copying Backups.backupdb utilizing Finder received’t work by default.

Steps:

  • Reformat sparse bundle quantity to case-insensitive HFS+ (identical filesystem as exterior backup disk) utilizing Disk Utility.
  • Manually set possession flag on it utilizing Terminal and the remount: sudo diskutil enableOwnership {PartID}.
  • Solely after which you can copy Backups.backupdb utilizing Finder from one quantity to a different quantity.

However it is going to take EXTREME period of time. In my case even complete night time was not sufficient to construct simply record of information to repeat. I can solely think about how lengthy will it take to additionally copy information. I gave up and determined to go ahead with native cloning resolution.

Mac shared as a Time Machine backup vacation spot

To make use of one other Mac in your community as a Time Machine backup vacation spot, full these steps on the opposite Mac:

  1. Select Apple menu  > System Preferences, then click on Sharing.
  2. From the record of companies on the left, choose File Sharing.
  3. From the Shared Folders record on the proper, click on the add button (+), then select a folder to make use of for Time Machine backups.
  4. Management-click the folder that you simply added, then select Superior Choices from the shortcuts menu that seems. From the Advanced Options dialog, select “Share as
  5. From the Superior Choices dialog, choose “Share as a Time Machine backup vacation spot.”

When establishing Time Machine in your different Mac computer systems, you must now be capable of choose the shared folder as a backup disk.

Step Three: Obtain and Run the Time Machine Shell Script

Commercial

Within the earlier information, this step required a little bit of Terminal kung fu. Now all it’s a must to do is obtain this shell script (learn extra about it at InsanelyMac), open Terminal, cd to the folder containing the makeImage.sh script, after which run the next command:

Make sure to change 130 with the scale you'd favor your Time Machine backup to be, and change /Volumes/TimeMachine/ with the trail to the mounted Home windows quantity you arrange above. (Assuming you mounted that Home windows share, you may merely kind /Volumes/ and press Tab twice to see the mounted volumes in your machine. It’s best to see your mounted Home windows folder there.)

Commercial

Easy methods to again up a number of Macs

You probably have multiple Mac you do not want multiple exterior drive to your backups. You’ll be able to backup multiple Mac to your Time Machine drive. You may want a exterior drive large enough to accommodate all of the backups although – it is advisable that you simply add up the area at the moment utilized by all of your Macs and multiply that by 1.2 for absolutely the minimal you will want.

You may simply plug your Time Machine backup drive into one other Mac. That Mac will begin recording its personal backups to a separate folder on that drive.

For those who do not fancy plugging and unplugging the drive on a regular basis you may again up over the community – however beware that this is perhaps slower than doing so through a wired connection. You may arrange a community hooked up storage system, or a macOS Server, or you possibly can use Private File Sharing and join each Macs through the community.

Tags