Table Of Contents
B
backup
backup categories
backup category
backup notification
backup schedule
backup schedule disable all
backup security enforced
backup security key
backup security protected
backup server authenticate
banner login
B
Last Updated: March 31, 2011
backup
backup categories
backup category
backup notification
backup schedule
backup schedule disable all
backup security enforced
backup security key
backup security key
backup server authenticate
banner login
backup
To set the backup parameters, use the backup command in Cisco Unity Express configuration mode. To delete the number of revisions or the backup server URL, use the no form of this command.
backup {revisions number | server url ftp-url username ftp-username password ftp-password}
no backup {revisions number | server url ftp-url}
Syntax Description
revisions number
|
Number of revision files stored in the Cisco Unity Express database.
|
server url ftp-url
|
URL to the FTP (or secure FTP) server where the backup files will be stored.
|
username ftp-username
|
User ID needed to access the FTP (or secure FTP) server.
|
password ftp-password
|
Password needed to access the FTP (or secure FTP) server.
|
Command Modes
Cisco Unity Express configuration
Command History
Cisco Unity Express Version
|
Modification
|
1.0
|
This command was introduced on the Cisco Unity Express network module and in Cisco Unified Communications Manager Express 3.0.
|
1.1
|
This command was implemented on the advanced integration module (AIM) and in Cisco Unified Communications Manager 3.3(3).
|
1.1.2
|
This command was implemented on the Cisco 2800 series and Cisco 3800 series routers.
|
3.0
|
This command was modified to allow you to use a backup server that supports SFTP.
|
Usage Guidelines
Set these parameters before backing up any files.
Consider the amount of storage space that each backup file requires when setting the number of files to store. When the number is reached, the next backup file overwrites the oldest stored backup file.
The system automatically numbers and dates the backup files and identifies the revision number in a backupid field. Reference this backup ID value when restoring a file.
Performing different backup types at various times causes different backup IDs for data backups and configuration backups. For example, the last data backup ID might be 3 and the last configuration backup might be 4. Performing an all backup might result in a backup ID of 5 for both data and configuration. See the backup category command for information about different backup types.
For secure FTP, the URL is of the form sftp://...
Examples
The following example sets 7 revisions on FTP server /branch/vmbackups.
se-10-0-0-0(config)# backup revisions 7
se-10-0-0-0(config)# backup server url ftp://branch/vmbackups username admin password
mainserver
The following example sets 5 revisions on a secure FTP server /vmbackups.
se-10-0-0-0(config)# backup revisions 7
se-10-0-0-0(config)# backup server url sftp://vmbackups username admin password mainserver
Related Commands
backup categories
To specify which categories of data to backup for scheduled backups, use the backup categories command in Cisco Unity Express scheduled backup configuration mode.
backup categories [all] [configuration] [data] [HistoricalData] [TimeCardView]
Syntax Description
all
|
Backup all categories of data.
|
configuration
|
Backup configuration data.
|
data
|
Backup data.
|
HistoricalData
|
Backup historical data.
|
TimeCardView
|
Backup data for the Time Card View application
|
Command Default
None.
Command Modes
Cisco Unity Express scheduled backup configuration (backup-schedule)
Command History
Cisco Unity Express Version
|
Modification
|
7.1
|
This command was introduced.
|
Usage Guidelines
You can specify multiple categories of data. This command applies to scheduled backups only. To set categories for non-scheduled backups, see the backup category command.
Examples
The following example specifies that only configuration data will be backed up in the scheduled backup:
se-10-0-0-0# config t
se-10-0-0-0(config)# backup schedule
Your new JOB ID is 22
se-10-0-0-0(backup-schedule)# backup categories configuration
Related Commands
backup category
To specify the type of data to be backed up, use the backup category command in Cisco Unity Express offline mode.
backup category {all | configuration | data}
Syntax Description
all
|
Backs up all data.
|
configuration
|
Backs up only system and application settings.
|
data
|
Backs up only voice-mail messages and application data.
|
Defaults
All data is backed up.
Command Modes
Cisco Unity Express offline
Command History
Cisco Unity Express Version
|
Modification
|
1.0
|
This command was introduced on the Cisco Unity Express network module and in Cisco Unified Communications Manager Express 3.0.
|
1.1
|
This command was implemented on the advanced integration module (AIM) and in Cisco Unified Communications Manager 3.3(3).
|
1.1.2
|
This command was implemented on the Cisco 2800 series and Cisco 3800 series routers.
|
Usage Guidelines
This command indicates the type of Cisco Unity Express data to be backed up to the FTP server.
When the backup procedure begins, all active calls are terminated. In Version 1.0, Cisco Unity Express does not support scheduled restores. Consider doing the backup procedure when the telephones are least active.
Examples
The following examples illustrate all the backup categories:
!!!WARNING!!!: Putting the system offline will terminate all active calls.
Do you wish to continue[n]? : y
se-10-0-0-0(offline)# backup category all
se-10-0-0-0(offline)# continue
!!!WARNING!!!: Putting the system offline will terminate all active calls.
Do you wish to continue[n]? : y
se-10-0-0-0(offline)# backup category configuration
se-10-0-0-0(offline)# continue
!!!WARNING!!!: Putting the system offline will terminate all active calls.
Do you wish to continue[n]? : y
se-10-0-0-0(offline)# backup category data
se-10-0-0-0(offline)# continue
Related Commands
backup notification
To configure the system to notify users about the scheduled backup status, use the backup notification command in Cisco Unity Express backup-schedule configuration mode. To disable the backup notification, use the no form of this command.
backup notification on {success | failure | always} {voicemail user_id | email email_address |
epage epage_address}
no backup notification on {success | failure | always } {voicemail user_id | email email_address
| epage epage_address}
Syntax Description
success
|
Specifies to send a backup notification only if the backup is a success.
|
failure
|
Specifies to send a backup notification only if the backup fails.
|
always
|
Specifies to always send a backup notification regardless of whether the backup succeeds or fails.
|
voicemail user_id
|
Specifies to send the backup notification to a voicemail user-id.
|
email email_address
|
Specifies to send the backup notification to an email address.
|
epage epage_address
|
Specifies to send the backup notification to an epage address,
|
Defaults
No default.
Command Modes
Cisco Unity Express backup-schedule configuration
Command History
Cisco Unity Express Release
|
Modification
|
8.0
|
This command was introduced.
|
Usage Guidelines
This command can be entered multiple times to add more notification targets, with a maximum of three targets for each kind (voicemail, email or epage).
Examples
The following example configures multiple targets to be notified of the scheduled backup status.
se-10-0-0-0# backup schedule 22
se-10-0-0-0(backup schedule)# backup notification always email sysadmin@digg.com
se-10-0-0-0(backup schedule)# backup notification on failure email e@cisco
se-10-0-0-0(backup schedule)# backup notification always pager email2@com
se-10-0-0-0(backup schedule)# backup notification always voicemail admin
Related Commands
backup schedule
To configure a one-time or recurring scheduled backup, use the backup schedule command in Cisco Unity Express configuration mode. Use the no form of this command to remove the configuration of the backup job.
backup schedule [name]
no backup schedule name
Syntax Description
name
|
(Optional) Specifies the name used to create, modify, or delete a scheduled backup job. It can be up to three characters long and include the characters A through Z, 0 through 9, underscore, and hyphen (-).
|
Command Default
None.
Command Modes
Cisco Unity Express EXEC mode
Command History
Cisco Unity Express Version
|
Modification
|
7.1
|
This command was introduced.
|
Usage Guidelines
This command enters backup-schedule mode and enables you to configure one-time or recurring backup jobs.
If you do not provide a name when you enter the command, one is automatically selected and displayed. If the maximum number of schedules reached and the system is unable to create the scheduled backup job using the specified parameters, an error message is display.
To create a one time backup job, enter the time of day and the date as input.
For recurring backup jobs, you can configure the jobs to repeat:
•
Every N days at a specific time
•
Every N weeks on specific day and time
•
Every N months on a specific day of the month and time
•
Every N years on a specific month
You can also configure the following parameters for backup jobs:
•
start date for recurring backup jobs
•
end date for recurring backup jobs
Examples
The following example configures a a scheduled backup to occur every 7 days at 11:00pm:
se-10-0-0-0# backup schedule
Your new JOB ID is 22
se-10-0-0-0(backup-schedule)# repeat every 7 days at 23:00
Related Commands
backup schedule disable all
To disable all scheduled backups, use the backup schedule disable all command in Cisco Unity Express backup-schedule configuration mode. Use the no form of this command to reenable all scheduled backups.
backup schedule disable all from date to date
no backup schedule disable all
Syntax Description
from date
|
Specifies the date from which all scheduled backups are disabled. The format is MM/DD/YYYY.
|
until date
|
Specifies the date until which all scheduled backups are disabled. The format is MM/DD/YYYY.
|
Command Default
None.
Command Modes
Cisco Unity Express EXEC mode
Command History
Cisco Unity Express Version
|
Modification
|
8.0
|
This command was introduced.
|
Usage Guidelines
The format for the date is month, day, and then year (for example: 05/302010).
Examples
The following example disables all scheduled backups from July 6, 2010 to July 8, 2010:
se-10-0-0-0# backup schedule disable all from 07/06/2010 to 07/08/2010
Related Commands
backup security enforced
To specify that only protected and untampered backup files can be restored, use the backup security enforced command in Cisco Unity Express configuration mode.
backup security enforced
Syntax Description
This command has no arguments or keywords.
Command Default
All of the following types of backup files are restored:
•
Unprotected (clear)
•
Protected
•
Untampered
Command Modes
Cisco Unity Express configuration
Command History
Cisco Unity Express Version
|
Modification
|
3.0
|
This command was introduced.
|
Usage Guidelines
Before you can use this command, you must generate a backup security key by using the backup security key generate command.
Use the backup security enforced command in Cisco Unity Express configuration mode to specify that only protected and untampered backup files can be restored. By default, the system also restores unprotected (clear) backup files as well, as protected backup files and untampered backup files.
Examples
The following example specifies that only protected and untampered backup files can be restored:
se-10-0-0-0(config)# backup security enforced
Related Commands
backup security key
To create or delete the master key used for encrypting and signing the backup files, use the backup security key command in Cisco Unity Express configuration mode.
backup security key {generate | delete}
Syntax Description
generate
|
Creates a master key.
|
delete
|
Deletes a master key.
|
Command Default
No key is configured.
Command Modes
Cisco Unity Express configuration
Command History
Cisco Unity Express Version
|
Modification
|
3.0
|
This command was introduced.
|
Usage Guidelines
Use the backup security key command in Cisco Unity Express configuration mode to create or delete the master key used for encrypting and signing the backup files. When creating a backup security key, you are prompted to enter the password from which the key will be derived.
This command will not be saved in the startup configuration when you use the write command.
Examples
The following example creates a master key:
se-10-0-0-0(config)# backup security key generate
Please enter the password from which the key will be derived: ******
The following example deletes a master key:
se-10-0-0-0(config)# backup security key delete
You have a key with magic string cfbdbbee
Do you want to delete it [y/n]?:
Related Commands
backup security protected
To enable secure mode for backups, use the backup security protected command in Cisco Unity Express configuration mode.
backup security protected
Syntax Description
This command has no arguments or keywords.
Command Default
Backup files are stored in unprotected mode on the remote server.
Command Modes
Cisco Unity Express configuration
Command History
Cisco Unity Express Version
|
Modification
|
3.0
|
This command was introduced.
|
Usage Guidelines
Before using this command, you must generate backup security key by using the backup security key generate command.
Use the backup security protected command in Cisco Unity Express configuration mode to enable secure mode for backups. In secure mode, all backup files are protected using encryption and a signature.
Examples
The following example enables secure mode for backups:
se-10-0-0-0(config)# backup security protected
Related Commands
backup server authenticate
To retrieve the fingerprint of the backup server's host key, use the backup server authenticate command in Cisco Unity Express configuration mode.
backup server authenticate
Syntax Description
This command has no arguments or keywords.
Command Default
This command has no default value.
Command Modes
Cisco Unity Express configuration
Command History
Cisco Unity Express Version
|
Modification
|
3.0
|
This command was introduced.
|
Usage Guidelines
Use the backup server authenticate command in Cisco Unity Express configuration mode to retrieve the fingerprint of the backup server's host key. Before using this command, users must configure the backup server URL and the login credential. The backup server URL must start with "sftp://." After the fingerprint is retrieved from the backup server, the system prompts the user for confirmation.
If this command is accepted, the fingerprint is stored in the form of "backup server authenticate fingerprint fingerprint-string" in the running configuration.This command will not be saved in the startup configuration when you use the write command.
Examples
The following example retrieves the fingerprint of the backup server's host key:
se-10-0-0-0(config)# backup server authenticate
The fingerprint of host 10.30.30.100 (key type ssh-rsa) is:
a5:3a:12:6d:e9:48:a3:34:be:8f:ee:50:30:e5:e6:c3
Do you want to accept it [y/n]?
Related Commands
Command
|
Description
|
security ssh
|
Configures the MD5 (Message-Digest algorithm 5) fingerprint of the SSH (Secure Shell) server's host key.
|
show security ssh known-hosts
|
Displays a list of configured SSH (Secure Shell) servers and their fingerprints.
|
banner login
To configure the login banner, use the banner login command in Cisco Unity Express EXEC mode. Use the no or default form of the command to remove the login banner.
banner login {delimiter-char banner-content delimiter-char | append}
no banner login
default banner login
Syntax Description
delimiter-char
|
Character that indicates the beginning and end of the banner text.
|
banner-content
|
Text content of the banner.
|
append
|
Appends additional text to the banner.
|
Command Default
No login banner is configured.
Command Modes
Cisco Unity Express EXEC
Command History
Cisco Unity Express Version
|
Modification
|
3.2
|
This command was introduced.
|
Usage Guidelines
This command configures a system wide login banner that is displayed to all users when they log in. This command requires a delimiter character that signals the end of banner content input. The delimiter character can be any printable character except ? and ". The delimiter character must not occur in the banner content or the banner input will be ended prematurely. The banner contains plain text (no special formatting) and can have up to 1944 characters (including new lines). You can enter multiline input as the banner content.
The banner command is a multi-line command. The banner-content can be one or more lines. You can include the following tokens in the banner-content to represent system settings.
token
|
Information displayed in the banner
|
$(hostname)
|
Displays the hostname for the module.
|
$(domain)
|
Displays the domain for the module.
|
If you enter a banner that exceeds the allowed length, the command stops accepting input, truncates the message at the maximum length, outputs an error message, and returns to global configuration.
Examples
The following example configures the banner login to "Welcome to hostname:"
se-10-0-0-0 (config)# banner login %
Enter TEXT message. End with the character '%'.
se-10-0-0-0 (config)# exit
The following example configures the banner login to "Welcome to hostname.somewhere.com, enjoy:"
se-10-0-0-0 (config)# ip domain-name somewhere.com
se-10-0-0-0 (config)# banner login @
Enter TEXT message. End with the character '@'.
Welcome to $(hostname).$(domain), enjoy!
se-10-0-0-0 (config)# exit
The following example configures the banner login to:
-----------------------------------
You have entered a restricted area.
Unauthorized access is prohibited.
-----------------------------------
se-10-0-0-0 (config)# banner login 1
Enter TEXT message. End with the character '1'.
-----------------------------------
You have entered a restricted area.
Unauthorized access is prohibited.
-----------------------------------
se-10-0-0-0 (config)# exit
Related Commands
Command
|
Description
|
login pinless
|
Whether the console connection is subject to authentication or not.
|