tenax sandbox create
tenax sandbox create¶
Restore several targets into one sandbox at one point in time (multi-database sandbox)
Examples¶
tenax sandbox create --member shop/orders --member shop/payments --member shop/inventory --wait
tenax sandbox create --member shop/orders=orders_ --member billing/orders=billing_ --at 2026-10-20T14:02:58Z
tenax sandbox create --member shop/orders --member shop/payments@20261020T020000Z-1a2b3c --ttl 1d
Options¶
--at string time (RFC3339, UTC) every member is restored to, or the newest point before it (default: the newest time all members reach)
--cpu string sandbox CPU request, for example 500m or 2 (default: the target's, then the installation's)
--expose open external access to the sandbox (as expose.provider sets it up)
-h, --help help for create
--member stringArray a target to restore: namespace/target, =prefix renames its databases (Postgres), @backup-id pins one backup
--memory string sandbox memory, request and limit, for example 4Gi
-o, --output string output format: table, json or yaml (default "table")
--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: what the members need together, rounded up to GiB; a smaller size is refused)
--storage-class string put the sandbox's data on a PVC of this storage class
--timeout duration how long --wait waits (default 30m0s)
--token string Access token (default: saved, or $TENAX_TOKEN)
--ttl string sandbox TTL (for example 6h, 3d)
--wait wait until every member is restored
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 sandbox - Manage sandboxes (create, list, show, extend, delete, expose, unexpose, connect)