To enter the repository submode for configuration of backups, use the repository command in Configuration mode.
Name of repository. Supports up to 80 alphanumeric characters. |
Note After you enter the name of the repository in the repository command, you enter the config-Repository configuration submode (see the Syntax Description).
EXEC command. Allows you to perform any of the EXEC commands in this mode (see the “do”). |
|
Exits the config-Repository submode and returns you to the EXEC mode. |
|
URL of the repository. Supports up to 80 alphanumeric characters (see Table 4-17). |
|
Configure the username and password for access. Supports up to 30 alphanumeric characters. |
Enter the repository URL, including server and path information. Supports up to 80 alphanumeric characters. |
|
You can run the show repository repository_name to view all the files in the local repository. Note All local repositories are created on the /localdisk partition. When you specify disk:// in the repository URL, the system creates directories in a path that is relative to /localdisk. For example, if you entered disk://backup, the directory is created at /localdisk/backup. |
|
Source or destination URL for an FTP network server. Use url ftp://server/path1. |
|
Source or destination URL for an NFS network server. Use url nfs://server:path1. |
|
Source or destination URL for an SFTP network server. Use url sftp://server/path1. |
|
Source or destination URL for a TFTP network server. Use url tftp://server/path1. Note You cannot use a TFTP repository for performing a Cisco CDA upgrade. |
No default behavior or values.
When configuring url sftp: in the submode, you must provide the host-key under repository configuration through CLI and the RSA fingerprint is added to the list of SSH known hosts.
To disable this function, use the no form of host-key host command in the submode.
Cisco CDA displays the following warning when you configure a secure ftp repository in the administration user interface in Administration > System > Maintenance > Repository > Add Repository.
The host key of the SFTP server must be added through the CLI by using the host-key option before this repository can be used.
A corresponding error is thrown in the Cisco ADE logs when you try to back up into a secure FTP repository without configuring the host-key.
/admin(config)# repository
myrepository
/admin(config-Repository)# url
sftp://cda
/admin(config-Repository)# host-key
host cda
# Host cda found: line 1 type RSA
2048 f2:e0:95:d7:58:f2:02:ba:d0:b8:cf:d5:42:76:1f:c6 cda (RSA)
/admin(config-Repository)# exit