HP Storage Mirroring Software User Manual
Page 62
![background image](/manuals/397017/62/background.png)
5
-
16
5.
Add a new rule by using the
repset rule add
command.
6.
If you decide that you do not like the changes you have just made, you can use the
repset resync
command to
restore the previously saved settings, undoing your modifications.
7.
Save the replication set by using the
repset save
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 are recursively included or excluded
!
NONRECURSIVE
—All subdirectories and files are non-recursively included or excluded
!
repset
—Name of the replication set
Examples
repset rule add c:\exchange to “Exchange Repset”
Notes
!
The default settings for this command are include and recursive.
!
If you do not specify a replication set name, the current replication set will be used.
!
If the path begins with a non-alphabetic character or if the replication set name includes
non-alphanumeric characters, the path or name must be enclosed in quotation marks.
!
Verify what files can be included by reviewing
Replication Capabilities
on page 5-4.
NOTE:
You will lose any changes that you have made if you use the
repset resync
command.
Command
REPSET RESYNC
Description
Retrieves the last saved replication set settings from the source.
Syntax
REPSET RESYNC
Command
REPSET SAVE
Description
Saves all replication set rules for the currently selected source
Syntax
REPSET SAVE