Download a backup of the cell's flows and globals
Synopsis
Downloads the cell's flows and globals into a .tar.gz file (default: novaflow-backup.tar.gz). Flows read globals such as poses and TCPs, so both are saved.
With --include-objects, the cell object store is saved too. The object store is shared by all apps of the cell, so it can be large and contain data of other apps; --object-prefix narrows it down. NovaFlow keeps the flows themselves in the object store under trees/: those keys are left out, the flows are saved through NovaFlow instead.
If NovaFlow reports flows it can't read, the backup is still written, lists them in its manifest, and the command fails.
nova flow backup download [filename] [flags]
Examples
# flows and globals into novaflow-backup.tar.gz
nova flow backup download
# into a dated file, including the objects of one app in the cell object store
nova flow backup download cell-$(date +%F).tar.gz --include-objects --object-prefix maps/
# look inside
tar xzOf novaflow-backup.tar.gz manifest.json
Options
-h, --help help for download
--include-objects Include the cell object store (shared by all apps of the cell)
--object-prefix string Only include objects whose key starts with this prefix
-o, --output format Output format: text or json (default text)
Options inherited from parent commands
--debug Write diagnostic output to stderr: HTTP requests and responses, external commands, the resolved instance. Known secrets are redacted, but bodies (app environments, kubeconfigs) can still contain some: don't share the output unreviewed (env: NOVA_DEBUG=1)
--env string (Wandelbots internal) Portal environment for this invocation: prod, stg or dev (default: the environment of the cloud instance, else of the last 'nova login'; env: NOVA_ENV)
--insecure-skip-tls-verify If true, the server's certificate will not be checked for validity (disables TLS verification for all requests)
--instance string Name of the instance to work against for this invocation (overrides the selected instance; env: NOVA_INSTANCE)
-y, --yes Answer yes to questions, e.g. to install NovaFlow when it is missing
SEE ALSO
- nova flow backup - Back up and restore flows, globals and the cell object store