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.
- Printer-friendly version
- Login or register to post comments



backup and restore
WIll the backup and restore function be able to restore a freepbx to its original configuration? Di I need to backup any other files? What about the zapata.conf files ? Will voice files also be backed up or do i need to do it manually also?
Backup/Restore
I have a newly installed version of FreePBX 2.3.1.0 up and running.
All functions appear to be working normally on an SIP system.
When I run a Backup set to Now and hit Submit, the system appears to be doing something for several seconds. However, no file shows up in /var/lib/asterisk/backups directory.
How can I find out where the command chain is failing?
no /var/lib/asterisk/backups in my system
Hi,
I have backed up my system, but can't restore from the above path as it does not exist in my system. Where can I find it ?
Thanks.
Backup Module Restore Process...
Just an FYI that when I create a backup of my FreePBX data (with every option selected) and restore that data, I must first restore ONLY the "system configuration" data. Then, I am able to restore the whole backup afterwards. Otherwise, by selecting the whole backup first, I receive the following error:
"The section you requested does not exist or you do not have access to it."
You will also notice broken modules on the status page too...
By the way, my production system is a Trixbox 2.6.0 (from which I created the backup) and my development system is a Trixbox 2.6.1 (which I restored to).
So, as a work around, just restore the "system configuration" data first!
no var/lib/asterisk/backups file in my system
have a newly installed version of FreePBX 2.8 up and running.
All functions appear to be working normally on an SIP system.
When I run a Backup set to Now and hit Submit, the system appears to be doing something for several seconds. However, no file shows up in /var/lib/asterisk/backups directory.
and so when I set the backup location for example /mnt/ after I submit my backup again no file shows up in /mnt.
I did the upgrade from
I did the upgrade from Unembedded freePBX -> module admin -> upgrade to freepbx 2.5
I get error 404 not found when I'm trying to test the sip account though it is available in freepbx.
---------------
Alex,
I just started to write about basic old photo restoration. I'm a beginner and write for the beginners.