Page tree
Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Next »

Overview

It is critical that you have a backup procedure in place. Schmooze Com, Inc. offers a support package that includes automated offsite backups. This module is used to backup your PBX phone system settings and configurations. If you have a support contract that includes offsite backups, the backup will be defined here. Please do not remove, edit the backup marked "Schmooze POMPs", or your backups will no longer be sent to us for offsite storage.

Backing up your PBX is a crucial step in the setup process. You have several ways to automate this process or you can do an "on the fly" backup as needed. If you are wish to create a  Warm Standby  with 2 PBX systems please see this guide for Setting up Warm Spare Backups.

Logging in

Logging into the Backup and Restore module and you will see a screen like the one below. 

  • On the top menu click Admin
  • In the drop down click Backup & Restore



On the right side you will see a list of all the different sections of the backup module on the top.

At the bottom of the list will be all the current backup jobs you have created.

Backups

The backups section of the backup module is where you actually define a backup job. You can create as many backup jobs as you want and set when and how often they should run, what should be included in the backup and where to store it.

Restores

The restore section of the backup module is where you pick to restore from a backup. You can restore from a backup on your local computer or from any defined FTP, SSH or Local storage server.

Servers

The servers section is where we define any PBX servers or database tables that we want to backup configurations from. You also define and Linux boxes or FTP servers you want to store the backups on.

Templates

Templates are used to create groups of files, directories or databases that you want included in a backup. We have defined some standard templates for you already but you can add your own custom templates at anytime. When creating a backup job you can drag one or more templates into the backup job to define what is all going to be backed up for that backup job.

Backups

When clicking on the backup section we can view or create any new backup jobs. For our example we will create a new backup job by pressing the “New Backup” button.

Backup Settings

Backup Name

Give your backup job a name to easily identify it.

Description

Here you can optionally define a longer description if you want for this backup.

Backup Items

Items

This is where you choose what will actually be backed up. On the right side you will see a list of standard templates that are included with your PBX. The most standard template for a normal daily backup you would want to use is the full backup. 

To include the full backup template, use your mouse to drag it from the right side to the left side under the“Backup Items” heading.

Once you drag over an item you will see the following on the right side:

 

APPLICATION NOTE

 

  • Advanced users can also press the green plus icon to add your own files or directory paths to be included in your backup.

 

  • Please see templates section on how to modify or create your own templates.

 

 

APPLICATION NOTE

With the full backup we are not including any voicemails, custom music on hold or system prompt recordings. If you want these included also, drag over the “System Audio” and “Voicemail Templates” from the ride side to the left side.

Hooks

Hooks allow you to have the backup job based on the following actions to execute a custom script at the location defined for each action. This is for advanced users who may want to write custom things to happen for any of the following actions:

APPLICATION NOTE

Make sure your script has execute permissions for the Asterisk user.

Pre-backup Hook

Hook to run before starting the actual backup.

Post-backup Hook

Hook to run after completing the backup.

Pre-restore Hook

Hook to run before starting the actual restore of the backup.

Post-restore Hook

Hook to run after completing the restore of the backup.

Backup Server

This is where we choose which server we want to backup. This can be the local PBX that the backup module is on or it could be another PBX as defined in the servers section of the backup module. Please see the server section for more information on defining other servers. Most of the time you will pick “This Server” since that is what we want to backup.

Storage Location

Storage location are servers that have been setup to store the actual backup on. By default we include the local server as a storage location.

On the right side we will see a list of servers that have been setup to store the backup as defined in the servers section of the backup module. Please see server section for more information on defining other servers.

Drag one or more storage servers to the left side to define where to store the backups. These servers are defined under "servers"

Backup Schedule

Never

Never run the backup

Hourly

Every hour at the top of the hour

Daily

Every day at midnight

Weekly

Every Sunday at midnight

Monthly

This first of each month at midnight

Annually

January 1st at midnight

Reboot

On a reboot command of the PBX an upgrade will be run.

Custom

Allows you to define your own schedule on when to run upgrades.

Maintenance

Here we can define how many copies of the backup we want to keep and when they should be deleted

Delete After Time Frame

Here you can define increments, for example delete after 3 months or 5 weeks.

Delete After Runs

Here you can define how many copies of the backup to delete versus deleting backups by time frame such as only keep fifteen. On the 16th backup the oldest backup will be deleted from the system. We recommend keeping 7-10 backups only to conserve hard drive space

Save and Run

When you have things the way you want them click "Save" 

After you save "And Run" will appear.  You can click the "and run to run the backup for the first time and test your settings.

Restore

 

 

Tips and Tricks

  • No labels