tenax volumes restore
tenax volumes restore¶
Create a new PVC from a snapshot (never overwrites a volume)
Options¶
--at string time (RFC3339, UTC): the newest snapshot at or before it (default: the newest)
--copy string a copy ID instead of --at (implies --from copy)
--from string snapshot (default) or copy: restore from the S3 copy, after losing the storage or the cluster
-h, --help help for restore
-o, --output string output format: table, json or yaml (default "table")
--pvc string the target's PVC to restore
--reason string reason (audited)
--server tenax login Tenax API URL (default: saved by tenax login, or $TENAX_SERVER)
--size string size of the new PVC (default: enough for the data)
--snapshot string a VolumeSnapshot name instead of --at
--storage-class string storage class of the new PVC (default: the source's)
--timeout duration how long --wait waits (default 30m0s)
--to string name of the new PVC
--token string Access token (default: saved, or $TENAX_TOKEN)
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 volumes - Show the volumes Tenax snapshots, and restore one into a new PVC