Users Guide

Parameter Abbr. Argument Description
--user-name -u user-name Specifies a particular user identity, when multiple user names have
been stored in the group access file.
Examples: Updating Schedules
This section includes examples of updating a schedule to change the Smart Copy type, to change a schedule name, to delete an option in
a schedule, and to create a collection.
Example 1: Updating a Schedule to Change the Smart Copy Type
In this example, you change a schedule so that it creates replicas instead of snapshots using the --type option:
asmcli update schedule --name user-hourly --type replica
--comment "Schedule to create replica smart copies"
Successfully updated schedule "user-hourly".
# asmcli list schedule
========================================================
Schedules
========================================================
Name: user-hourly
Command: asmcli create schedule --keep 24 --comment "Schedule
to create replica smart copies" --type replica --source /user1 /user2
/user3
1 schedule found.
Example 2: Changing the Schedule Name
This example uses the --new-name option to change the name of the schedule.
# asmcli update schedule --name user-hourly --new-name
user-hourly-replicas
Successfully updated schedule "user-hourly".
# asmcli list schedule
========================================================
Schedules
========================================================
Name: user-hourly
Command: asmcli create schedule --keep 24 --comment "Schedule to create replica
smartcopies" --type replica --source /user1 /user2 /user3
1 schedule found.
Example 3: Deleting an Option in a Schedule
In this example, the --delete option is used to remove a comment string.
# asmcli list schedule
========================================================
Schedules
========================================================
Name: user-hourly
Command: asmcli create schedule --keep 24 --comment "Schedule to update user
information on an hourly basis" --type snapshot --source /user1 /user2 /user3
86
Auto-Snapshot Manager Command Line Interface