![]() ![]() The Lr Catalog file is a bit like a catalog in an ordinary library. What is not clear is where you have your Lightroom catalog stored and whether or not you are trying to have two active copies of the same catalog. I understand you have two external disks with your photos on them and that you use SuperDuper to make sure the second disk has the same set of photos and folders as the first. I recently found myself needing to make a really thorough system image of my MacBook when my Mac OS install picked up some subtle corruption that was causing some really crazy suspend/resume bugs.I think we need more information from you. I chose to make full system images with SuperDuper!, since it has proven itself quite capable in these matters in the past. I already had Netatalk set up on my trusty personal file server, so I set up a gigabit ethernet connection with jumbo packets, mounted an AFP share on my mac, and started a backup to a new sparse bundle. “Slow” does not even begin to describe for how painfully sluggish the speeds reported by SuperDuper! were, at less than 8MB/sec. Over 18 hours were estimated to complete the backup. Since I need to work on my laptop at least 8 hours a day, this was unacceptable. An AlternativeĬlearly, there was a bottleneck somewhere along the line. ![]() I found an article on the Shirt Pocket (creators of SuperDuper!) forums explaining how one could back up over sshfs. ![]() This was already quite a bit faster at ~26MB/sec, but I knew I could do even better. In the past, I’ve used alternative ciphers to lower the CPU load imposed by an SSH session. SSHFS, however, offers an option to bypass the “ssh” command entirely, and connect directly to a port. The unencrypted result gave me transfers at greater than 32MB/sec. ![]() I already had OSXFuse and its SSHFS package installed on my laptop to be imaged, but if you don’t, you can grab them from homebrew (osxfuse and sshfs) or as binaries from the website. To provide a port for SSHFS to connect to, you’ll also need something like netcat or socat on your target server. The sftp-server executable may live in a different location on your linux server.Start the sftp-server executable on the file server by SSHing into the file server and run the following command: ncat -l 7777 -e /usr/lib/sftp-server.Unmount the sparse bundle you just created.Make sure you choose “sparse bundle disk image” as the “Image Format,” and ensure the size is large enough to hold all the contents of the disk you want to image.Create a sparse bundle on your *local* disk with Disk Utility (File > New > Blank Disk Image).I already had “ncat” from the nmap project installed on my file server, so no further software was needed. Move the sparse bundle from the directory you created it into the directory mounted via SSHFS.sshfs -o directport=7777 remote:/dir/backups /local/dir Mount the sshfs directory you want to store your backups in.For Arch Linux systems, try /usr/lib/ssh/sftp-server. When the backup is finished, unmount the sparse bundle in finder, then unmount your sshfs connection.Īnyone who knows linux reasonably well is probably wondering why I didn’t just set up NFS on my file server.Start SuperDuper and tell it to back up to the mounted sparse bundle.This can be done either by double-clicking it in finder or by running hdiutil attach disk_image.sparsebundle. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |