![Far south networks Com.X Administrator'S Manual Download Page 187](http://html.mh-extra.com/html/far-south-networks/com-x/com-x_administrators-manual_544186187.webp)
Com.X Administrator Guide
Page 187
6.6 Manually backing up and restoring the configuration
Though we strongly recommend using the Com.X GUI for backup and restore,
conditions may arise where the GUI is unavailable and a backup or restore is
required to be manually executed. To do so:
sudo /usr/share/freepbx/modules/backup/bin/ampbackup.pl "backupname" yes yes yes yes
no
The five flags indicate whether the following components should be backed up, listed
in order from left to right as presented on the command line:
voicemail, system recordings, system configuration, CDR, operator panel
To confirm successful backup or to restore a backup manually, you can view the
backups list on the FreePBX restore page:
http://<host>/freepbx/config.php?type=tool&display=backup&action=restore
Alternatively you can view the list of backups from the command shell:
sudo ls /var/lib/asterisk/backups
6.7 Setting the system's date, time and timezone
The Com.X unit tries to obtain date and time from an NTP server on the internet.
Failing this, or in the case where the date / time discrepancy on a unit is large, the
date and time can be configured as follows:
1. Log into the system as described in 6.1.
2. If the system is unable to contact an internet NTP server to derive time from,
date and time might be presented using UTC (GMT+0) which may not be
desirable.
3. To reconfigure the system's timezone, issue the following command and
select the correct settings:
sudo dpkgreconfigure tzdata
4. Set the date / time using the 'sudo hwclock' command and the format
“mm/dd/ccyy hh:mm:ss”
5. For example, to set the date to 10 Mar 2011 and the time to 18:12:
sudo hwclock set date="3/10/2011 18:12"
6. Propagate the hardware clock setting to the running operating system:
sudo hwclock hctosys
7. Confirm that both the hardware clock and the operating system time matches:
sudo hwclock
sudo date
8. Ensure that the commamgr is logging using the correct time.
Warning:
this
will disrupt service on all iTAs and analogue interfaces:
sudo /etc/init.d/commamgr restart
©2010 –
2016
Far South Networks