Ulf Volmer wrote: Thanks for your response, which clarifies matters for me.>> I have a couple of questions that this raises.>> 1. Why exactly does backuppc want to ssh to root?> To enable access to all of the files on the client.>> Is this just a way of running BackupPC as root?> Why do you want this? It's not required to run backuppc as user root.I don't want (or not want) to do this. I was asking the reason for ssh-ing from backuppc to root. I don't recall any other application taking this route ?>> 2. The graphical interface seems to be treated as an extra, >> but what other way is there of accessing BackupPC? >> Is there a CLI approach?> There are some CLI applications available, BackupPC_tarCreate for > example to restore file from the command line.I take it then that there is no CLI method of setting up and running BackupPC ? Incidentally, I don't recall ever changing the user and group under which BackupPC is to run when setting up BackupPC under CentOS-6. Maybe this was done automatically during the CentOS installation of this program? (I certainly never used suexec explicitly.) -- Timothy Murphy gayleard /at/ eircom.net School of Mathematics, Trinity College, Dublin
On 9/13/2015 7:58 AM, Timothy Murphy wrote:>>> 1. Why exactly does backuppc want to ssh to root? >> >To enable access to all of the files on the client. >>> >>Is this just a way of running BackupPC as root? >> >Why do you want this? It's not required to run backuppc as user root. > I don't want (or not want) to do this. > I was asking the reason for ssh-ing from backuppc to root. > I don't recall any other application taking this route ? >its using ssh to run rsync on the backup target... it uses root so that rsync can access all files. -- john r pierce, recycling bits in santa cruz
On 9/13/2015 10:58 AM, Timothy Murphy wrote:> > I take it then that there is no CLI method > of setting up and running BackupPC ?Sure there is. All of the configuration is stored in text config files. There is a main config file for global options and each host has a config file in it's own directory. Running BackupPC is simply a matter of starting the process. There are various scripts available for manually starting backups and getting stats. That said, the GUI is by far the easiest way to add new clients and look for failing backups or other issues. -- Bowie
Bowie Bailey wrote:> On 9/13/2015 10:58 AM, Timothy Murphy wrote: >> >> I take it then that there is no CLI method >> of setting up and running BackupPC ? > > Sure there is. All of the configuration is stored in text config > files. There is a main config file for global options and each host has > a config file in it's own directory.Yes, it was pointed out to me that there are instructions in <http://backuppc.sourceforge.net/faq/BackupPC.html> in Step-7:-Talking-to-BackupPC. I note that these instructions end by advising the user not to follow them, but to set up the GUI method. Incidentally, I've been running BackupPC on my CentOS-7 server for about a week now, and I notice that no config file is created in /var/lib/BackupPC/pc/helen, where helen is the host-name. It seems the GUI method stores the config file somewhere else. -- Timothy Murphy gayleard /at/ eircom.net School of Mathematics, Trinity College, Dublin