BackupPC-users

Re: [BackupPC-users] Block-level rsync-like hashing dd?

2011-04-12 15:51:33
Subject: Re: [BackupPC-users] Block-level rsync-like hashing dd?
From: Timothy J Massey <tmassey AT obscorp DOT com>
To: backuppc-users AT lists.sourceforge DOT net
Date: Tue, 12 Apr 2011 15:48:11 -0400
Saturn2888 <backuppc-forum AT backupcentral DOT com> wrote on 04/12/2011 12:11:49 AM:

> Les, that's a pretty good idea, running two, but I cannot do that
> with these systems sadly. It'd be really nice to not have to take
> the machine down to do the backup though. So I guess that's my
> question, I'm looking for a way to backup the pool over Ethernet
> while it's running.


If the pool is changing (as in, the filesystem is mounted and BackupPC is running), then you *must* have some sort of snapshot capability, and in any case, you're going to have to bounce BackupPC at least *briefly*.

Therefore, you have two options:  1) LVM Snapshot/dd or 2) Break a RAID mirror while unmounted.

> While it's possible to dd an lvm snapshot, that's 1TB/day which is
> quite a huge amount of time and bandwidth consumed. Is there no
> other solution like ddsnap?


Once you've got the LVM snapshot, you can do whatever the heck you want to with it:  any magic tool you wish for handling the dd.

> I mean, since my BackupPC pool is on an
> lvm, doing a dd itself isn't the problem. It's that it's 1TB/day or
> more depending on my file system size. It'd be really nice to have a
> solution to sync only the changes of that day which then, I can
> snapshot on the other machine. In my case, that other machine is the
> iSCSI target. I think DRBD is my best bet now, but it's more than a
> handle to figure out; that's for sure.

With DRDB, you won't have to dd *ever*.  BUT, it won't help you in the case where something becomes corrupted (say, BackupPC gets confused and deletes things):  DRDB will *happily* corrupt both copies.  It's like RAID:  RAID is not subsititue for backup.

There's no substitute for unconnected copies.  DRDB probably won't give you thtat.

Timothy J. Massey
 
Out of the Box Solutions, Inc.
Creative IT Solutions Made Simple!

http://www.OutOfTheBoxSolutions.com
tmassey AT obscorp DOT com
      22108 Harper Ave.
St. Clair Shores, MI 48080
Office: (800)750-4OBS (4627)
Cell: (586)945-8796

------------------------------------------------------------------------------
Forrester Wave Report - Recovery time is now measured in hours and minutes
not days. Key insights are discussed in the 2010 Forrester Wave Report as
part of an in-depth evaluation of disaster recovery service providers.
Forrester found the best-in-class provider in terms of services and vision.
Read this report now!  http://p.sf.net/sfu/ibm-webcastpromo
_______________________________________________
BackupPC-users mailing list
BackupPC-users AT lists.sourceforge DOT net
List:    https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:    http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/