Hi Allen,
     Now I've got it so that backuppc can use the start-stop-daemon.  I did
it by changing every occurrence of "start-stop-daemon" in the
/etc/init.d/backuppc script to "/sbin/start-stop-daemon" (for some reason I
can't make persistent changes to backuppc's PATH.  I can't write any .bash*
files to the /home/backuppc directory!  Could this be part of the problem?)
     So now BackupPC starts properly when run by user backuppc.

BUT-----

I'm still getting the same errors!  "0 bytes," "Cannot open: Permission
denied," and only trying to back up the /etc folder!

Does anybody know what is wrong?

Thank you.



On Sat, Aug 21, 2010 at 8:54 AM, Allen <[email protected]> wrote:

> On 10-08-21 01:34 AM, Les Mikesell wrote:
> > Loren Serfass wrote:
> >
> >> By the way, I think that the external hard drive issue might be a
> >> distraction.  I get exactly the same errors when I don't connect the
> >> external hard drive and I instead try to backup to the /var/lib/backuppc
> >> directory on the internal disk.
> >>
> > Yes, I'd guess your use of sudo in the client commands is not resulting
> in
> > running as root.  I've always just used ssh like any other host to get
> local
> > files even though it is less efficient.
> >
> >
> I was just asking about the USB to verify that the format was suitable.
> Sounds to be ok.
>
> It looks as if your path in the startup script or the environment path
> does not have /sbin (or whereever start-stop-daemon is located) for user
> backuppc. Make sure it is installed and validate the startup script path
> or environment string for PATH when logged in as backuppc.
>
>     Allen...
>
> --
> /////////////////////////////////////////
> Break away from the Gates of Windows...
>        Support OpenSource communities.
> \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\
>
>
>
> ------------------------------------------------------------------------------
> This SF.net email is sponsored by
>
> Make an app they can't live without
> Enter the BlackBerry Developer Challenge
> http://p.sf.net/sfu/RIM-dev2dev
> _______________________________________________
> BackupPC-users mailing list
> [email protected]
> List:    https://lists.sourceforge.net/lists/listinfo/backuppc-users
> Wiki:    http://backuppc.wiki.sourceforge.net
> Project: http://backuppc.sourceforge.net/
>
------------------------------------------------------------------------------
This SF.net email is sponsored by 

Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-dev2dev 
_______________________________________________
BackupPC-users mailing list
[email protected]
List:    https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:    http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/

Reply via email to