Simpson, Kenneth wrote:
> On Mon, 2007-09-24 at 20:46 -0700, Simpson, Kenneth wrote:
>>> Hi - I'm trying to backup a single user directory on Linux (SLES 9)
>>> using version 2.1.3 of BackupUP and rsync - but it's backing up all
>>> all the directories on the source disk starting at the beginning of
>>> the alphabet.
>>>
>>> I just need to backup the directory /domus/support - and not any of
>>> the other directories.
>>>
>>> I have to do similar "cherry picking" on a couple of other machines.
>>>
>>> Here is my hosts file entry:
>>>
>>> host dhcp user moreUsers # <--- do not edit this line
>>> linws7 0 support # <--- example static IP host
>>> entry
>>>
>>> and here's the rsync share from config.pl:
>>>
>>> $Conf{RsyncShareName} = '/domus';
>>>
>>> Any help would be appreciated.
>>>
>>> -- Ken
>>>
>
>> try
>> $Conf{RsyncShareName} = '/domus/support';
>
> It's not clear how this helps solve my problem.
>
> As I indicated above, I need to backup other directories on
> other machines.
>
> If I make the change you suggested, i.e., edit config.pl to read
>
> $Conf{RsyncShareName}='/domus/support'
>
> then I'll be unable to backup my directory /domus/ken which is on
> another machine.
>
> In fact, I won't be able to backup any other directory regardless of
> which machine it was on.
>
Ken,
You can create host-specific config files, so you can make
$Conf{RsyncShareName} different for every machine you back up. A
host-specific config file is just like the standard config file, but it
only needs to include whatever lines are different from the standard
config file. So your machine1.pl file could be only one line long,
specifying the proper share to back up.
-Rob
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
BackupPC-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/