On Fri, 2010-02-26 at 18:18 +0200, Tambrea Cosmin wrote: > Hi all! > > I'm working now at http://track.sipfoundry.org/browse/XX-7624 - BackUp > and Restore:Recovery of NTP servers fails. > It seems that the NTP server are not stored in the DB but they are > stored in /etc/ntp.conf file, so that's why on a fresh system > installation the restore of these servers doesn't work. > The Date and Time page uses in back-end the shell script > INSTALL/bin/sipx-time-manager for the get/store operation. This script > reads/writes the system file /etc/ntp.conf. > > My question is how to solve this backup/restore issue? > > I'm proposing 2 solutions: > 1. create a file containing the NTP servers and add it into the backup > archive and, on restore, use this file to restore the NTP servers(the > get/store operations should be done using the same script described > above). This solution imply the change of shell scripts sipx_backup and > sipx_restore(located in INSTALL/bin) > 1. store somehow the NTP servers into db. Does this mean that the > server won't be stored anymore in /etc/ntp.config?
/etc/ntp.config is what the ntp server uses, so the configuration needs to end up there. I have no problem at all having the ntp server addresses added to the database - they should probably be there for configuring phones anyway. _______________________________________________ sipx-dev mailing list [email protected] List Archive: http://list.sipfoundry.org/archive/sipx-dev Unsubscribe: http://list.sipfoundry.org/mailman/listinfo/sipx-dev sipXecs IP PBX -- http://www.sipfoundry.org/
