babysimon reacted with horror when I told him at the weekend that we still hadn't sorted backups out, and pressed a spare 250GB USB external drive into my hands.
What's everyone's favourite way of doing backups? We have a Windows and a Linux laptop to back up, both are switched on at unpredictable times. I just had a go at making
brad's "brackup" go, but despite the great attraction of GPG-encrypted backups, it doesn't seem to be ready for prime time yet - the documentation isn't there yet, and it creates zillions of tiny encrypted files. I am resisting the temptation to write my own Python-based alternative. What do you use?
Update: I since found
this rather nice solution.
no subject
Date: 2008-05-21 05:49 pm (UTC)Then on a much slower schedule, when I feel like doing it, I burn either my home directory or my entire file tree to write-once optical media (CDs until recently, DVDs now). That's both for backup and as an archive, so I can go back and look at what I was doing in the past.
These measures have seen me through a number of hardware failures, software failures, and human errors over the years. They're certainly not perfect, but the big thing is that I can really keep them up on an ongoing basis, unlike some of the other backup measures I've seen people attempt, which end up not really being sustained.
no subject
Date: 2008-05-21 06:10 pm (UTC)(no subject)
From:(no subject)
From:(no subject)
From:no subject
Date: 2008-05-21 05:49 pm (UTC)I used to use rsync (+ anacron would do the trick) on Mac. No idea at all about Windows. (I use Time Machine now on the Mac, which rocks, but that's no use to you!).
no subject
Date: 2008-05-22 08:26 am (UTC)(no subject)
From:(no subject)
From:(no subject)
From:(no subject)
From:no subject
Date: 2008-05-21 05:55 pm (UTC)no subject
Date: 2008-05-21 06:03 pm (UTC)IIRC somone was trying to implement a Linux equivalent of TM -- ah, here we are: FlyBack. Caveat: I haven't used this (yet).
no subject
Date: 2008-05-21 06:17 pm (UTC)no subject
Date: 2008-05-21 06:11 pm (UTC)Most of the code I have written I have uploaded elsewhere, so I'm not too attached to it either.
I've already lost my entire music collection twice, so that isn't too bad.
no subject
Date: 2008-05-21 08:58 pm (UTC)I've already lost my entire music collection twice
Me too. Very annoying.
(no subject)
From:(no subject)
From:(no subject)
From:no subject
Date: 2008-05-21 06:12 pm (UTC)It's not so useful for very large files that change often (like video files), so I exclude those directories, but for smaller text files, and long-term static files that aren't intrinsically huge, it's a great option. I've got my /etc/ and the websites I'm developing in it.
Another option as well is an Amazon S3 account, but for that there is a Firefox plugin to upload & set permissions.
no subject
Date: 2008-05-21 06:21 pm (UTC)(no subject)
From:(no subject)
From:no subject
Date: 2008-05-21 06:33 pm (UTC)no subject
Date: 2008-05-21 06:41 pm (UTC)no subject
Date: 2008-05-21 06:53 pm (UTC)In combination with a lack of (mobile) laptops and sufficient paranoia to ensure that everything of importance is actually on the server.
no subject
Date: 2008-05-21 06:58 pm (UTC)no subject
Date: 2008-05-21 09:26 pm (UTC)0 0,6,12,18 * * * /usr/bin/rsync -rl --password-file=****** /home/fun/ fun@192.168.1.3:/trollop/David/
Ubuntu includes anacron, so it will run fine.
(Kubuntu 8.04 comes with rsync 2.6.9 and I hand-installed rsync 3.0 on the server from source, but they seem to talk OK.)
no subject
Date: 2008-05-21 07:37 pm (UTC)no subject
Date: 2008-05-21 07:46 pm (UTC)Just about any USB drive you buy will have rudimentary software for an advanced file copy operation from MyDocuments and any other folders you specify, eliminating duplicates and version-marking (or overwriting) updated files.
no subject
Date: 2008-05-21 07:49 pm (UTC)no subject
Date: 2008-05-21 07:52 pm (UTC)Several of my better organised friends use the <A HREF="http://www.cis.upenn.edu/~bcpierce/home.html>Unison</A> file synchroniser to sync between different machines, e.g. work and home machines. Updates on either machine are propagated to the other.
no subject
Date: 2008-05-21 08:42 pm (UTC)found it more useful than raid for when I decide to delete things i don't mean to.
I've always meant to do a incremental backup system, but never got round to it.
no subject
Date: 2008-05-21 09:53 pm (UTC)It also was obviously developed by someone who'd been bitten; it emails you automatically if it detects it's not working. Useful :)
no subject
Date: 2008-05-22 07:46 am (UTC)But looking at the answers here, it seems everyone has their own not-entirely-satisfactory string-and-sealing-wax solution. Maybe I really should think about writing an alternative.
(no subject)
From:(no subject)
From:(no subject)
From:(no subject)
From:no subject
Date: 2008-05-21 11:03 pm (UTC)For one off things like mp3s, videos and software, I backup to 1 or preferably 2 CD/DVDs (my mp3s are also backed up onto 2nd hard disk, and my laptop).
Oh, and I always keep a recent backup DVD in my bag in case my house blows up or something.
More frequent backups I sometimes do onto my second hard disk or my laptop (either using the clunky Windows Backup - I'm sure there's better software - or just a manual copy).
no subject
Date: 2008-05-21 11:52 pm (UTC)For stuff that we want a revision history of (laptop /home, /etc and so on dirs): rdiff-backup to another machine in the flat.
For encrypted hard disk volumes: truecrypt as it is opensource and cross platform. Was nearly burned by the proprietary PGPDisk a few years back.
As for offsite: not sorted that out yet, but I tend to just burn loads of single layer DVDs out every so often, and ask a trusted someone to keep a copy in another flat.
no subject
Date: 2008-05-21 11:54 pm (UTC)no subject
Date: 2008-05-22 12:53 am (UTC)It's still a hack and is missing an easy and friendly way to recover the files as well as a database for the metadata. But it does what needs to be done: blocks are already encrypted when rsynced into the remote location and it's sufficiently broken down for close to minimum updating without leakage.
It's an ongoing project but it's very much on standby for the moment.:(
no subject
Date: 2008-05-22 01:04 am (UTC)I use laptops so I can't rely on RAIDS or anything that needs my intervention for backups of frequently changing and critical data/directories.
no subject
Date: 2008-05-22 07:44 am (UTC)I use zrm for MySQL backups (zmanda)
no subject
Date: 2008-05-22 09:10 am (UTC)Anything very important at home gets sent to the four winds (various online places and my work system of mirrors and centrally backed-up shares). For the rest, I rely on burning DVDs from time to time - the vast majority of stuff is photographs and videos. The really good photos are all online, and the ones that would make me cry if they were lost have been printed in multiple copies and circulated widely to friends and family in hard and electronic form.
My current music backup system is the original CDs. (Plus burned DVDs of the relatively small amount of stuff I've downloaded.) This made good sense originally but is now looking creaky. (Ye ghods it'd take forever to rip that lot again and get the metadata in to usable form.) Which is why I'm thinking an external drive (or something networky) would make sense. But I'm also waiting for Freesat PVRs to become available and would like a network backup store to talk to that too, which is an excuse for doing nothing yet ... but not a good one.
no subject
Date: 2008-05-22 11:56 am (UTC)No, I only had one spare. Also I'm sober now.
(no subject)
From:no subject
Date: 2008-05-22 09:36 am (UTC)2. Ian generated content - still fits on a blank DVD-5 and it's easy to do that. What I want is a good offsite backup for this.
3. Disk images, especially of Windows OS / programs on USB discs. Too many backup 'solutions' leave you with the files there, but not with the right permissions / in the right place / whatever for the results to actually work.
4. 'Media files' - the vast majority of my disc space. In many cases, it would be re-torrentable, but the proportion of files this is true for became somewhat less likely with the end of Demonoid. USB discs seems to be the way to do this, but I'm still not happy.
5. For the past few months, I've started doing at least two copies of any DVDs/CDs burnt in case one is damaged/lost. This was prompted by the discovery that Post-it notes take the metal layer off one particularly bad set of CD-Rs I used a (thankfully small) batch of at one point around 2000. Ghod knows what they used to protect it. Another, even older batch of CD-Rs has developed data read problems bad enough to make CD audio audibly bad.
All copies are still stored locally, but in case of catastrophe, having lost a batch of copied DVDs is not going to be my main problem.
What I liked about the concept of brackup was that it a) used offsite storage that I trust will still be there when needed (Amazon - Google would be an alternative, but I don't think I've seen a commercial specialist offsite backup company that I would bet my data on) and b) did it in such a way that it didn't matter whether or not they were being co-operative to anyone wanting to see the contents. It's been some months since I had a look, but didn't it also keep older versions of files?
What I didn't like is that it didn't seem to work in Windows and, alas, I'm still using that enough of the time to want a Windows client.
I also want something that doesn't need a third of the local disc to be free - the less free space is needed, the better. And, unlike rsync, it has to be smart enough not to delete the backups of files that I've just deleted.
no subject
Date: 2008-05-22 11:18 am (UTC)no subject
Date: 2008-05-22 11:43 am (UTC)no subject
Date: 2008-05-22 02:03 pm (UTC)no subject
Date: 2008-05-28 02:52 pm (UTC)(no subject)
From: