Michael Delzer Updated by Michael Delzer

Create parameters for restore from bundle


Transform backup bundle(s) into parameters manifest. Multiple bundles will be merged with priority determined by file order on command-line (from left to right). Components can be renamed, included and excluded. Parameters can be saved into multiple files and also sent to S3.

hub backup unbundle bundle.yaml [bundle2.yaml ...] -o restore-params.yaml[,s3://bucket/params.yaml] [flags]


  -e, --erase string          Components to omit from parameters file, for example -e etcd,vault
-h, --help help for unbundle
-i, --include-only string Include only specified components, for example -i postgresql,postgresql-rds
-o, --output string Parameters output file(s), optionally write to S3 (default to stdout)
-r, --rename string Components to rename, for example -r pg1:postgresql,pg2:postgresql-rds

Options inherited from parent commands

      --all-warnings                   Repeat all warnings before [successful] exit (default true)
--api string Hub API service base URL, HUB_API (default "")
--aws_profile string AWS ~/.aws/credentials profile, AWS_PROFILE (default "agilestacks")
--aws_region string AWS region hint (for S3 state access), AWS_DEFAULT_REGION (default "us-east-2")
--aws_use_iam_role_credentials Try EC2 instance credentials (default true)
--cache string API cache file (default is $HOME/.automation-hub-cache.yaml)
--compressed Write gzip compressed files (default true)
--config string Config file (default is $HOME/.automation-hub.{yaml,json})
-d, --debug Print debug info. Or set HUB_DEBUG=1
--encrypted string Write encrypted files if HUB_CRYPTO_PASSWORD is set. true / false (default "if-password-set")
-f, --force Force operation despite of errors. Or set HUB_FORCE=1
--log-destination string stderr or stdout (default "stderr")
-t, --trace Print detailed trace info. Or set HUB_TRACE=1
-v, --verbose Verbose mode (default true)


Create and manage backups, hub_backup Click Here

How did we do?


Installing the Hub CLI Tool