Hi,

I've found backing up any linux server's data works using tar and ssh 
but when trying to back up a freebsd server it gives the following error:

2006-12-19 11:30:03 full backup started for directory /etc
2006-12-19 11:30:04 Got fatal error during xfer (No files dumped for share /etc)
2006-12-19 11:30:09 Backup aborted (No files dumped for share /etc)
2006-12-19 11:30:09 Saved partial dump 0

The command its executing:

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

ssh to the machine works with keys as root from the backuppc server and 
sudo is working properly.

I've tried removing the "env LC_ALL=C" and also changing it to 
"LC_ALL=C" and "LANG=C" and "env LANG=C" and no luck.

I'm not sure how helpful this would be but running a locale on the 
relevant machine to be backed up gives:

LANG=
LC_CTYPE="C"
LC_COLLATE="C"
LC_TIME="C"
LC_NUMERIC="C"
LC_MONETARY="C"
LC_MESSAGES="C"
LC_ALL=

I've also changed the apache to have a shell account for testing and 
managed to run the above tarclientcmd with all relevant variables 
successfully. Also after the command completes a echo $? reports error 
code "0".

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