Re: [BackupPC-users] Fatal error during xfer
2008-07-29 00:24:01
---- Adam Goryachev <adam AT websitemanagers.com DOT au> wrote:
> Set the full path to sudo eg /bin/sudo
>
> Maybe that will help.
>
> Regards,
> Adam
Thanls for the suggestion but I still get the same error.
Stev e.
> Steve Blackwell wrote:
> > I just installed BackupPC and I started by attempting to backup
> > just my local machine which is also the BackupPC server.
> >
> > Since this is a local machine I don't need ssh so I set my
> > TarClientCmd to "$tarPath -c -v -f - -C $shareName+ --totals". This
> > worked OK but some directories were not backed up because the user,
> > backuppc, doesn't have root privileges. Next I set up sudo to allow
> > backuppc to run tar as root. I su'd to backuppc to test and it
> > worked fine. My new TarClientCmd is "sudo $tarPath -c -v -f - -C
> > $shareName+ --totals".
> >
> > The problem is that when backuppc runs a backup at the schedules
> > time, I get this error:
> >
> > Exec failed for sudo /bin/tar -c -v -f - -C / --totals
> > --newer=2008-07-27\ 17:56:09 .
> > tarExtract: Done: 0 errors, 0 filesExist, 0 sizeExist, 0
> > sizeExistComp, 0 filesTotal, 0 sizeTotal
> > Got fatal error during xfer (Exec failed for sudo /bin/tar -c -v -f
> > - -C / --totals --newer=2008-07-27\ 17:56:09 .)
> > Backup aborted (Exec failed for id; sudo /bin/tar -c -v -f
> > - -C / --totals --newer=2008-07-27\ 17:56:09 .)
> >
> > Any suggestions.
-------------------------------------------------------------------------
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 AT lists.sourceforge DOT net
List: https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki: http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/
|
|
|