Skip to content

Latest commit

 

History

History
120 lines (74 loc) · 5.91 KB

module-quality-assessment.md

File metadata and controls

120 lines (74 loc) · 5.91 KB

Backup

{% hint style="danger" %} 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. {% endhint %}

Creating a Backup

  1. Go to the "Modules" -> "Marketplace of modules section" tab.

Marketplace of modules section

Make sure that the Backup Module is installed and enabled.

  1. Go to the module settings.

Module settings

  1. Click on "Create backup copy".

"Create backup copy" button

  1. 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 TelephonyCall 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 TelephonySound Files (Documentation) section.

  1. Click on "Create a backup".

Once the process is complete, the backup will appear in the list of backups:

Created copy

Managing Backup Files

In the backup list, you can perform the following actions:

  • Restore from a backup.
  • Download the backup archive.
  • Delete the backup.

Options

Restore from Backup

{% hint style="info" %} The process of upgrading from Askozia 4, 5 ME to MikoPBX is described in this guide. {% endhint %}

  1. In the list of backups, select the desired one and click "Restore from backup".

  1. Select the categories of data to restore.

  1. Click on "Restore from a backup".

"Restore from a backup" button

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.

{% hint style="danger" %} We recommend restoring the data in two stages:

  1. Restore Sound Files, PBX Settings, and Call History.
  2. Restore Call Recording Files - this is the longest stage. {% endhint %}

Scheduled Backups

{% hint style="warning" %}

  • 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. {% endhint %}

  1. Click the "Backup schedule" button to configure automatic backups.

"Backup schedule" button

  1. To enable scheduled backups, activate the switch "Scheduled Backup."

  1. 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/.

{% hint style="warning" %} When using WebDav, the directory in the "Server Path" field must be created manually in advance. {% endhint %}

  • 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 TelephonyCall 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 TelephonySound Files section.

  1. Click "Save."