NOVA CLI reference 0.5.0 GitHub
  1. nova
  2. nova flow
  3. nova flow backup

nova flow backup restore

Restore a backup to the cell

Synopsis

Restores a backup made with 'nova flow backup download' to the cell: globals first, then flows, then (with --include-objects) objects.

Flows, globals and objects that already exist are kept unless --overwrite is given. Use --dry-run to see what would be created, replaced or kept. Restored flows get new revisions and timestamps.

A warning is printed when the backup was made with another NovaFlow version: flows are restored unchanged, so flows of an older tree format may need migrating on the instance.

nova flow backup restore <filename> [flags]

Examples

# see what would be created, replaced or kept
nova flow backup restore novaflow-backup.tar.gz --dry-run

# restore what is missing, keep what exists
nova flow backup restore novaflow-backup.tar.gz

# put two flows back to the state of the backup, leave the globals alone
nova flow backup restore novaflow-backup.tar.gz --only pick-and-place,place --overwrite --skip-globals

# on a fresh cell: install NovaFlow without asking, then restore everything including objects
nova flow backup restore novaflow-backup.tar.gz --include-objects --yes

Options

      --dry-run           Only show what would be restored
  -h, --help              help for restore
      --include-objects   Restore the objects in the backup to the cell object store
      --only strings      Only restore these flow ids (comma-separated)
  -o, --output format     Output format: text or json (default text)
      --overwrite         Replace existing flows, globals and objects (default: keep them)
      --skip-globals      Don't restore globals

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