Live data from Hacker News

Jwz's guide to backups: "Shut up. I know things. You will listen to me. Do it anyway."

jwz.org

1–10 of 26 posts

Re: Jwz's guide to backups: "Shut up. I know things. You will listen to me. Do it anyway."

#4
post #2

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

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 listen to me. Do it anyway."

#5
post #3

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?

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 listen to me. Do it anyway."

#7
post #4
post #2

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

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

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 listen to me. Do it anyway."

#9
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.

Post reply on HN