このコンテンツは選択した言語では利用できません。

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

The output of this command is compatible with the import options of the other fabric commands.
The regular expression options, -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/.*
Where a double-backslash, \\, is required to escape the period, ., so that the period gets interpreted as a character literal.

Arguments

Table 8.28, “fabric:export Arguments” describes the commands arguments.
Table 8.28. fabric:export Arguments
ArgumentInterpretation
--helpDisplays the online help for this command
-d,--deleteDelete the existing contents of the target directory before exporting. Caution: Performs a recursive delete!
-p,--pathTop-level znode to export. Default is /.
-f,--regexSpecifies 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-regexSpecifies 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,--trimTrims the first timestamp comment line in properties files starting with the # character.
--dry-runLog the actions that would be performed during an export, but do not actually perform the export.
targetPath of the directory to export to. Default is ./export.
Red Hat logoGithubRedditYoutubeTwitter

詳細情報

試用、購入および販売

コミュニティー

Red Hat ドキュメントについて

Red Hat をお使いのお客様が、信頼できるコンテンツが含まれている製品やサービスを活用することで、イノベーションを行い、目標を達成できるようにします。

多様性を受け入れるオープンソースの強化

Red Hat では、コード、ドキュメント、Web プロパティーにおける配慮に欠ける用語の置き換えに取り組んでいます。このような変更は、段階的に実施される予定です。詳細情報: Red Hat ブログ.

会社概要

Red Hat は、企業がコアとなるデータセンターからネットワークエッジに至るまで、各種プラットフォームや環境全体で作業を簡素化できるように、強化されたソリューションを提供しています。

© 2024 Red Hat, Inc.