Make modifications to a replication set when you want to change the data you wish to protect.
-
View the replication sets associated with the active source machine by using the
repset list command.
Command
REPSET LIST
Description
Lists all replication set names for the currently selected source
Syntax
REPSET LIST
-
Identify a replication set as active by using the
repset use command.
Command
REPSET USE
Description
Specifies a replication set as the active replication set
Syntax
REPSET USE <repset>
Options
repset—Name of the replication set
Examples
repset use DataFiles
Notes
Replication set names that contain non-alphanumeric characters must be enclosed in quotation marks.
-
View the replication set’s rules by using the
repset display command.
Command
REPSET DISPLAY
Description
Displays the replication set rules
Syntax
REPSET DISPlay [repset]
Options
repset—Name of the replication set
Examples
- repset display DataFiles
- repset disp DataFiles
Notes
-
If you do not specify a replication set name, the current replication set will be used.
- Replication set names that contain non-alphanumeric characters must be enclosed in quotation marks.
-
Remove the existing rule that you need to change using the
repset rule 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 "/data" from DataFiles
- repset rule rem "/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.
-
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 "/data" to DataFiles
- repset rule add "/temp" exc rec to DataFiles
Notes
-
The default settings for this command are include and recursive.
- The options include/exclude and recursive/nonrecursive can be used in any combination and in any order. The first option does not require a comma, but the second option does require a comma before the option.
- 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.
-
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.
Command
REPSET RESYNC
Description
Retrieves the last saved replication set settings, clearing any unsaved changes
Syntax
REPSET RESYNC
-
Save the replication set by using the
repset save command.
Command
REPSET SAVE
Description
Saves all replication set rules for the currently selected source
Syntax
REPSET SAVE