Le mardi 20 octobre 2009 à 19:23 -0400, giorgio p a écrit :
> I'm trying to get backuppc configured.
> I thought I had done the required setup... 
> 
> In the /etc/backuppc/config.pl file I have:
> $Conf{XferMethod} = 'rsync';
> $Conf{RsyncShareName} = ['/home/storage','/home/george'];
> 
> In the /etc/backuppc/hosts file I have:
> localhost   0       backuppc
> 
> However when the backup runs it appears to just backup the /etc directory 
> which isn't even specified.
> 
> I am a bit bemused. Have I missed something fundamental?
> 
> It is running on a "bubba miniserver" with Debian if that makes any 
> difference.

Looks like a permission problem. backuppc user cannot access other
users' home directory. You should use sudo:

give backuppc the permission to run rsync as root without password, then
change this config:

$Conf{RsyncClientCmd} = '/usr/bin/sudo $rsyncPath $argList';
$Conf{RsyncClientRestoreCmd} = '/usr/bin/sudo $rsyncPath $argList';


Regards, Daniel

> 
> Thanks
> George
> 
> +----------------------------------------------------------------------
> |This was sent by george.pever...@gmail.com via Backup Central.
> |Forward SPAM to ab...@backupcentral.com.
> +----------------------------------------------------------------------
> 
> 
> 
> ------------------------------------------------------------------------------
> Come build with us! The BlackBerry(R) Developer Conference in SF, CA
> is the only developer event you need to attend this year. Jumpstart your
> developing skills, take BlackBerry mobile applications to market and stay 
> ahead of the curve. Join us from November 9 - 12, 2009. Register now!
> http://p.sf.net/sfu/devconference
> _______________________________________________
> 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/
-- 
Daniel Berteaud
FIREWALL-SERVICES SARL.
Société de Services en Logiciels Libres
Technopôle Montesquieu
33650 MARTILLAC
Tel : 05 56 64 15 32
Fax : 05 56 64 15 32
Mail: dan...@firewall-services.com
Web : http://www.firewall-services.com


------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
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