BackupPC-users

Re: [BackupPC-users] Configure TopDir per pc

2008-12-03 18:57:59
Subject: Re: [BackupPC-users] Configure TopDir per pc
From: "Nils Breunese (Lemonbit)" <nils AT lemonbit DOT com>
To: madams9 AT msn DOT com, "General list for user discussion, questions and support" <backuppc-users AT lists.sourceforge DOT net>
Date: Thu, 4 Dec 2008 00:56:39 +0100
Mark Adams wrote:

> I have several machines I would like to backup with BackupPC, but the
> server is a humble box with several installed hard discs -- nothing  
> fancy.
>
> I need to backup each client machine to a different hard drive on the
> server.  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.  My reading of the docs says that I should be able to
> configure TopDir in the client.pl file under
> /var/lib/backuppc/pc/<client>/<client>.pl.  I have done this:
>
> # cat /var/lib/backuppc/pc/<client>/<client>.pl
> $Conf{TopDir} = '/mnt/attic/spike_images';
> $Conf{XferMethod} = 'rsync';
> $Conf{BackupFilesExclude} = ['/floppy'];
> $Conf{BackupFilesOnly} = ['/mnt/spike/images', '/mnt/spike/photos'];
> $Conf{ClientNameAlias} = '192.168.xxx.xxx';
>
> But it doesn't seem to make any difference. How can I set a TopDir  
> per pc?

You can't. BackupPC stores the files for the backed up hosts in a pool  
that needs to be on one filesystem, because of the use of hardlinks.  
The only way to use multiple pools (and have multiple TopDirs) is to  
run multiple installations of BackupPC.

Another option: use LVM to make one volume spanning your drives.

Nils Breunese.

-------------------------------------------------------------------------
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>