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.
On Sat, Aug 21, 2010 at 3:17 PM, Loren Serfass <lorenserfass331@...:
> 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.
> 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@...> 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
>> >> directory on the internal disk.
>> > Yes, I'd guess your use of sudo in the client commands is not resulting
>> > running as root. I've always just used ssh like any other host to get
>> > 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.
>> 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
>> BackupPC-users mailing list
>> List: https://lists.sourceforge.net/lists/listinfo/backuppc-users
>> Wiki: http://backuppc.wiki.sourceforge.net
>> Project: http://backuppc.sourceforge.net/