Hello fellow backuppc users,

I'm attempting to backup a directory on a linux box with using the 
following host config file:

----------------------------------

$Conf{XferMethod} = 'tar';

$Conf{TarClientPath} = '/bin/tar';

$Conf{TarShareName} = '/etc';

$Conf{TarClientCmd} = '$sshPath -q -x -n -l root $host'
                    . ' env LC_ALL=C $tarPath -c -v -f - -C $shareName+'
                    . ' --totals';

$Conf{TarFullArgs} = '$fileList+';

$Conf{TarIncrArgs} = '--newer=$incrDate+ $fileList+';

$Conf{TarClientRestoreCmd} = '$sshPath -q -x -l root $host'
                   . ' env LC_ALL=C $tarPath -x -p --numeric-owner 
--same-owner'
                   . ' -v -f - -C $shareName+';

----------------------------------

The command it eventually uses is reported as :

/usr/bin/ssh -q -x -n -l root wind env LC_ALL=C /bin/tar -c -v -f - -C /etc 
--totals .


Which works from the cli when logged in as root (after copying ssh keys 
to client in question) but not from within backuppc; error:

Running: /usr/bin/ssh -q -x -n -l root wind env LC_ALL=C /bin/tar -c -v -f - -C 
/etc --totals .
full backup started for directory /etc
Xfer PIDs are now 24504,24503
Tar exited with error 65280 () status
tarExtract: Done: 0 errors, 0 filesExist, 0 sizeExist, 0 sizeExistComp, 0 
filesTotal, 0 sizeTotal
Got fatal error during xfer (No files dumped for share /etc)
Backup aborted (No files dumped for share /etc)


backuppc is running as user "apache" and has the following line in 
/etc/passwd:

apache:x:48:48:Apache:/var/www:/sbin/nologin

Any ideas on how to get this to work. For security reasons i'd prefer to 
keep apache running without shell access.

Thnx in advance,

-- 

Garith Dugmore
Systems Administrator
South African Astronomical Observatory

Phone:          021 460 9343
Website:        http://www.saao.ac.za


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/

Reply via email to