Overview
You can configure a regular backup schedule to ensure that you
have a copy of your Asterisk and freePBX configuration, voicemail and
CDR records. You can also restore a previous backup, in case of data
loss or a major configuration fault. Backups are stored on the file
system at /var/lib/asterisk/backups. You should make a point of making
an offline copy of important backups.
Add Backup Schedule
- Schedule Name: Give this backup a friendly name (e.g.
"Daily" or "Voicemail") to accurately identify what you're backing up.
This will make future restores easier. - Voicemail: Enable this if you want to include voicemail
messages in this backup. This could seriously increase the size of your
backups because you are backing up potentially large audio files. - System Recordings: Enable this if you want to backup custom
System Recordings you may have created for a Digital Receptionist or
Queue. Again, this could increate the size of your backups because of
the size of some audio files. - System Configuration: Enable this option to backup your
Asterisk and freePBX configuration data, including the MySQL and
Asterisk databases. We recommend this be enabled for all backups. - CDR: Enable this option to backup your Call Detail Records.
- Operator Panel: Enable this option to backup the Flash Operator Panel configuration.
Run Schedule
You can chose a pre-configured schedule from the drop-down, or
configure your own schedule using the Minutes, Hours, Days, Months and
Weekdays select boxes. The pre-configured options are: Daily (at
Midnight), Weekly (on Sunday at Midnight), Monthly (on the 1st at
Midnight) or Yearly (on the 1st January at Midnight).
Restore from Backup
This will list all the backups that are currently on your system
(located at /var/lib/asterisk/backups). Click on the backup you wish to
restore.
Upgrading from A@H:
Upgrading from an older version of A@H to freePBX causes restores to STOP WORKING. You need to totally clean out your /var/www/html/admin directory first, then re-run install_amp.
cd /usr/src/freepbx
rm -rf /var/www/html/admin
./install_amp
*** NOTE ***
I have tested a revision of this. Restoring an old version of FreePBX (2.2.X)to the newest version of FreePBX 2.4.X.
1. install your new system with FreePBX 2.4.0
2. install the Backup / Restore module
3. restore your old backup (I always restored everything for testing)
4. SSH into /usr/src/tbm-pbxconfig-5.0.0
5. run ./install_amp *this will fix all the web interface problems and the modules that were hosed.
5. Do not hit the orange bar yet.
6. Update all the modules, check your extensions then hit the orange bar and reload.
the system should be close to perfect.
This has only been tested. Long term testing has not been done.
Related Content
- Printer-friendly version
- Login or register to post comments



when was this written?
It would be helpful if the date this article was posted was in the description. It becomes difficult to find relevant content when there are no dates