BackupPC-users

Re: [BackupPC-users] Change archive directory on a per-host basis?

2011-04-04 22:04:06
Subject: Re: [BackupPC-users] Change archive directory on a per-host basis?
From: "Jeffrey J. Kosowsky" <backuppc AT kosowsky DOT org>
To: "General list for user discussion, questions and support" <backuppc-users AT lists.sourceforge DOT net>
Date: Mon, 04 Apr 2011 22:01:40 -0400
Jake Wilson wrote at about 17:22:58 -0600 on Monday, April 4, 2011:
 > On our server, the default archive directory where backups are stored is
 > 
 > /var/lib/backuppc/
 > 
 > So for a server called webserver, the backup paths look like this:
 > 
 > /var/lib/backuppc/pc/sonny/6
 > 
 > Is it possible to change this path?  We have two separate large raid drives
 > in our backup server.  For simplicity sake, I'll call them /mount/storage1and
 > /mount/storage2.  We can't have one big raid drive because of our raid
 > controller size limitations unfortunately.  So I have two big ones to
 > dedicate to backups.
 > 
 > Anyways, back to the question.  I can easily remount my raid drives or
 > symlink my raid drives to somewhere in the /var/lib/backuppc directory if I
 > need to, but how do I change the archive path for each client and tell it
 > specifically what path to save to?
 > 
 > Under the backuppc config, I see *$Conf{TopDir}* but that doesn't seem to
 > indicate that is where the archives are stored necessarily.  And it doesn't
 > seem to be adjustable on a per-host basis.
 > 
 > I would imagine that I'm simply just missing something here in the config.
 >  Surely BackupPC is able to control where an archive is stored and I'm just
 > not seeing it.
 > 
 > Jake Wilson

It is pretty explicitly documented that both the pool/cpool and the pc
backup heirarchy must be on the same filesystem (no symbolic links)
and both are fixed to lie in $TopDir. You can symlink to $TopDir
itself or change it at install time (at least in 3.1.0). Again,
backups cannot be split across filesystems since BackupPC is built
around hard links which in *nix are limited to a single file system.

If you need to split backups across multiple filesystems, then you
will need to run multiple instances of BackupPC, including multiple
(and potentially redundant pools).

------------------------------------------------------------------------------
Xperia(TM) PLAY
It's a major breakthrough. An authentic gaming
smartphone on the nation's most reliable network.
And it wants your games.
http://p.sf.net/sfu/verizon-sfdev
_______________________________________________
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/