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
I totally agree.
Please include the date of the article.
Restore has issues with callerid
Hi, I have had this happen each time I restore from the high availability backup (not "Restore to this server") with a manual restore.
Everything is fine, the data is there but CallerID is not sent to the dialed number. I edit the extension, add a space/remove a space from the callerID click apply and it is fine. So the data is there but something is not getting updated in the restore.
Additional options not documented 2.7.0.10
Looking at the setup screen for backups, there are a number of additional sets of settings (FTP settings, SSH Settings, Email settings) that aren't explained.
Thinking that the ftp settings might upload to another machine, I duly filled them out with login and file location information on one of our NAS servers. Didn't do anything useful.
Anybody know how these are supposed to work ?
Or should I just use cron and rsync the configuration information I want to the NAS box ?
bump
Hi I have the same question as the previous poster (derekrv) -- are there working options for backing up to a remote site via FTP, SSH or what-have-you? SSH would be the preferred method (or SFTP) as regular FTP would be quite insecure. I am using Freepbx 2.8 but I plan to switch to 2.9 shortly.
Does anyone know how
Does anyone know how to use freepbx but have the files be backed up onto in cloud-based storage? I'm using dropbox currently and can't figure it out, but if any of you have used the other online storage services and have been able to make it work then please let me know and I'll move to one of those systems. It would just be more effective that way so I can computer hop and not have to worry about transferring my files, ill just be able to access them remotely anywhere.