Users Guide

asmcli create collection Command Syntax
The command syntax is as follows:
# asmcli create collection
--name collection-name
--source mount-point1 [mount-point2...]
The following table describes the required command parameters.
Table 35. Create Collection Required Command Options
Parameter Argument Description
--name collection-name Specifies the name of the collection.
--source mount-point Specifies a list of one or more mount points.
Example: Creating Collections
The following example shows how to use separate collections to save copies of the same volumes:
# asmcli create collection --name=daily-user-vols yes--source=/source/VolA
--source=/source/VolB --source=/source/VolC
You could also specify the same command as follows:
# asmcli create collection --name daily-user-vols --source /source/VolA
/source/VolB /source/VolC
The output specifies a successfully created collection of the specified name (for example, daily-user-vols). Use the asmcli list
collection command to show the contents of the collection:
# asmcli list collection --name daily-user-vols
Name: daily-user-vols
Mount point: /source/VolA
Mount point: /source/VolB
Mount point: /source/VolC
Listing Collections
Use the asmcli list collection command to list all collections or a specific collection by a name. For information about
collections, see About Collections.
asmcli list collection Command Syntax
The command syntax is as follows:
# asmcli list collection
--name collection-name
The following table describes the optional command parameter.
Table 36. List Collection Optional Command Parameter
Parameter Argument Description
--name collection-name Specifies the name of the collection.
94 Auto-Snapshot Manager Command Line Interface