|
Command or Action |
Purpose |
Step 1 |
UCS-A# scope org org-name |
Enters organization mode for the specified organization. To enter the root organization mode, type / as the org-name . |
Step 2 |
UCS-A /org # scope ep-log-policy sel |
Enters organization endpoint log policy mode and scopes the SEL policy. |
Step 3 |
UCS-A /org/ep-log-policy # set description description |
(Optional) Provides a description for the policy.
Note |
If your description includes spaces, special characters, or punctuation, you must begin and end your description with quotation marks. The quotation marks will not appear in the description field of any show command output. |
|
Step 4 |
UCS-A /org/ep-log-policy # set backup action [log-full] [on-change-of-association] [on-clear] [timer] [none] |
Specifies an action or actions that will trigger a backup operation. |
Step 5 |
UCS-A /org/ep-log-policy # set backup clear-on-backup {no | yes} |
Specifies whether to clear the system event log after a backup operation occurs. |
Step 6 |
UCS-A /org/ep-log-policy # set backup destination URL |
Specifies the protocol, user, password, remote hostname, and remote path for the backup operation. Depending on the protocol used, specify the URL using one of the following syntax:
-
ftp:// username@hostname / path
-
scp:// username @ hostname / path
-
sftp:// username @ hostname / path
-
tftp:// hostname : port-num / path
Note |
You can also specify the backup destination by using the set backup hostname , set backup password , set backup protocol , set backup remote-path , set backup user commands, or by using the set backup destination command. Use either method to specify the backup destination. |
|
Step 7 |
UCS-A /org/ep-log-policy # set backup format {ascii | binary} |
Specifies the format for the backup file. |
Step 8 |
UCS-A /org/ep-log-policy # set backup hostname {hostname | ip-addr} |
Specifies the hostname or IP address of the remote server. |
Step 9 |
UCS-A /org/ep-log-policy # set backup interval {1-hour | 2-hours | 4-hours | 8-hours | 24-hours | never} |
Specifies the time interval for the automatic backup operation. Specifying the never keyword means that automatic backups will not be made. |
Step 10 |
UCS-A /org/ep-log-policy # set backup password password |
Specifies the password for the username. This step does not apply if the TFTP protocol is used. |
Step 11 |
UCS-A /org/ep-log-policy # set backup protocol {ftp | scp | sftp | tftp} |
Specifies the protocol to use when communicating with the remote server. |
Step 12 |
UCS-A /org/ep-log-policy # set backup remote-path path |
Specifies the path on the remote server where the backup file is to be saved. |
Step 13 |
UCS-A /org/ep-log-policy # set backup user username |
Specifies the username the system should use to log in to the remote server. This step does not apply if the TFTP protocol is used. |
Step 14 |
UCS-A /org/ep-log-policy # commit-buffer |
Commits the transaction. |