Re: [SLUG] OOM?

From: steve szmidt (steve@szmidt.org)
Date: Sun Nov 18 2007 - 23:40:19 EST


On Sunday 18 November 2007, Eben King wrote:

> >> I looked at rsync, but couldn't figure out a way to make it copy an
> >> updated boot block or deal with repartitioning, without manual
> >> intervention. Time taken really isn't an issue, since the backup
> >> happens a 4am (takes 1h15m or so).
> >
> > No, it won't handle boot blocks or repartitioning. It's strictly a
> > file-by-file copy program. If the filesystem doesn't see it as a *file*,
> > it won't copy with rsync.
>
> Yeah, whole-disk is what I want. I'd do some form of RAID, but this way is
> quieter, uses less power, makes less heat, and uses one drive less than the
> other (it's spun down 23 hours a day). So when the main drive dies, I have
> a backup that's less than a day old. It'd be nice if I could use rsync;
> the whole thing would take a couple minutes.

I've not read the whole thread, but I see no reason you cannot use rsync.
If you need copies of things like the boot sector then just dd it to a file
and rsync it with everything else.

My backup server has the keys from each computer so it will allow scp to pipe
rsync to it without a login. Then just set cron to run dd and then rsync.

I had all but forgotten about rsync. Then one day I stumbled on it when
reviewing my backup policy. It totally rocks with secure shell. But then I
think you have already discovered that.

-- 

Steve Szmidt

"They that would give up essential liberty for temporary safety deserve neither liberty nor safety." Benjamin Franklin ----------------------------------------------------------------------- This list is provided as an unmoderated internet service by Networked Knowledge Systems (NKS). Views and opinions expressed in messages posted are those of the author and do not necessarily reflect the official policy or position of NKS or any of its employees.



This archive was generated by hypermail 2.1.3 : Fri Aug 01 2014 - 19:57:18 EDT