News for hackers. Stuff that matters.
Re:Jwz's guide to backups: "Shut up. I know things. You will... by petercooper on Saturday May 10, 2008 @08:18AM (#186286)

  If you're using Windows, go fuck yourself. 
This is what happens when someone who knows what they're doing, rather than a journalist, writes an article ;-)
Re:Jwz's guide to backups: "Shut up. I know things. You will... by dejb on Sunday May 11, 2008 @08:58AM (#186851)
I'm liking this community less and less each day. When this sort of comment on this sort of article is the top comment something is wrong. For some reason I don't seem to be able to vote that comment down either.
Re:Jwz's guide to backups: "Shut up. I know things. You will... by petercooper on Sunday May 11, 2008 @12:18PM (#186913)
My comment was just that; a comment. What would be worth voting down would be the original /article/ for making such a statement, rather than an observation that the statement was made.

I must agree with you, however, that I cannot figure out why my flippant observation got voted up, but this is not the fault of the comment.

Re:Jwz's guide to backups: "Shut up. I know things. You will... by dejb on Sunday May 11, 2008 @07:37PM (#187116)
Fair enough. I've seen a lot of quite innocent but flippant comments absolutely hammered before so it stands out that this was the top one. I thought your statement tended to agree with the original one but maybe that isn't the case. What ever the case I'm seeing an increasing amount of groupthink creaping into hacker news and it isn't pleasant.
Re:Jwz's guide to backups: "Shut up. I know things. You will... by petercooper on Sunday May 11, 2008 @09:47PM (#187190)
I wasn't very clear, but my comment was more trying to highlight that political correctness is the enemy of potent, memorable communication. The article was not suggesting or presenting anything particularly interesting, but seemed to have been modded up because of its potency. Perhaps this is also what happened to my comment!

On your topic, however, I agree that it would be sad to see a Slashdot-esque consistency to opinion on here, but I consider it an inevitability. When it takes over, yet another site will become our refuge :)

Re:Jwz's guide to backups: "Shut up. I know things. You will... by dmoney on Sunday May 11, 2008 @02:06PM (#186952)
The down arrow disappears after a period of time. Probably a day or so.
Re:Jwz's guide to backups: "Shut up. I know things. You will... by petercooper on Sunday May 11, 2008 @02:25PM (#186959)
It's definitely less than 5 hours. The parent poster's post is 5 hours old and it's disappeared for me, but is still visible on yours.
Re:Jwz's guide to backups: "Shut up. I know things. You will... by dmoney on Sunday May 11, 2008 @03:58PM (#186998)
This one is currently 5 hours old and has the down arrow: http://news.ycombinator.com/item?id=186872

It must be 5 hours and some change.

Re:Jwz's guide to backups: "Shut up. I know things. You will... by dejb on Sunday May 11, 2008 @07:39PM (#187118)
Interesting. I wonder if it the same for all users or if it depends on the number of votes a comment has received.
Re:Jwz's guide to backups: "Shut up. I know things. You will... by etal on Friday May 09, 2008 @03:23PM (#185783)
He does know things. For Windows users, Cygwin is a decent alternative to fucking yourself, in case that's the situation on your work computer (nevermind bootability):

   rsync -rlpv $HOME /cygdrive/e
Re:Jwz's guide to backups: "Shut up. I know things. You will... by ivank on Friday May 09, 2008 @07:17PM (#186020)
I use Robocopy, included in Vista/Server 2008. Cygwin needs extra care with symbolic links (at least when I used it): http://www.cygwin.com/faq/faq-nochunks.html#faq.api.symlinks
Re:Jwz's guide to backups: "Shut up. I know things. You will... by bigtoga on Saturday May 10, 2008 @06:49AM (#186268)
I second the usefulness of Robocopy. I've been using it for years (debuted in some resource kit (Win2k?) and then someone wrote a GUI for it for you sissies: http://technet.microsoft.com/en-us/magazine/cc160891.aspx

Create a .bat file that calls other more granular bat files (so that you can backup certain things more frequently) and then schedule a task to run nightly.

Re:Jwz's guide to backups: "Shut up. I know things. You will... by lampy on Friday May 09, 2008 @08:53PM (#186074)
http://www.rsnapshot.org works so much better.
Re:Jwz's guide to backups: "Shut up. I know things. You will... by meredydd on Saturday May 10, 2008 @07:06AM (#186276)
And for those of us for whom "D'oh, I deleted that!", or "Nooooo....I overwrote that file yesterday!" is more of a danger than "My house just burned down", I strongly recommend rdiff-backup:

http://www.nongnu.org/rdiff-backup/

It's short, sweet, incremental - and, because it uses diffs, not just hardlinks and new files, it doesn't use an extra 500MB each time you add 2k to the end of a 500MB dataset.

Re:Jwz's guide to backups: "Shut up. I know things. You will... by DougBTX on Saturday May 10, 2008 @12:34PM (#186358)
This question doesn't seem to be addressed on the rdiff-backup site, and is the main advantage of the posted solution: How much time do you waste getting a system with a dead main disk back online?

Regardless of your backup strategy, you're going to have to replace the physical disk. If the disk you are backing up to is compatible with the broken disk, you 1) already have a disk to put in your computer, and 2) you can already boot off it. So the time wasted is the absolute minimum.

Even for people using rdiff, it's probably best to have a ready-to-go backup as described in the article. His recommendation of having a bootable backup is still valid, and is not limited to the "My house just burned down" case. That's what the third disk is for :-)

Re:Jwz's guide to backups: "Shut up. I know things. You will... by sah on Sunday May 11, 2008 @01:06AM (#186723)
I've had good results backing up to S3 with Brackup: http://search.cpan.org/~bradfitz/Brackup/

It optionally encrypts data, though. I don't do that, because encrypting backups seems like playing with fire to me. What if you lose the private key? Now you have two problems.

Re:Jwz's guide to backups: "Shut up. I know things. You will... by jrockway on Sunday May 11, 2008 @08:19AM (#186837)
You should use a passphrase, not a private key. Just use a passphrase that you're not going to forget, or write it down and put it in a safe deposit box. (The only people you are trying to protect your data from are people that work for Amazon. They don't have access to your house, so writing down the password isn't a security problem.)
Re:Jwz's guide to backups: "Shut up. I know things. You will... by jws on Saturday May 10, 2008 @01:10PM (#186386)
If you want to have more than one version of your backup, rsync gained support for that somewhere in the past few years.

You want to look at the "--link-dest" option. Essentially you can keep parallel trees of backups but they use hardlinks to share unchanged files. In practice, backing up web/mail/misc servers I find each extra copy I keep takes about 5% of the first copy's space. rdiff-backup is more space efficient, but 5% isn't much and this is simpler.

If you name the backup trees after the day of the week you don't even have to worry about rotating names and purging old trees, they just overwrite.

(note: you lose the ability to just flop the drive back into the original machine. But I wouldn't do that anyway. I'd use the opportunity for a clean install.)

Re:Jwz's guide to backups: "Shut up. I know things. You will... by dpapathanasiou on Saturday May 10, 2008 @09:34AM (#186301)
Does anyone have experience with Drobo (http://drobo.com/)?

I've been thinking of getting one, but the price tag has me hesitating.

Re:Jwz's guide to backups: "Shut up. I know things. You will... by fraXis on Saturday May 10, 2008 @10:37PM (#186655)
Drobo is great. I have one sitting next to me with 4 x 1TB drives in it and it works exactly as advertised.
Re:Jwz's guide to backups: "Shut up. I know things. You will... by JesseAldridge on Sunday May 11, 2008 @12:13AM (#186695)
I've been using SpiderOak (http://spideroak.com) to backup my code daily. Upload to their server. Nice simple gui interface. And it's free for < 2GB. And it works for Linux (unlike DropBox ;)
Re:Jwz's guide to backups: "Shut up. I know things. You will... by altano on Sunday May 11, 2008 @11:06PM (#187232)
Please tone down the excessive condescension in article headlines. It's not that the headlines are annoying (they are), but rather that it's weird that this would be a way of getting people to click on a link?
Re:Jwz's guide to backups: "Shut up. I know things. You will... by Tichy on Friday May 09, 2008 @07:06PM (#186009)
So that rsync command wouldn't delete stuff if stuff got deleted on my hard disc? Disk failures are not the only way to lose data. I'm guessing the archive flag of rsync takes care of that?
Re:Jwz's guide to backups: "Shut up. I know things. You will... by ivank on Friday May 09, 2008 @07:24PM (#186028)
rsync needs --delete or another --delete-* option to delete, I don't think any other flag can trigger deletion (other than the --del alias).
Re:Jwz's guide to backups: "Shut up. I know things. You will... by Create on Saturday May 10, 2008 @07:02AM (#186275)
flyback http://code.google.com/p/flyback/ would do the job, if only somebody would attach inotify (even with the Python glue?)...