Yes it does thanks.  This is what I already started to define, just wanted to 
clarify things.  The server tuvalu has only one export called /export, so it 
looks like I will need to define separate "hosts", each with a configuration 
similar to:

$Conf{BackupFilesOnly} = {
  '*' => [
    '/export/home/a*',
  ]
};

And in /etc/BackupPC/hosts define

tuvalu-a        0       backuppc
tuvalu-b        0       backuppc
tuvalu-c        0       backuppc
...

And in /etc/hosts define so those hostnames are pingable.

192.168.xxx.xxx tuvalu-a
192.168.xxx.xxx tuvalu-b
192.168.xxx.xxx tuvalu-c
...


Alternatively you are saying I can combine all of these into a single server, 
the config tuvalu.pl as:

$Conf{BackupFilesOnly} = {
  'tuvalu-a' => ['/export/home/a*'],
  'tuvalu-b' => ['/export/home/b*'],
  'tuvalu-c' => ['/export/home/c*'],
};

This is what I am somewhat confused about, I basically want to separate each 
letter of the alphabet on tuvalu:/export/home into a different backup set, 
ideally on the same server definition but I can roll with the separate "hosts" 
if I have to.

/Christian

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Carl Wilhelm 
Soderstrom
Sent: Monday, July 16, 2007 1:11 PM
To: [email protected]
Subject: Re: [BackupPC-users] Backup takes a lof of time

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/

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

Reply via email to