Dell EqualLogic PS6210S EqualLogic Auto-Snapshot Manager/Microsoft Edition Ver - Page 112

ASMCLI -createCollection, ASMCLI -delete, Command Syntax, Examples, Using -delete With Cloud Services

Page 112 highlights

> ASMCLI -configureCHAP -group=TestGroup -chapuser=username -secret=password -vssvds ASMCLI -createCollection The ‑createCollection command creates and validates a new collection from a list of volumes or components. ASMCLI handles collection creation differently than the ASM/ME GUI . If you use ASMCLI to create a collection and specify a list of volumes, the collection will contain all the volumes and every component that is fully contained on those volumes. If you specify a list of components, the collection will contain all the component and every volume that those components use. Command Syntax ASMCLI -createcollection -collection="collection_name" [-volume={"drive" | "mount_point"} -component="component_name"] -volumeBased={"Yes"|"No"} For a description of the parameters, see ASMCLI -createCollection. Examples • Create a collection Test Collection 1 containing volumes E:\ and F:\ and add any components contained on the volumes. > ASMCLI -createcollection -collection="Test Collection 1" -volume=e:\;f:\ • Create a collection Test Collection 2 containing components Mailbox Database A and Mailbox Database B and add the volumes for the components to the collection. > ASMCLI -createcollection -collection="Test Collection 2" -component="Mailbox Database A;Mailbox Database B" ASMCLI -delete Specify the ‑delete subcommand to delete an existing Smart Copy and all its data. Use optional parameters to specify the Smart Copy set to delete by: • Backup document path • Originating volume or component or collection with the useLatest or useEarliest option. Using -delete With Cloud Services The -delete command can be run on existing external replicas. When the delete is complete, the associated data with that Smart Copy will be deleted from the cloud. Note that deletes are much harder to verify on the cloud, because the data merges to other existing snapshots when the deletion is performed. Deletes for external replicas are not instantaneous. The delete operation does not complete until the data is successfully merged on the external cloud provider. Command Syntax ASMCLI -delete [{-document="path"| -volume={"drive" |"mount_point"| -component="component_name" | -collection="collection_name"| -writer="writer_name" | -objectID="identifier"}] [{-useLatest | -useEarliest | -all}] [-email | -noemail] -retry=n For a description of these parameters, see Command Parameters. Examples • Delete the Smart Copy backup document 6666‑7777‑888.bcd 112 Using the Command Line Interface

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70
  • 71
  • 72
  • 73
  • 74
  • 75
  • 76
  • 77
  • 78
  • 79
  • 80
  • 81
  • 82
  • 83
  • 84
  • 85
  • 86
  • 87
  • 88
  • 89
  • 90
  • 91
  • 92
  • 93
  • 94
  • 95
  • 96
  • 97
  • 98
  • 99
  • 100
  • 101
  • 102
  • 103
  • 104
  • 105
  • 106
  • 107
  • 108
  • 109
  • 110
  • 111
  • 112
  • 113
  • 114
  • 115
  • 116
  • 117
  • 118
  • 119
  • 120
  • 121
  • 122
  • 123
  • 124
  • 125
  • 126
  • 127
  • 128
  • 129
  • 130
  • 131
  • 132
  • 133
  • 134

> ASMCLI -configureCHAP -group=TestGroup -chapuser=username -secret=password -vssvds
ASMCLI -createCollection
The
createCollection
command creates and validates a new collection from a list of volumes or components. ASMCLI handles
collection creation differently than the ASM/ME GUI . If you use ASMCLI to create a collection and specify a list of volumes, the collection
will contain all the volumes and every component that is fully contained on those volumes. If you specify a list of components, the
collection will contain all the component and every volume that those components use.
Command Syntax
ASMCLI -createcollection
-collection="
collection_name
"
[-volume={"
drive
" | "
mount_point
"}
-component="
component_name
"]
-volumeBased={"Yes"|"No"}
For a description of the parameters, see
ASMCLI -createCollection
.
Examples
Create a collection Test Collection 1 containing volumes
E:\
and
F:\
and add any components contained on the volumes.
> ASMCLI -createcollection -collection="Test Collection 1" -volume=e:\;f:\
Create a collection Test Collection 2 containing components Mailbox Database A and Mailbox Database B and add the volumes for the
components to the collection.
> ASMCLI -createcollection -collection="Test Collection 2" -component="Mailbox Database
A;Mailbox Database B"
ASMCLI -delete
Specify the
delete
subcommand to delete an existing Smart Copy and all its data.
Use optional parameters to specify the Smart Copy set to delete by:
Backup document path
Originating volume or component or collection with the
useLatest
or
useEarliest
option.
Using -delete With Cloud Services
The
-delete
command can be run on existing external replicas. When the delete is complete, the associated data with that Smart Copy
will be deleted from the cloud. Note that deletes are much harder to verify on the cloud, because the data merges to other existing
snapshots when the deletion is performed. Deletes for external replicas are not instantaneous. The delete operation does not complete
until the data is successfully merged on the external cloud provider.
Command Syntax
ASMCLI -delete
[{-document="
path
"|
-volume={"
drive
" |"
mount_point
"|
-component="
component_name
" |
-collection="
collection_name
"|
-writer="writer_name" |
-objectID="
identifier
"}]
[{-useLatest | -useEarliest | -all}] [-email | -noemail] -retry=
n
For a description of these parameters, see
Command Parameters
.
Examples
Delete the Smart Copy backup document
6666
7777
888.bcd
112
Using the Command Line Interface