Dieser Inhalt ist in der von Ihnen ausgewählten Sprache nicht verfügbar.
fabric:export
Name
fabric:export — export the contents of the Fabric Registry to the specified directory in the filesystem
Synopsis
fabric:export
[
--help
] [
-d|--delete
] [
-p|--path path
] [
-f|--regex regex
] [
-rf|--reverse-regex regex
] [
-t|--trim
] [
--dry-run
] {
target
}
Description
fabric
commands.
-f
and -rf
, provide you with considerable flexibility at specifying which parts of the Fabric Registry to export. For example, to export every version of the default
profile's data, you could use a command like the following:
fabric:export -f /fabric/configs/versions/[0-9\\.]*/profiles/default/.*
\\
, is required to escape the period, .
, so that the period gets interpreted as a character literal.
Arguments
Argument | Interpretation |
---|---|
--help | Displays the online help for this command |
-d,--delete | Delete the existing contents of the target directory before exporting. Caution: Performs a recursive delete! |
-p,--path | Top-level znode to export. Default is / . |
-f,--regex | Specifies a regular expression that matches the znode paths you want to include in the export. For multiple include expressions, specify this option multiple times. The regular expression syntax is defined by the java.util.regex package. |
-rf, --reverse-regex | Specifies a regular expression that matches the znode paths you want to exclude from the export. For multiple exclude expressions, specify this option multiple times. The regular expression syntax is defined by the java.util.regex package. |
-t,--trim | Trims the first timestamp comment line in properties files starting with the # character. |
--dry-run | Log the actions that would be performed during an export, but do not actually perform the export. |
target | Path of the directory to export to. Default is ./export . |