On 07/16 12:13 , Christian Lahti wrote:
> I think what I want to do is to create the following ¡°jobs¡± for our home
> directory server (tuvalu:/export/home):
>
>
>
> Job
>
> tuvalu-a /export/home/a*
>
> tuvalu-b /export/home/b*
>
> tuvalu-c /export/home/c*
>
> tuvalu-d /export/home/d*
>
> tuvalu-e /export/home/e*
>
> tuvalu-f /export/home/f*
>
> tuvalu-g /export/home/g*
>
> and so on¡¦
>
>
>
> I cannot figure out how to do this, since it seems you can only define one
> backup job for each host defined in /etc/BackupPC/hosts.
I've done this a couple of different ways.
Ideally, you put a directive like this in your tuvalu.pl config file:
$Conf{RsyncShareName} = ['tuvalu-a', 'tuvalu-b', 'tuvalu-c', 'tuvalu-d',
'tuvalu-e', 'tuvalu-f', 'tuvalu-g'];
And that runs backups on each of those shares. They'll all appear under the
'tuvalu' tree in the backuppc pool.
If you find it necessary to build wholly separate configs for each share;
you put entries in /etc/backuppc/hosts like this:
tuvalu-a 0 backuppc
tuvalu-b 0 backuppc
tuvalu-c 0 backuppc
..
and then create tuvalu-a.pl, tuvalu-b.pl, tuvalu-c.pl...
within each of them, have a config something like this (abbreviated, obviously).
$Conf{ClientNameAlias} = 'tuvalu';
$Conf{NmbLookupCmd} = '/bin/true';
$Conf{XferMethod} = 'rsync';
$Conf{RsyncShareName} = 'tuvalu-a';
Does this help clarify things?
--
Carl Soderstrom
Systems Administrator
Real-Time Enterprises
www.real-time.com
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
BackupPC-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/