6.4. Backup and Restore Operations

The ABC SBC configuration is stored in a local Mariadb database. When the administrator applies the changes using the “Activate SBC configuration“ link, an automatic snapshot of the configuration database is created and is labeled as „Automatic Snapshot“ in the list of available snapshots.

Further, when an upgrade of the system is triggered, see Sec. Upgrade Procedure, a snapshot of the configuration is created and is labeled as „Upgrade Snapshot“ in the list of available snapshots

The SBC administrator can manually trigger the generation of the configuration DB snapshot from the GUI. When the configuration snapshot is created, it is recommended to write a short comment to note what exactly has been modified.

These configuration DB snapshots can be accessed using the “System ‣ Config Management“ screen, see Fig., Managing the ABC SBC configuration backups. From the GUI, the administrator can create new snapshots or change or add a comment to an already existing snapshot. To restore a saved configuration the administrator can use the “Load“ link of the desired configuration snapshot.

_images/10000000000003C3000001A9B4CF8EBA.png

Figure 1: Managing the ABC SBC configuration backups

Important:  When the configuration DB backup is loaded, the configuration is NOT automatically applied. The administrator should check if the restored configuration is the correct one and then has to manually apply it using the “Activate SBC configuration” link.

6.4.1. Manual Backup of the Complete SBC Configuration

Because the backup created from GUI contains only database backup, it is recommended to manually backup the important files:

  • SBC database: administrator can manually create a full SBC database backup using “sbc-db-backup“ command which creates a Mariadb dump into “/var/lib/sbc/configs“ directory, where also automatic DB backups are stored.
  • CDRs: the customer’s billing system should regularly download CDRs generated by the SBC which are stored on the SBC for 93 days by default. CDRs are stored to the “/var/log/frafos/cdr” directory.
  • Logs: log files are stored in “/var/log/frafos“ directory
  • Configuration templates: these templates are used to generate configuration files and are located in the “/etc/frafos/templates“ directory. From these templates, the administrator can then restore the original configuration files.
  • Traffic logs: traffic logs created by the “Log received traffic“ action are stored in the “/data/pcap“ location.

Table Of Contents

Previous topic

6.3. Command Reference

Next topic

6.5. Upgrade Procedure

This Page