tenax restore
tenax restore¶
Create a Restore (sandbox, new database, in place or download)
Examples¶
tenax restore team/app --at 2026-01-02T03:04:05Z --wait
tenax restore team/app --cpu 2 --memory 8Gi --size 50Gi --storage-class local-path
tenax restore team/app --at 20260102T020000Z-1a2b3c --to new --host db.team.svc --database app_copy --credentials-secret tenax-admin
tenax restore team/app --at latest --to in-place --confirm app --credentials-secret tenax-admin
Options¶
--at string time (RFC3339, UTC), backup id, or latest (default "latest")
--confirm string in place: the target name, to confirm
--cpu string sandbox CPU request, for example 500m or 2 (default: the target's, then the installation's)
--credentials-secret string admin credentials secret (new / in-place)
--database string new database: name to create
--expose open external access to the sandbox (as expose.provider sets it up)
-h, --help help for restore
--host string new database: server host
--memory string sandbox memory, request and limit, for example 4Gi
-o, --output string output format: table, json or yaml (default "table")
--port int new database: server port
--reason string reason (audited)
--server tenax login Tenax API URL (default: saved by tenax login, or $TENAX_SERVER)
--size string sandbox data volume, for example 20Gi (default: twice the backup's data, at least 1Gi)
--skip-safety-backup in place: skip the safety backup (not recommended)
--storage-class string put the sandbox's data on a PVC of this storage class
--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 $TENAX_TOKEN)
--ttl string sandbox TTL (for example 6h, 3d)
--wait wait until the restore finishes
SEE ALSO¶
- tenax - Tenax: database backup and restore for Kubernetes