From: Bryan K. (.net) <bk...@ke...> - 2012-07-02 12:10:41
|
I have developed a "self provisioning" ability whereby users go to a secure page on BackupPC, enter their credentials, and their workstation they logged in from automatically gets added to /etc/BackupPC/hosts. However, though it's seen and selectable via the BackupPC web page, trying to initiate an immediate full backup produces "Host unknown" error, which I have learned that the backuppc daemon is not aware of the change to the hosts file. I see that the perl module, /usr/share/BackupPC/lib/BackupPC/CGI/ReloadServer.pm allows the daemon to become aware of the hosts file change. How can I call this module from the SSI bash script I have that does the provisioning of the workstation? Or, how else may I gracefully "reload server configuration"? I'm aware of being able to send ' *kill -HUP {PID}* ', but I don't think that is graceful - wouldn't that effect currently running backups? |