From 087fed84fa1bb6a6475d1d3a990aae44c28b217f Mon Sep 17 00:00:00 2001 From: Amber Xu Date: Mon, 8 Dec 2025 18:16:46 -0800 Subject: [PATCH] Update --export-package flag description --- cmd/backup.go | 2 +- docs/fmeflow_backup.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/cmd/backup.go b/cmd/backup.go index a08029e..d4f1b62 100644 --- a/cmd/backup.go +++ b/cmd/backup.go @@ -66,7 +66,7 @@ func newBackupCmd() *cobra.Command { cmd.Flags().StringVarP(&f.outputBackupFile, "file", "f", "ServerConfigPackage.fsconfig", "Path to file to download the backup to.") cmd.Flags().BoolVar(&f.backupResource, "resource", false, "Backup to a shared resource instead of downloading.") cmd.Flags().StringVar(&f.backupResourceName, "resource-name", "FME_SHAREDRESOURCE_BACKUP", "Shared Resource Name where the exported package is saved.") - cmd.Flags().StringVar(&f.backupExportPackage, "export-package", "ServerConfigPackage.fsconfig", "Path and name of the export package.") + cmd.Flags().StringVar(&f.backupExportPackage, "export-package", "ServerConfigPackage.fsconfig", "Path and name of the export package when backing up to a shared resource. Must be used with --resource.") cmd.Flags().StringVar(&f.backupFailureTopic, "failure-topic", "", "Topic to notify on failure of the backup. In V3, default is MIGRATION_ASYNC_JOB_FAILURE") cmd.Flags().StringVar(&f.backupSuccessTopic, "success-topic", "", "Topic to notify on success of the backup. In V3, default is MIGRATION_ASYNC_JOB_SUCCESS") cmd.Flags().BoolVar(&f.suppressFileRename, "suppress-file-rename", false, "Specify this flag to not add .fsconfig to the output file automatically") diff --git a/docs/fmeflow_backup.md b/docs/fmeflow_backup.md index 90aab3d..8487889 100644 --- a/docs/fmeflow_backup.md +++ b/docs/fmeflow_backup.md @@ -25,7 +25,7 @@ fmeflow backup [flags] ``` --api-version string The api version to use when contacting FME Server. Must be one of v3 or v4 - --export-package string Path and name of the export package. (default "ServerConfigPackage.fsconfig") + --export-package string Path and name of the export package when backing up to a shared resource. Must be used with --resource. (default "ServerConfigPackage.fsconfig") --failure-topic string Topic to notify on failure of the backup. In V3, default is MIGRATION_ASYNC_JOB_FAILURE -f, --file string Path to file to download the backup to. (default "ServerConfigPackage.fsconfig") -h, --help help for backup