Cisco Collaboration and Contact Center Solutions - Messages with tag "DRS"

Aurus Blog

This blog is to share our expertise in Cisco UCM, UCCX/UCCE and Cisco Meeting Server

  • Archive

    «   December 2023   »
    M T W T F S S
            1 2 3
    4 5 6 7 8 9 10
    11 12 13 14 15 16 17
    18 19 20 21 22 23 24
    25 26 27 28 29 30 31

CUCM DRS Management Using Command Line

Command Line Recovery

Hello! In a recent article we have shown you how to create a backup for Cisco Unified Communications Manager (CUCM) using Disaster Recovery System (DRS). Today we'll discuss backup and recovery in command line interface (CLI) that can be used when it’s impossible to use graphical interface.

Backup Creation

First of all, select the device to store the backup (SFTP server). Execute the following command:

utils disaster_recovery device add network [devicename path] [server_name/ip_address] [username] [number_of_backups]

  • devicename – name of the device to store the backup;
  • path – path to the backup;
  • server_name/ip_address – hostname or IP address of the device where the backup will be stored;
  • username – username to be used to access the server;
  • number_of_backups – number of backups to be created (optional). The default value is 2;


admin: utils disaster_recovery device add network networkDevice /root root 3

The following command shows the list of devices:

utils disaster_recovery device list

Now create a backup copy:

utils disaster_recovery backup network [featurelist] [path] [servername] [username]

  • featurelist – the list of features for the copy, separated by comma;
  • path – path to the archive;
  • servername – the hostname or IP address of the device where the archive will be stored;
  • username – username to be used to access the server;

The following command shows the feature list:

utils disaster_recovery show_registration

Check the backup status:

utils disaster_recovery status backup


First of all, check whether there are backup files on SFTP server:

utils disaster_recovery show_backupfiles [name]

  • name – the name of backup device;

Select a backup file from the list:

utils disaster_recovery restore network [restore_server] [tarfilename] [devicename]

  • restore_server – the hostname or IP address of the device where the archive will be stored;
  • tarfilename – backup file name;
  • devicename – the name of backup device;


utils disaster_recovery restore network 2019-05-15-15-35-28 networkDevice

When asked if you really want to restore the system, say “y”.

Now check the system recovery status:

utils disaster_recovery status restore

Disaster Recovery System in Cisco UCM

Evading disasters

In this article we study the Cisco Unified Communications Manager (CUCM) failure recovery system that is called Disaster Recovery System (DRS). You can use it to create system backups stored on SFTP server to be used for system recovery, if needed.

DRS includes the following components:

  • Cisco Unified Communications Manager database (CCMDB), including Cisco Unified Communications Manager/CDR Analysis and Reporting/Call Detail Records);
  • Platform;
  • Music On Hold (MOH);
  • BAT Bulk Provisioning Service (BPS);
  • CCM Preference Files (CCMPREFS);
  • TFTP Phone device files (TFTP);
  • SNMP Syslog Component (SYSLOGAGT SNMP);
  • SNMP CDP Subagent (CDPAGT SNMP);
  • Trace Collection Tool (TCT);
  • Cluster Manager (CLM);
  • Cisco Extended Functions (CEF);


First of all, you have to deploy an SFTP server to create a backup. Cisco recommends using such clients as Cygwin, Titan FTP, GlobalSCAPE EFT, but you can use other clients as well. Download a client of your choice, install it on the workstation that will use an SFTP server, configure the connection parameters, select the root directory and run the service.

Now open the CUCM configuration page. Select Disaster Recovery System in a dropdown menu in the upper right corner.

Then proceed to Backup → Backup Device and click Add New. In the form that appears, enter the backup name in Backup device name field. Select Network Directory in Select Destination section and enter the SFTP server IP address in Host name/IP address field. Enter the user credentials in User name and Password fields. Enter the path to store the data in Path name field (type ’’\’’ if the data should be stored in the root directory). Then click Save. If the SFTP server is available, you’ll see the message: Update Successful.

Now you can create a backup. Open Backup → Manual Backup, select the previously chosen backup parameters and click Start Backup.

To create a backup schedule, proceed to Backup → Scheduler and click Add New. Select a backup, enter the time of archiving and click Save. Then click Enable Schedule at the top of the screen.

Let’s look into system recovery, which is called Restoring a Node or Cluster to a Last Known Good Configuration (No Rebuild). To restore the system from a previously created backup, proceed to Disaster Recovery System → Restore → Restore Wizard. Select Backup Device, then click Next and choose one of the available files.

Select the features to be restored.

Then select the servers and click Restore.

The system recovery will begin. You can see the current recovery status here: Disaster Recovery System → Restore → Status. After the system is restored, you’ll have to reboot the server. You can check the replication status using either CUCM Unified RTMT (Call Manager → Database Summary → Replication Status, the status should be same for all the nodes) or CUCM Unified Reporting (Unified Reporting → System Reports → Unified CM Database Status, look for “All servers have a good replication status” line), or through CLI (execute the following command: utils dbreplication status to get “No Errors or Mismatches found. Replication status is good on all available servers” as the result).