EasyUC for Cisco
Restore Config: restore deleted CUCM objects
Bring back deleted phones, numbers, patterns, users, trunks and gateways with their complete configuration.
In EasyUC: EasyUC Cisco → Restore Config
What it is for
The Restore Config page shows objects that were deleted in the CUCM or via EasyUC and for which a CUCM backup exists. You see the complete backed-up configuration and create the object in the CUCM again via AXL, exactly as it was backed up. The object receives a new UUID in the process.
The page has an Overview tab and one tab per category: Phones, Phone numbers, Translation patterns, Route patterns, End users, Application users, SIP trunks, Gateways and Gateway ports. The categories for which you have a role are visible. A category that the server does not back up yet and for which there is no data is omitted.
Distinction: Restore Phones (Phones menu) works with the device registry of EasyUC and restores phones that were deleted via EasyUC. Users deleted in cucm (Users menu) manages deleted end users with plan, cleanup and deletion log. Restore Config additionally covers objects that were deleted directly in the CUCM, and further object types. For end users, Restore Config opens the same restore dialog as Users deleted in cucm.
Prerequisites
- License module
cucmand an active CUCM connection. - The CUCM backup of the connection was enabled before the object was deleted, and the object type was selected. Without a backup, objects deleted directly in the CUCM cannot be restored. See the chapter Config Backup.
- Menu item visible with one of these roles:
ROLE_APP_LIST_DELETE_DEVICE,ROLE_APP_RESTORE_DEVICE,ROLE_APP_RESTORE_DELETED_USER,ROLE_APP_RESTORE_TRANS_PATTERN,ROLE_APP_CREATE_TRANS_PATTERN,ROLE_APP_RESTORE_ROUTE_PATTERN,ROLE_APP_CREATE_ROUTE_PATTERN,ROLE_APP_RESTORE_ENDUSER. - View phones and phone numbers:
ROLE_APP_LIST_DELETE_DEVICE. Restore:ROLE_APP_RESTORE_DEVICEorROLE_APP_RESTORE_DELETED_USER. - View and restore translation patterns:
ROLE_APP_RESTORE_TRANS_PATTERNorROLE_APP_CREATE_TRANS_PATTERN. Route patterns:ROLE_APP_RESTORE_ROUTE_PATTERNorROLE_APP_CREATE_ROUTE_PATTERN. - End users:
ROLE_APP_RESTORE_ENDUSERorROLE_APP_RESTORE_DELETED_USER.ROLE_APP_CREATE_ENDUSERis not sufficient. For users with a location restriction the same location rule applies as under Users deleted in cucm. - SIP trunks, gateways, gateway ports and application users: administrators and template creators only (
ROLE_APP_ADMIN,ROLE_APP_TEMPLATE). - All objects that the deleted object refers to must exist in the CUCM, for example device pool, partition, calling search space or route list. For a gateway port, the gateway with the matching unit and subunit must exist.
- The deletion lies within the retention period. The default is 90 days after deletion.
Step by step: find a deleted object and view the backup
Step by step: restore a phone, phone number or pattern
Step by step: restore a SIP trunk, gateway, port or application user
Step by step: restore an end user
Fields and options
| Field / action | Meaning and use |
|---|---|
| Deleted (open) | Deleted objects with a backup that have not been restored yet. For end users the addition + … deleted in EasyUC shows the backups for deletions via EasyUC. |
| Held | Deletions held back by the protection against mass deletion. Restorable only after an administrator has clicked Accept. |
| Restored (30 days) | Number of objects restored in the last 30 days. |
| Kept until | Date on which the oldest deleted backup of the category is removed. |
| “off” badge on the tab | The category is not backed up. Deletions in the CUCM are not detected. An empty tab then does not mean that nothing was deleted. |
| Detected by / Deleted | Origin of the deletion: Change feed, Backup comparison or EasyUC. For end users: Deleted in CUCM or Deleted in EasyUC. |
| Status | Row status: Deleted, Held, Restoring, Restored, Failed. |
| Backup as of | Time at which the backed-up content was last changed or read. The restore brings back this state. |
| view only | Digital gateway ports (PRI/BRI/T1) and phone backups of SCCP gateway ports. They can be viewed but not restored individually. |
| Add back to route groups | Adds the trunk or ports back to their route groups. If the old position is taken, the trunk is placed at the end. |
| Create even if another SIP trunk uses the same destination | Allows a duplicate destination, provided the other trunk has a different security profile. |
| New password | Mandatory for an application user without merging. It is only sent to the CUCM and never stored or logged. Maximum 127 characters. |
| Check only | Trial run without changes in the CUCM. Available in the Restore dialog for trunks, gateways, ports, application users and end users. |
| Old addresses | /ucp2/cucm-restore and /ucp2/cucm-restore/<tab> redirect to Restore Config and the matching category. /ucp2/restore-patterns leads to Translation patterns, with ?tab=route to Route patterns. |
Check the result and troubleshoot
- Success: the row changes to Restored with time and user. The details show New UUID. Under Config Backup an entry of the kind Restored appears in Recent changes.
- ““<name>” already exists in CUCM.”: the name is in use again. Check the existing object in the CUCM.
- ““<name>” cannot be restored: <count> referenced objects are missing in CUCM. Please create them first.”: the section Missing in CUCM: lists the objects. If one of them is itself backed up, it shows restorable from backup.
- ““<name>” has not been detected as deleted or was already restored.”: reload the list. For a held deletion, an administrator must first run Accept.
- “CUCM rejected creating “<name>”.”: read Last error in the details and fix the cause in the CUCM.
- “You are not allowed to restore this object type.”: you lack the restore role for this type.
- “The destination of “<name>” (address and port) is already used by another SIP trunk.”: change the destination or security profile of the other trunk, or allow the duplicate destination in the dialog.
- ““<name>” is an LDAP user and is missing in CUCM.”: check the user in the directory and wait for the LDAP sync. Afterwards it is merged into the returned user.
- ““<name>”: unit … / subunit … is not (or no longer) configured on gateway …”: configure the module in the CUCM first, then the port.
- Application users that EasyUC itself uses (AXL access, ControlMe, call tracking, Calling Features) and default users of the CUCM are not restored from the backup. Set them up again in the function responsible.
- “The CUCM backup is disabled for this CUCM connection.”: without a backup there are no new entries. An administrator enables it on the CUCM connection.
- “Restore users of your locations in “Deleted users”.”: with a location restriction, use the page Users deleted in cucm for end users.
- Take notes after the restore seriously, for example “End user … no longer exists in CUCM – not associated.” or “Pattern … now points to … – not changed.” The restore never changes patterns that pointed to a trunk or a gateway.