Backup
Last updated
Last updated
Note: In version 2020.2.XXX, the backup functionality has been moved to a separate module and is not included in the core package. The module can be installed via the Module Management section.
Go to the "Modules" -> "Marketplace of modules section" tab.
Make sure that the Backup Module is installed and enabled.
Go to the module settings.
Click on "Create backup copy".
Select the data that should be included in the backup:
PBX Settings - all configuration settings of MikoPBX made in the web interface.
Call History - saves the cdr.db database (location: /storage/usbdisk1/mikopbx/astlogs/asterisk/cdr.db). This setting does not save actual call recordings, only the information on the Telephony → Call History (Documentation) tab without playback/download functionality.
Call Recording Files - saves all call recordings in *.mp3 format.
Sound Files - saves sound files uploaded to the PBX in the Telephony → Sound Files (Documentation) section.
Click on "Create a backup".
Once the process is complete, the backup will appear in the list of backups:
In the backup list, you can perform the following actions:
Restore from a backup.
Download the backup archive.
Delete the backup.
The process of upgrading from Askozia 4, 5 ME to MikoPBX is described in this guide.
In the list of backups, select the desired one and click "Restore from backup".
Select the categories of data to restore.
Click on "Restore from a backup".
The restoration process will start, and once completed, the PBX will be rebooted.
The progress of data restoration will be displayed on the current page.
We recommend restoring the data in two stages:
Restore Sound Files, PBX Settings, and Call History.
Restore Call Recording Files - this is the longest stage.
FTP Mode - creates a ZIP archive. For this mode, an FTP server is required.
SFTP Mode - creates an IMG container. This mode only requires MikoPBX.
WebDav Mode - creates an IMG container.
The fastest backup options are SFTP and WebDav. FTP is outdated, and the ability to use this protocol will eventually be removed from the backup module.
Click the "Backup schedule" button to configure automatic backups.
To enable scheduled backups, activate the switch "Scheduled Backup."
Fill in the required information:
Server Address - IP address of MikoPBX or the address of the SFTP \ FTP server.
Port - for SFTP mode, the port is 22. Disabling the "SFTP Mode" switch activates FTP mode with port 21.
Username - the username for server authentication.
Password - the password for server authentication.
Server Path - the directory where the backups will be saved. Recommended directory on MikoPBX: /storage/usbdisk1/mikopbx/backup/.
When using WebDav, the directory in the "Server Path" field must be created manually in advance.
Schedule - specify the day and time for the backup operation.
Keep Last X Versions - specify how many backup versions should be retained.
PBX Settings - all configuration settings of MikoPBX made in the web interface.
Call History - saves the cdr.db database (location: /storage/usbdisk1/mikopbx/astlogs/asterisk/cdr.db). This does not save actual call recordings, only the information on the Telephony → Call History tab without playback/download functionality.
Call Recording Files - saves all call recordings in *.mp3 format.
Sound Files - saves sound files uploaded to the PBX in the Telephony → Sound Files section.
Click "Save."