Carl Wilhelm Soderstrom wrote: > Here's the localhost.pl file that I use. > > # > # Local server backup of /etc as user backuppc > # > $Conf{XferMethod} = 'tar'; > > $Conf{TarShareName} = ['/etc']; > > $Conf{TarClientCmd} = '/usr/bin/env LC_ALL=C /usr/bin/sudo $tarPath' > . ' -c -v -f - -C $shareName --totals'; > > # let it back itself up anytime it wants to. > $Conf{BlackoutPeriods} = []; > > > I also have this entry in /etc/sudoers: > backuppc ALL=NOPASSWD: /bin/tar > > the suggestion to make that > backuppc ALL=NOPASSWD: /bin/tar -c > > is a good one tho. > > Thanks. I have done everything and I get the folowing result: Contents of file /data/BackupPC/pc/slacker/XferLOG.bad.z, modified 2007-04-14 21:20:47 (Extracting only Errors)
Running: /usr/bin/env LC_ALL=C /usr/bin/sudo /usr/bin/tar -c -v -f - -C /etc --totals . full backup started for directory /etc Xfer PIDs are now 2025,2024 We trust you have received the usual lecture from the local System Administrator. It usually boils down to these three things: [ skipped 3 lines ] Password: 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) My localhost.pl file is as follows: $Conf{XferMethod} = 'tar'; $Conf{TarShareName} = [ '/etc' ]; $Conf{TarClientCmd} = '/usr/bin/env LC_ALL=C /usr/bin/sudo $tarPath' . ' -c -v -f - -C $shareName --totals'; $Conf{SmbShareName} = [ 'backupshare' ]; $Conf{SmbSharePasswd} = 'removed'; $Conf{SmbShareUserName} = 'removed'; ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ BackupPC-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/backuppc-users http://backuppc.sourceforge.net/