BackupPC-users

Re: [BackupPC-users] set-up question: how do I avoid "Cannot open: Permission denied" and "0 bytes"? Please help!

2010-08-22 00:57:44
Subject: Re: [BackupPC-users] set-up question: how do I avoid "Cannot open: Permission denied" and "0 bytes"? Please help!
From: Loren Serfass <lorenserfass331 AT gmail DOT com>
To: "General list for user discussion, questions and support" <backuppc-users AT lists.sourceforge DOT net>
Date: Sun, 22 Aug 2010 00:54:55 -0400
I got it working!  I now have successful full and incremental backups, using tar as XferMethod (I plan to switch to rsync).
     The solution, suitably obvious in retrospect: I realized that there was a file called "localhost.pl" which was overriding my settings in config.pl.  The documentation said that configuration files in the folder __CONFDIR__/pc override __CONFDIR__/config.pl, so I thought it was sufficient to make sure that __CONFDIR__/pc/config.pl was all right.  I neglected the $host.pl file.
     I was clued in to this indirectly by a user forum.  The purpose of this file is explained in the documentation, of course, but I didn't notice.

Thanks,
Loren



On Sat, Aug 21, 2010 at 3:17 PM, Loren Serfass <lorenserfass331 AT gmail DOT com> wrote:
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 <allen.stowe AT rogers DOT com> 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
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/


------------------------------------------------------------------------------
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
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/