HP Storage Mirroring Software User Manual
Page 57
5
-
11
3.
Define a replication set rule by using the
repset rule add
command.
4.
Repeat the
repset rule add
command to completely define your replication set.
5.
If you need to remove a rule, use the
repset rule remove
command.
6.
After you have added all of the rules, 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.
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:\exchange from “Exchange Repset”
Notes
!
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.
Command
REPSET SAVE
Description
Saves all replication set rules for the currently selected source
Syntax
REPSET SAVE
NOTE:
To connect this replication set to a target machine, continue with
Establishing a new connection
on page 6-13.