BackupPC-users

Re: [BackupPC-users] Scripted reload of server configuration

2012-07-04 07:46:30
Subject: Re: [BackupPC-users] Scripted reload of server configuration
From: Craig Barratt <cbarratt AT users.sourceforge DOT net>
To: "General list for user discussion, questions and support" <backuppc-users AT lists.sourceforge DOT net>
Date: Wed, 4 Jul 2012 04:43:27 -0700
On Mon, Jul 2, 2012 at 5:10 AM, Bryan Keadle (.net) <bkeadle AT keadle DOT net> wrote:

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?

You can use BackupPC_serverMesg to send the message "server reload" to reload the config and host files.

Craig

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
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/
<Prev in Thread] Current Thread [Next in Thread>