Re: [BackupPC-users] localhost Can't cd to /root: Permission denied
2016-07-19 10:23:34
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?
---
_______________________________
Bob Wooden of Donelson Trophy
615.885.2846
www.donelsontrophy.com
"Everyone deserves an award!!"
On 2016-07-19 07:22, Brad Alexander wrote:
I am running backuppc-3.3.1-2 on a Debian/sid box, I am ssh-ing into the box and have a limited set of sudo commands that backuppc can execute. This is as opposed to ssh-ing in as root.
I have the following in my /etc/sudoers.d/backuppc account:
Cmnd_Alias BACKUP=/bin/tar, /usr/bin/rsync, /usr/bin/mysqldump, /usr/local/sbin/dbdump backuppc ALL=NOPASSWD:BACKUP
Then I am able to run backups.
First step, can you ssh into the local host? Second step, can you simulate the backup command? In my case it is /usr/bin/ssh -q -x farragut sudo /usr/bin/rsync --server --sender --numeric-ids --perms --owner --group -D --links --hard-links --times --block-size=2048 --recursive --checksum-seed=32761 --ignore-times . /
------------------------------------------------------------------------------ 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
|
------------------------------------------------------------------------------
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/
|
|
|