The smsap history set command
You can run the history set command to configure the operations for which you want to view the history.
Syntax
smsap history set
-profile {-name profile_name [profile_name1, profile_name2] | -all
-repository -login [password repo_password] -username repo_username
-host repo_host
-dbname repo_dbname
-port repo_port}
-operation {-operations operation_name [operation_name1, operation_name2] | -all}
-retain
{-count retain_count | -daily daily_count | -monthly monthly_count | -weekly weekly_count}
[-quiet | -verbose]
Parameters
-
-profile profileSpecifies the name of the profile. The name can be up to 30 characters long and must be unique within the host.
-
-repositorySpecifies the details of the database that stores the profile.
-
-dbname repo_dbnameSpecifies the name of the database that stores the profile. You can use either the global name or the system identifier.
-
-host repo_hostSpecifies the name or IP address of the host where the repository database resides.
-
-loginSpecifies the repository login details.
-
-username repo_usernameSpecifies the user name required to access the repository database.
-
-port repo_portSpecifies the Transmission Control Protocol (TCP) port number used to access the repository database.
-
-operation {-operations operation_name [operation_name1, operation_name2] | -allSpecifies the SnapManager operations for which you want to configure the history.
-
-retain {-count retain_count | -daily daily_count | -monthly -monthly_count | -weekly weekly_count}Specifies the retention class of the create backup, verify backup, restore and recover, and create and split clone operations. The retention class is set based on the operation count number, number of days, weeks, or months.
-
-quietDisplays only error messages in the console. The default is to display error and warning messages.
-
-verboseDisplays error, warning, and informational messages in the console.
Example command
The following example displays information about the backup operation:
smsap history set -profile -name PROFILE1 -operation -operations backup -retain -daily 6 -verbose