Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion cmd/backup.go
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down
2 changes: 1 addition & 1 deletion docs/fmeflow_backup.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down