1.5 Administrator's Guide

  1. Home
  2. Docs
  3. 1.5 Administrator’s Guide
  4. Advanced Administration
  5. Manually backing up and restoring the configuration

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 list of backups from the command shell: sudo ls /var/lib/asterisk/backups