BackupPC-users

[BackupPC-users] [pieter.wuille AT gmail DOT com: Re: backup the backuppc pool with bacula]

2009-05-30 16:24:21
Subject: [BackupPC-users] [pieter.wuille AT gmail DOT com: Re: backup the backuppc pool with bacula]
From: Pieter Wuille <sipa AT users.sourceforge DOT net>
To: "General list for user discussion, questions and support" <backuppc-users AT lists.sourceforge DOT net>
Date: Sat, 30 May 2009 22:20:33 +0200
On Tue, May 19, 2009 at 05:51:29PM +0200, Boniforti Flavio wrote:
> 
> > Hi,
> > 
> > there is a regular discussion on how to backup/move/copy the 
> > backuppc pool. Did anyone try to backup the pool with bacula?
> 
> Hello there...
> 
> I don't know about bacula, but would like myself also to get a backup of
> the BackupPC server: anybody got some suggestions and practical
> examples?


This is how we handle backups of the backuppc pool:
* the pool itself is on a LUKS-encrypted XFS filesystem, on a LVM volume, on a
  software RAID1 of 2 1TB disks.
* twice a week following procedure in run:
  * Freeze the XFS filesystem, sync, lvm-snapshot the encrypted volume
  * Unfreeze 
  * send the snapshot over ssh to an offsite server (which thus only ever sees
    the encrypted data)
  * remove the snapshot
* The offsite server has 2 smaller disks (not in RAID), and snapshots are sent
  in turn to one and to the other. This means we still have a complete pool if
  something would goes wrong during the transfer (which takes +- a day)
* The consistency of the offsite backups can be verified by exporting them
  over NBD (network block device), and mounting them on the
  normal backup server (which has the encryption keys)
    
We use a blockdevice-based solution instead of a filesystem-based one, because
the many small files (16 million inodes and growing) makes those very disk-
and cpu intensive. (simply doing a "find | wc -l" in the root takes hours).
Furthermore it makes encryption easier.
We are also working on a rsync-like system for block devices (yet that make
still take some time...), which would bring the time for synchronising the
backup server with the offsite one down to 1-2 hours.

Greetz,

-- 
Pieter

------------------------------------------------------------------------------
Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT 
is a gathering of tech-side developers & brand creativity professionals. Meet
the minds behind Google Creative Lab, Visual Complexity, Processing, & 
iPhoneDevCamp as they present alongside digital heavyweights like Barbarian 
Group, R/GA, & Big Spaceship. http://p.sf.net/sfu/creativitycat-com 
_______________________________________________
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/

<Prev in Thread] Current Thread [Next in Thread>