Backing Up, Restoring, and Reinitializing the System


This chapter contains these topics:

Backing Up the System

Restoring the System

Reinitializing the Cisco Unified Application Server

Backing Up the System

Use the system backup feature to take a snapshot of the current configuration settings in the Cisco Unified Application Environment Administration, to save applications, and to save application configurations. A system backup generates a tar file that can be stored in a safe location.


Note A backup can only be used to restore a system of the same version.


Cisco recommends backing up systems regularly to prevent data loss in the unlikely event of system failure. See Restoring the System for instructions on restoring a previously backed up system.

To perform system backups, follow these steps:

Procedure


Step 1 Use the server console or VNC to open a command window.

Step 2 Change the current directory to C:\Program Files\Cisco Systems\Unified Application Environment\Framework\1.0, and locate the executable file: cuae-backup.exe


Note Arguments with spaces in their names must have double quotes around them.


For example:

cd "C:\Program Files\Cisco Systems\Unified Application Environment\Framework\1.0"

Step 3 Enter the following command:

cuae-legacy-backup.exe [ +database_name ...]

where +database_name is the name of a database you want to backup in addition to the system database.


Note The system database is automatically backed up during the backup process. If you do not need to back up additional application-specific databases, do not specify database names.


In general, if you have any applications that use their own, customized, MySQL database on the server, you will need to specify their database names. Check with the developers who created the applications that are installed on the system to find out if there are custom databases associated with the applications, and whether they should be backed up. For example, to back up only the system database, enter:

cuae-backup.exe

After running the cuae-backup.exe tool, the backup file is saved in C:\Program Files\Cisco Systems\Unified Application Environment\Backups. Cisco strongly recommends you remove the backup file from the MCS server and store it elsewhere for safe keeping.


Restoring the System

Use the system restore feature to install and activate a previously-generated system backup file. (See Backing Up the System.)


Caution The configuration in the backup folder overwrites the current configuration. Once started, the process cannot be stopped or undone. Always back up the system before you restore a system backup file.

To restore a backup, follow these steps:

Procedure


Step 1 Place the Backup folder anywhere on the MCS server.

Step 2 Log in to the Cisco Unified Application Environment Administration.

Step 3 From the Cisco Unified Application Environment Management, choose Serviceability >Services, select Watchdog Server, then click Stop to stop all the services.

Step 4 Use the server console or VNC to open a command window.

Step 5 Change the current directory to C:\Program Files\Cisco Systems\Unified Application Environment\Framework\1.0, and locate the executable file: cuae-restore.exe


Note Arguments with spaces in their names must have double quotes around them.


For example:

cd "C:\Program Files\Cisco Systems\Unified Application Environment\Framework\1.0"

Step 6 Enter the following command to restore the data:

cuae-restore.exe [path_to_backup_file]

where path_to_backup_file is the location of the file generated by the cuae-legacy-backup tool, which is located in the Backup folder on the server.

For example, if you want to restore a file called backup1.cuae located in the C:\Program Files\Cisco Systems\Unified Application Environment\Backups folder, enter:

cuae-restore.exe "C:\Program Fil"s\Cisco Systems\Unified Application Environment\Backups\backup1.cuae"

Step 7 From the Cisco Unified Application Environment Management, choose Serviceability > Services, select Watchdog Server, then click Restart.

This restarts all the services in order of dependency.


Reinitializing the Cisco Unified Application Server

Use the DVDs that are shipped with the server to re-image the system to the factory settings. For details, see Installing the Cisco Unified Application Environment, Release 8.5 listed in Related Documentation, page xii.