BackupPC-users

Re: [BackupPC-users] Configure TopDir per pc

2008-12-03 20:46:30
Subject: Re: [BackupPC-users] Configure TopDir per pc
From: Holger Parplies <wbppc AT parplies DOT de>
To: Mark Adams <mark9117 AT gmail DOT com>, "Jeffrey J. Kosowsky" <backuppc AT kosowsky DOT org>, "Nils Breunese (Lemonbit)" <nils AT lemonbit DOT com>, Les Mikesell <les AT futuresource DOT com>
Date: Thu, 4 Dec 2008 02:43:55 +0100
Hi,

Mark Adams wrote on 2008-12-03 16:39:35 -0700 [[BackupPC-users] Configure 
TopDir per pc]:
> I need to backup each client machine to a different hard drive on the 
> server.

as everyone is saying: you can't and you don't want to.

> I have one client configured and it tries to backup my 16 GB of
> data, but fails because TopDir is configured for /var/lib/bacuppc in my
> /etc/backuppc/config.pl file and there simply isn't enough room for the
> data there.

The first thing to understand is that you can mount any file system on
/var/lib/backuppc - that does not have to be (and probably should not be) on
your /var or even / partition. See the wiki or ask for more details.
If you've got a single partition of sufficient size on one disk (for all your
backups), that's fine. Just use it (but be aware that you cannot grow it if
you end up needing more space for backups). If you don't, then you can create
a device of sufficient size with LVM (or RAID) and mount that on
/var/lib/backuppc.

Jeffrey J. Kosowsky wrote on 2008-12-03 18:48:42 -0500 [Re: [BackupPC-users] 
Configure TopDir per pc]:
> Alternatively, you might want to look into LVM which will allow you to
> have a single filesystem spread across multiple disks.

Nils Breunese (Lemonbit) wrote on 2008-12-04 00:56:39 +0100 [Re: 
[BackupPC-users] Configure TopDir per pc]:
> Another option: use LVM to make one volume spanning your drives.

Les Mikesell wrote on 2008-12-03 17:59:18 -0600 [Re: [BackupPC-users] Configure 
TopDir per pc]:
> The best approach is to mount a big drive (or raid or lvm set...) where it 
> expects the data to live.

The thing to be aware of when creating a file system spanning multiple disks
is that the risk of losing your file system due to the failure of a disk (any
disk!) significantly increases with growing number of disks. You can
counteract this by using a redundant RAID mode (5, 6, 10) below LVM or by
itself, but your situation sounds like you don't have much space to spare for
redundancy. My recommendation would be either:

- live with the risk and combine your disks (or individual partitions on them)
  into one LVM volume group, if you are doing backups of a home network where
  losing the backups is more a nuissance than a real problem or
- buy a new disk (or even two for a RAID level 1 array) for your backups, if
  you are serious about it. Disk space is cheap. Your data may not be.

In particular, be aware that keeping data and backups on the same (physical)
disk means that if the disk dies, both data and backups will be gone. In
general, you are doing backups to avoid just that.

Mark Adams wrote on 2008-12-03 16:59:59 -0700 [Re: [BackupPC-users] Configure 
TopDir per pc]:
> I'm starting to get the impression that I _can't_ set a per-pc TopDir.
> 
> Does anybody have any experience with anything like this?

Yes, I have experience with not setting a per-PC TopDir ;-). As explained, it
would defeat pooling across PCs, so BackupPC does not offer this option, even
if it might not make much difference in some scenarios. Setting up several
instances of BackupPC (which would make it possible) seems like more of a
hassle than it is worth. Again, if you are serious about it, you should be
getting independent disks, and if you are not, you don't want to set up and
administrate one instance of BackupPC per client PC :). But, as always, your
mileage may vary.

Regards,
Holger

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
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>