William Goodall's Blog Occasional mutterings

March 21, 2015

New boots

Filed under: Unboxing — William_T_Goodall @ 15:12

IMG_6287 IMG_6289 IMG_6291

Made in China for a German brand, I got them online from a store in Ireland…

Doorbell

Filed under: DIY,Unboxing — William_T_Goodall @ 15:10

IMG_6282 IMG_6284

The old doorbell finally expired so I got a replacement wireless doorbell. One mains powered ringer and one battery powered ringer.

Raspberry Pi

Filed under: IT,Unboxing — William_T_Goodall @ 15:09

IMG_6277

I got this for Xmas shortly before the new model came out 🙂

rsync on external drives with OS X sparse bundle images

Filed under: Apple,IT — William_T_Goodall @ 14:38

If you use (encrypted) sparse bundle disk images on Mac OS X and want to be able to keep backups of the images on a different external drive you can use the rsync command to copy/delete only the changed bands making the process very quick.

Assuming you have a sparse bundle disk image called IMAGE at

/Volumes/DRIVE1/images/IMAGE.sparsebundle and you want to back it up to

/Volumes/DRIVE2/backups/IMAGE.sparsebundle

Unmount the images if they are mounted. You will not need the password if the drives are encrypted as the drives are not mounted during the backup.

In the terminal use the following command

rsync -vaE –inplace –delete –progress /Volumes/DRIVE1/images/IMAGE.sparsebundle /Volumes/DRIVE2/backups

editing the command to match your paths and filenames. Note that you do not enter the filename of the destination sparse image, just the folder it is in. (Without trailing ‘/‘). If the destination doesn’t already exist then it will be created but since this involves copying the entire image it will take time. Once the destination image exists only changes are copied across and will be quick.

If the process is interrupted before it completes the destination image may be corrupted. Simply rerunning the command to completion should resolve this.

If you use the hdiutil compact command to free unused space on the source disk image then unused bands will be deleted on the destination image when you sync.

DISCLAIMER. I have successfully used these commands to back up and synchronise several encrypted sparse bundle images between various Firewire and USB3 external drives but if you choose to try this yourself it is your responsibility to ensure that it works correctly for your requirements.

Powered by WordPress