BackupPC-users

Re: [BackupPC-users] localhost Can't cd to /root: Permission denied

2016-07-19 11:52:30
Subject: Re: [BackupPC-users] localhost Can't cd to /root: Permission denied
From: Adam Goryachev <mailinglists AT websitemanagers.com DOT au>
To: backuppc-users AT lists.sourceforge DOT net
Date: Wed, 20 Jul 2016 01:52:01 +1000



On 20/07/2016 01:45, Brad Alexander wrote:
It is. farragut is my backuppc host.

Is there anything of interest in the logs, specifically the error log?

And do you have your sudoers set up properly?


On Tue, Jul 19, 2016 at 10:22 AM, Bob of Donelson Trophy <bob AT donelsontrophy DOT net> wrote:

Thanks for the response, Brad.

I need to clarify that I can backup other hosts just NOT the localhost and I am confused as to why I cannot.

I see, by your "backup command" that your using rsync. Is this the command to backup your localhost?

I just tried ssh-ing into the locahost (first time I can remember that experience) and it worked.

Re-ran my test command "sudo -u backuppc /usr/share/backuppc/bin/BackupPC_dump -v -f localhost" and got the same "Backup aborted (No files dumped for share /)" and "Can't cd to /root: Permission denied".

Scratching my head! What is it?


Not sure if scratching your head is helping.... otherwise you might consider sending the complete output from your debug commands to the list, then if nothing else, we can scratch our heads while looking at the same cryptic details.
You might also want to check /var/log to see what information is logged there
Generally, you can simply configure the localhost backup indentically to any other machine, the only difference is the name of the machine. Personally, I always use rsync over ssh.

Finally, a copy of the relevant configuration would also be useful...

Regards,
Adam
------------------------------------------------------------------------------
What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic
patterns at an interface-level. Reveals which users, apps, and protocols are 
consuming the most bandwidth. Provides multi-vendor support for NetFlow, 
J-Flow, sFlow and other flows. Make informed decisions using capacity planning
reports.http://sdm.link/zohodev2dev
_______________________________________________
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/