For some time, I’ve been wanting to set up a backup for my Github repos. Technically they are all backed up by my local copies, which are also backed up when I back up my local computer. However, I wanted something that was sure to have everything from all the repos (all branches, tags, etc) and could be set up and run continuously on a yet-to-be-created backup server. I have create a bash script to do this for me.
Continue reading post "Github repo backup script"backup posts
Simple MySQL backup script
I made a simple bash
backup script for the newer MySQL database servers at Cogneato.
Today at work, a feature I worked on went from fun and cool as I was building it to a stressful fix and recover operation after it unintentionally deleted important site files when deployed.
Continue reading post "#2820"Rsync incremental snapshots
I have been using rsync
for backup and other things for a long time. It has a link-dest
option that allows doing incremental snapshots similar to Time Machine on Macs.
Disappearing iPhoto Library
Today, I noticed a strange thing while doing a bit of filesystem cleanup: Â My entire iPhoto library, containing 8000+ images, had somehow turned into a 300k alias file pointing to nothing. Â Concerned, I looked elsewhere to make sure I hadn’t just stored it in a different location for organization purposes and the alias had broken. Â I hadn’t. Â Then I remembered earlier today noticing that my hard drive seemed significantly roomier than normal. Â I had just emptied the trash a couple days ago (usually don’t empty often, just in case), but there shouldn’t have been anything nearly that big in there.
Luckily, I use Apple’s Time Machine for backup, plus my own other methods. Â In Time Machine, I went back about two weeks before the actual library was there. Â Restored it of course.
I have no idea what happened there. Â I hadn’t used iPhoto or been reorganizing anything around that area for a full month. Â If I had somehow accidentally created an alias in the folder, there would be no reason it wouldn’t perform he normal action of appending alias to the name.
Continue reading post "Disappearing iPhoto Library"