Saltar a contenido

tenax undo

tenax undo

Undo the last in-place restore (restores the state it replaced)

Synopsis

Undo restores, in place, the state that the last in-place restore of the target replaced (its safety backup). It is an ordinary in-place restore: it needs restorer-admin, the target name typed as confirmation, an admin credentials secret and a reason, and it takes a new safety backup first, so it can be undone too.

tenax undo <namespace>/<target> [flags]

Examples

  tenax undo team/app --confirm app --credentials-secret tenax-admin --reason "restored the wrong point"

Options

      --confirm string              the target name, as confirmation
      --credentials-secret string   admin credentials secret in the target namespace
  -h, --help                        help for undo
  -o, --output string               output format: table, json or yaml (default "table")
      --reason string               why (required, audited)
      --server tenax login          Tenax API URL (default: saved by tenax login, or $TENAX_SERVER)
      --timeout duration            how long --wait waits (default 30m0s)
      --token string                Access token (default: saved, or $TENAX_TOKEN)
      --wait                        wait for the restore to finish

Options inherited from parent commands

      --lang string   language of this run's output, for example es or es_MX (over TENAX_LANG and the configured language)

SEE ALSO

  • tenax - Tenax: database backup and restore for Kubernetes