You are right holger,

backuppc is reading the config.pl file and not the individual file I created
for that device when using rsync. I will go through the config.pl file once
more.

Thanks for your help.

Lex

On Wed, Sep 3, 2008 at 12:11 AM, Holger Parplies <[EMAIL PROTECTED]> wrote:

> Hi,
>
> Alex Dehaini wrote on 2008-09-02 15:58:29 +0000 [[BackupPC-users] backup
> specific directory on linux]:
> > hi Guys,
> >
> > I am trying to backup /backups directory using rsync but when I start the
> > backup, backuppc is backing up the entire / directory of the remote
> maine.
> > this is my config
> >
> > $Conf{XferMethod} = 'rsync';
> > $Conf{RsyncClientPath} = '/usr/bin/rsync';
> > $Conf{RsyncClientCmd} = '$sshPath -q -x -l root $hostIP $rsyncPath
> > $argList+';
> > $Conf{RsyncClientRestoreCmd} = '$sshPath -q -x -l root $hostIP $rsyncPath
> > $argList+';
> > $Conf{RsyncShareName} = '/backups';
> >
> > Am I doing something wrong?
>
> yes, otherwise it would work.
> The default value for $Conf{RsyncShareName} is '/', so I'd guess "your
> config"
> is not being used. I notice you're using $hostIP and not $host. You've
> presumably got a reason for that, and that reason is probably related to
> your
> problem. As far as "your config" is concerned, it looks reasonable to me. I
> would expect it to work.
>
> You should also check the XferLOG for the command actually executed (and,
> of
> course, tell us more about your configuration).
>
> Regards,
> Holger
>



-- 
Alex Dehaini
Developer
Site - www.alexdehaini.com
Email - [EMAIL PROTECTED]
-------------------------------------------------------------------------
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@lists.sourceforge.net
List:    https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:    http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/

Reply via email to