HP StorageWorks Storage Mirroring Recover Scripting Guide (T5437-96009, November 2009)
20 of 332
4. Remove the existing rule that you need to change using the repsetrule remove
command.
Command REPSET RULE REMOVE
Description Removes a rule from a replication set
Syntax REPSET RULE REMove <path> [FROM <repset>]
Options
● path—Volume, directory, wild card, and/or file name
● repset—Name of the replication set
Examples
● repset rule remove "c:\data" from DataFiles
● repset rule rem "c:\temp"
Notes
● If you do not specify a replication set name, the current
replication set will be used.
● Options that contain non-alphanumeric characters must be
enclosed in quotation marks.
5. Add a new rule by using the repset rule add command.
Command REPSET RULE ADD
Description
Adds a rule to a replication set. A rule is the specification of a path
including volume, directories, wild cards, and/or file names.
Syntax
REPSET RULE ADD <path> [INClude|EXClude] [,
RECursive|NONRECursive] [TO <repset>]
Options
● path—Volume, directory, wild card, and/or file name
● INClude—Include the specified path in the replication set
● EXClude—Exclude the specified path in the replication set
● RECursive—All subdirectories and files of the specified path
are recursively included or excluded
● NONRECursive—No subdirectories and files of the specified
path are included or excluded
● repset—Name of the replication set
Examples
● repset rule add "c:\data" to DataFiles
● repset rule add "c:\temp" exc rec to DataFiles