Backup and Restore
Cisco Prime Collaboration Provisioning allows you to backup your data and restore it. You can schedule periodic backups using the Provisioning UI (Schedule Backup Using the Provisioning User Interface).
Note |
For upgrading Cisco Prime Collaboration Provisioning 12.4 and later releases In Cisco Prime Collaboration Provisioning 12.4, backup and restore requires a mandatory password for enhanced security. Hence, after the upgrade to 12.4, all scheduled backup jobs from 12.x fail. Once upgrade from 12.x to 12.4 is complete, you can cancel all the previously scheduled and saved jobs. The admin has to either reset the password and schedule the backup again or delete the scheduled backup job and reschedule it on 12.4. You can view the upgrade logs for the appropriate message. |
There are two backup and restore scenarios; select the set of procedures that matches your scenario:
-
Backup and restore with the same installation or a new installation. For this scenario, see Schedule Backup Using the Provisioning User Interface.
Note
When backing up files, place the files on a different file server. Also, burn the backup data onto a CD.
Cisco Prime Collaboration Provisioning allows you to back up system data and restore it on a different system in the event of total system failure. To restore the backup from another system, the following prerequisites must be met:
-
Ensure that the server to which data is restored has the same MAC address as that of the system that was backed up (the IP address and the hostname can be different).
-
If you are unable to assign the MAC address of the original system (the one that was backed up) to another system, contact the Engineering Team for information on a new license file (for a new MAC address).
-
The procedure to backup and restore data on a different system is the same as the procedure to backup and restore data on the same system.
Back Up Provisioning Database from Console CLI — 11.x and below
This procedure requires that you have administrator level access to the Provisioning database (the PostgreSQL database).
Procedure
Step 1 |
Login as troubleshooting user using SSH with port 22 |
Step 2 |
Navigate to the /opt/cupm folder and enter the following command:
|
Step 3 |
Stop Apache, JBoss, and NICE Services using the following commands:
|
Step 4 |
Go to the directory using the command:
|
Step 5 |
Run the following command:
where,
|
Step 6 |
In a backup folder, make copies of the following files and directories:
|
Step 7 |
Start Apache, JBoss, and NICE Services using the following commands:
|
Schedule Backup Using the Provisioning User Interface
You can create periodic backups of the Provisioning database using the Provisioning User Interface. You must be logged in as an administrator to perform the backup.
Before you begin
The prerequisites for a successful SFTP backup for a non-root user are as follows:
-
The backup folder is manually created in advance.
-
The backup folder has the group or owner as root.
-
The backup folder has the correct read and write permissions.
Before performing the upgrade, ensure to take a snapshot of the existing setup.
Procedure
Step 1 |
Choose Administration > Backup Management. |
||||
Step 2 |
In the Backup Management page, click New. |
||||
Step 3 |
Enter a backup title in the Create New Backup page. |
||||
Step 4 |
From the Backup Connection drop-down list, select SFTP, FTP, or Local to save your backup files.
|
||||
Step 5 |
For a local backup, select the number of backup files you want to save on your local machine from the Backup History drop-down list. The default value is 2. By default, you can save two recent backup files. You can save up to 9 recent backup files. |
||||
Step 6 |
Enter the scheduling details to schedule a backup. The time displayed is the server browser time. The default recurrence type for a new backup job is None. After a backup job is created with default settings, the backup will start immediately. |
||||
Step 7 |
Enter email address to receive status notification for the scheduled backup. You can enter multiple email addresses separated with a comma. |
||||
Step 8 |
Click Save. The scheduled backup appears in the Backups table on the Backup Management page. |
||||
Step 9 |
Click Run Now, to run a backup immediately. |
Prime Collaboration Provisioning enters maintenance mode before backup starts. A notification will be displayed for all logged-in users stating that the users will be logged out of Prime Collaboration Provisioning 10 minutes before the scheduled backup starts. Users must save their work and log out before the backup starts, else they will be logged out automatically, and will not be able to access Prime Collaboration Provisioning.
The backup table provides information on the status and history of each backup job. The Next Run Time option provides details on the next periodic schedule.
The Last Run Status column shows the status of the last run backup job. The status of a backup job can be Scheduled, In Progress, Success or Failed.
When a backup job reaches the scheduled time, the last run status changes to Scheduled. After entering into maintenance mode, that is after 10 minutes, the status will change from Scheduled to In Progress.
After the backup job is complete, the status is either Success or Failure.
To know about the history of any backup job, click Run History Count, and open the dialog box. You can view the start time, end time, status and file size of the backup. You can delete the run history logs. The backed up files are not deleted when the backup logs are deleted.
Managing Backup Jobs
With the scheduled jobs, you can:
-
Edit and Delete: The Edit and Delete options are disabled during Scheduled and In Progress states. You cannot edit or delete a backup job when the backup is in Scheduled or In Progress state. You can edit only one backup job at a time.
-
Cancel: You can cancel a running backup job which is in Scheduled or In Progress state only.