Skip to content

keeper restore

keeper restore

Create a Restore (sandbox, new database, in place or download)

keeper restore <namespace>/<target> [flags]

Examples

  keeper restore team/app --at 2026-01-02T03:04:05Z --wait
  keeper restore team/app --at 20260102T020000Z-1a2b3c --to new --host db.team.svc --database app_copy --credentials-secret keeper-admin
  keeper restore team/app --at latest --to in-place --confirm app --credentials-secret keeper-admin

Options

      --at string                   time (RFC3339, UTC), backup id, or latest (default "latest")
      --confirm string              in place: the target name, to confirm
      --credentials-secret string   admin credentials secret (new / in-place)
      --database string             new database: name to create
      --expose                      expose the sandbox through the tunnel
  -h, --help                        help for restore
      --host string                 new database: server host
  -o, --output string               output format: table, json or yaml (default "table")
      --port int                    new database: server port
      --reason string               reason (audited)
      --server keeper login         Keeper API URL (default: saved by keeper login, or $KEEPER_SERVER)
      --skip-safety-backup          in place: skip the safety backup (not recommended)
      --tables strings              only these tables
      --timeout duration            how long --wait waits (default 30m0s)
      --to string                   destination: sandbox, new, in-place or download (default "sandbox")
      --token string                Access token (default: saved, or $KEEPER_TOKEN)
      --ttl string                  sandbox TTL (for example 6h, 3d)
      --wait                        wait until the restore finishes

SEE ALSO

  • keeper - Keeper: database backup and restore for Kubernetes