prepop share policy file-name
Adds a filename rule to the policy.
Syntax
prepop share policy remote-path <remote-path> policy-name <policy-name> file-name <file-name> compare-op {matches |not-matches}
Parameters
remote-path <remote-path> | Specifies the remote path of the share. Use the format '\\server\share'. |
policy-name <policy-name> | Specifies a policy name. |
<file-name> | Specifies a filename or a list of filenames separated by semicolons. The filename can contain a wildcard character: for example, *001.doc; *pdf. |
compare-op | Specifies the compare operator: • matches—Matches the filename. • not-matches—Does not match the filename. |
Usage
This command performs prepopulation synchronization based on files matching a regular expression.
Example
The following example shows a policy with a rule that synchronizes all files matching a*.doc and a*.pdf file names:
amnesiac (config) # prepop share policy share-name '\\10.11.61.66\backup' policy-name prepoppolicy file-name 'a*.doc;a*.pdf' compare-op matches
Product
SteelHead, SteelHead-v, SteelHead-c
Related Commands