Optical Backups of Photo Archives

I store my photos in git-annex. A full copy of the annex exists on my laptop and on an external drive. Encrypted copies of all of my photos are stored on Amazon S3 (which I pay for) and box.com (which provides 50GB for free) via git-annex special remotes. The photos are backed-up to an external drive daily with the rest of my laptop hard drive via backitup.sh and cryptshot. My entire laptop hard drive is also mirrored monthly to an external drive stored off-site.

(The majority of my photos are also on Flickr, but I don’t consider that a backup or even reliable storage.)

All of this is what I consider to be the bare minimum for any redundant data storage. Photos have special value, above the value that I assign to most other data. This value only increases with age. As such they require an additional backup method, but due to the size of my collection I want to avoid backup methods that involve paying for more online storage, such as Tarsnap.

I choose optical discs as the medium for my photo backups. This has the advantage of being read-only, which makes it more difficult for accidental deletions or corruption to propagate through the backup system. DVD-Rs have a capacity of 4.7 GBs and a cost of around $0.25 per disc. Their life expectancy varies, but 10-years seem to be a reasonable low estimate.

Preparation

I keep all of my photos in year-based directories. At the beginning of every year, the previous year’s directory is burned to a DVD.

Certain years contain few enough photos that the entire year can fit on a single DVD. More recent years have enough photos of a high enough resolution that they require multiple DVDs.

Archive

My first step is to build a compressed archive of each year. I choose tar and bzip2 compression for this because they’re simple and reliable.

1
2
$ cd ~/pictures
$ tar cjhf ~/tmp/pictures/2012.tar.bz 2012

If the archive is larger than 3.7 GB, it needs to be split into multiple files. The resulting files will be burned to different discs. The capacity of a DVD is 4.7 GB, but I place the upper file limit at 3.7 GB so that the DVD has a minimum of 20% of its capacity available. This will be filled with parity information later on for redundancy.

1
$ split -d -b 3700M 2012.tar.bz 2012.tar.bz.

Encrypt

Leaving unencrypted data around is bad form. The archive (or each of the files resulting from splitting the large archive) is next encrypted and signed with GnuPG.

1
2
$ gpg -eo 2012.tar.bz.gpg 2012.tar.bz
$ gpg -bo 2012.tar.bz.gpg.sig 2012.tar.bz.gpg

Imaging

The encrypted archive and the detached signature of the encrypted archive are what will be burned to the disc. (Or, in the case of a large archive, the encrypted splits of the full archive and the associated signatures will be burned to one disc per split/signature combonation.) Rather than burning them directly, an image is created first.

1
$ mkisofs -V "Photos: 2012 1/1" -r -o 2012.iso 2012.tar.bz.gpg 2012.tar.bz.gpg.sig

If the year has a split archive requiring multiple discs, I modify the sequence number in the volume label. For example, a year requiring 3 discs will have the label Photos: 2012 1/3.

Parity

When I began this project I knew that I wanted some sort of parity information for each disc so that I could potentially recover data from slightly damaged media. My initial idea was to use parchive via par2cmdline. Further research led me to dvdisaster which, despite being a GUI-only program, seemed more appropriate for this use case.

Both dvdisaster and parchive use the same Reed–Solomon error correction codes. Dvdidaster is aimed at optical media and has the ability to place the error correction data on the disc by augmenting the disc image, as well as storing the data separately. It can also scan media for errors and assist in judging when the media is in danger of becoming defective. This makes it an attractive option for long-term storage.

I use dvdisaster with the RS02 error correction method, which augments the image before burning. Depending on the size of the original image, this will result in the disc having anywhere from 20% to 200% redundancy.

Verify

After the image has been augmented, I mount it and verify the signature of the encrypted file on the disc against the local copy of the signature. I’ve never had the signatures not match, but performing this step makes me feel better.

1
2
3
$ sudo mount -o loop 2012.iso /mnt/disc
$ gpg --verify 2012.tar.bz.gpg.sig /mnt/disc/2012.tar.bz.gpg
$ sudo umount /mnt/disc

Burn

The final step is to burn the augmented image. I always burn discs at low speeds to diminish the chance of errors during the process.

1
$ cdrecord -v speed=4 dev=/dev/sr0 2012.iso

Similar to the optical backups of my password database, I burn two copies of each disc. One copy is stored off-site. This provides a reasonably level of assurance against any loss of my photos.

I put rule #7 into practice yesterday.

Six hours, 85 miles, two very sharp lines.

To Index

The Modern Woodsman as a cross-disciplinary wilderness traveler.

At Wood Trekker Ross introduces his concept of the modern woodsman.

… [T]he modern woodsman is a person who is able to undertake long term trips, deep into the wilderness, only with supplies one could carry and what could be gathered from the surrounding environment… He uses technology, skills and equipment based on efficiency and practicality. He applies modern hunting techniques, modern understanding of nutrition, and modern climbing, mountaineering, and packrafting techniques. His equipment includes tools that are best suited for the task without consideration for nostalgia and sentimentality.

Journey Without Boundaries: Small Team Operations

I believe that maintaining an interest in asymmetric warfare is a healthy habit. The Rhodesian Bush War and South African Border War are particularly interesting, as both sides employed direct, unconventional means.

I am currently reading Journey Without Boundaries: The Operational Life and Experiences of a SA Special Forces Small Team Operator, the memoirs of Colonel Andre Diedericks. Diedericks joined the South African Defence Force in 1974 and served in their Special Forces for two decades. Taking inspiration from Rhodesia’s Selous Scouts, he was largely responsible for developing and implementing small team tactics in the South African Recces. These “small teams” are not the 12 man ODAs we think of with our Special Forces today. Diedericks’ small teams consisted of only two men. Their missions would last a month or longer, during which time they would be completely self-sufficient and travel hundreds of kilometres on foot. Their operations were deniable, which required them to remain completely hidden from both the enemy force and local population.

Journey Without Boundaries

Journey Without Boundaries joins The Jedburghs by Will Irwin and The Phantom Major by Virginia Cowles as being an excellent read for tracking the development of unconventional warfare.

It's impressive the distances that can be covered on a bicycle.

Jan Heine took a couple days for an impromptu ride from Seattle to Orcas Island and back via Whidbey and the peninsula.

I wrote an article about anonymous debit cards on ITS Tactical.

I have previously mentioned prepaid debit cards. On ITS I discuss using prepaid debit cards for anonymous, cash-like digital transactions a bit more in-depth.

I occasionally find myself editing video for work.

In the past I’ve used OpenShot, but I was hit with some bugs that made me search for alternatives. Now I use Kdenlive, which I’ve found to be very capable. OpenShot currently has a Kickstarter campaign on to fund further development. Even though I’m no longer a user, I happily backed the project.

Hill People Gear Chest Armor

I crashed my bike this morning. I landed on my chest and skidded a few feet on the concrete. Luckily I was wearing my Hill People Gear Snubby Kit Bag. The front of the Kit Bag was torn. It saved my chest (and my nice merino shirt) from the same fate. Thanks HPG!

The Defeet Wool Duragloves also handed themselves admirably. The right-hand glove is fine. The left-hand glove has a hole in the palm. I expect this low amount of damage is due to the 40% Cordura composition. I would not expect 100% wool gloves to hold up as well.

HPG Snubby Kit Bag Damage

  • HPG Snubby Kit Bag Damage
  • Defeet Wool Duragloves Damage