Mike's PBX Cookbook

Call Server Backup/Restore

warning Never underestimate the importance of maintaining regular backups!

The customer database resides in the PBX’s protected memory (PDATA). Changes may be lost if not replicated to permanent storage. An Equipment Data Dump (LD 43, EDD) copies the PDATA to permanent and removable storage (eg, an RMD). Data dumps can be invoked manually, or set to run automatically with the daily routines.

Backup:

After making any significant programming changes, remember to use the EDD command in LD 43 to backup the changes. This will prevent any data loss due to power outage, restart, etc.

To initiate a manual data dump;

  1. Type LD 43, press <cr>
  2. Type EDD, press <cr>
  3. At DATA DUMP COMPLETE, type four asterisks (****) to exit LD 43

Restore:

To restore a previously backed up customer database from a removable storage device, proceed as follows:

  1. Type LD 43, press <cr>
  2. Type RES xxx, press <cr>
    - where xxx = removable storage device type, eg: RMD or USB.
  3. After the following message, type four asterisks (****) to exit LD 43
    TEMU138 Restoring Process ended successfully.
    System Restart required to activate restored database.
  4. Type LD 135, press <cr>
  5. Type sysload active (single core, SA) or sysload both (dual core, HA) to initiate a reboot.
  6. Enter YES to continue, or press <cr> to abort. A sysload will incur downtime!

Example Output:

1Backup:

>ld 43

EDD000


.edd                   Write data in read/write memory to permanent and removable storage


DB SEQ NUM = 53
CONFIG
PHYSICAL MAP
BCS TEMPLATE
SUPER
IPMG
CUST
ACUST
CLID
ROUTE
DAPC
LTN TN
LTN LNK
TN
ESN  00
NCTL
ACD
DIGITAL
DTI
ASNCH
TRSH
BG-TIME
BG-CAT
DCH
PRI2
ARIES
FDL
SYSP
XTDT
MCAD
FCAD
FDCT
DTI2
LAPW
MSDL/MISP BLK
SOCKET ID BLK
TIME
DTI PDCA
PLUGIN
STS BLK
BKPR
BKPS
NODE
SPECIFIC DATA
  HI
  ALARM_MGT
  ZONE_MGT
  SYSCFG_MGT
  ACCOUNT_MGT
  ERL DB
SRPT047 DR: Master asked to stop disk sync.

  SUBNET DB
  ELIN DB
  BANNER_MGT
  NTP_MGT
  ZBD ZONES DB
  ZBD DB
  MSC ZSRN DB
  IPMG_MGT
  SYSTEM_PARAMS
  PORT_STATE_MGT
  DVLA DB
  HSEM DB
CHECKING

SIZE (KBYTES) = 98
DATADUMP COMPLETE


Backing up reten.bkp

Starting database backup
to local Removable Media Device
KEYCODE
DIRECTORY
CONFIG
DATA
HI
ZONE
ESET1
ESET2
NODE
SYSCFG
SMPCONF
FORWARDLISTFILE
PENDINGCPMSGLST
ACCOUNTS
ERL
ZBD
NZON
ZSRN
ELIN
SUBNET
NTP
MGC
SYSTEM_PARAMS
PORT_CUSTOM
PORT_STATE
EPTFLAG
DVLA
HSEM
Backing up reten.bkp to "/cf2/backup/single"

Database backup Complete!


TEMU207 Backup process to local Removable Media Device ended successfully.

.
EDD000

2Restore:

>ld 43

EDD000


.res rmd               Restore from removable CF (faceplate)

Starting database restore
from "/cf2/backup/single"
CONFIG
DATA
HI
ZONE
ESET1
ESET2
NODE
SYSCFG
SMPCONF
FORWARDLISTFILE
PENDINGCPMSGLST
ACCOUNTS
ERL
ZBD
NZON
ZSRN
ELIN
SUBNET
NTP
MGC
SYSTEM_PARAMS
PORT_CUSTOM
PORT_STATE
EPTFLAG
DVLA
HSEM
Database restore complete!

.
EDD000


.
TEMU138 Restoring Process ended successfully.
 System Restart required to activate restored database.
*****

>ld 135
CCED000

.sysload active        <- single core (SA)
.sysload both          <- dual core (HA)
                       Use the appropriate command!


WARNING: Rebooting active core will interrupt call processing.

Enter <YES> to continue, or press <return> to abort.
yes

OK
.
SRPT048 DR: Master asked to stop updates and flush file system.

... PBX will sysload/reboot...