Snapshot Definition Create
caepe snapshot definition create↑
Create a snapshot definition
caepe snapshot definition create [flags]
Options↑
--default-cluster string Default cluster to restore to
--delete-instance Delete the backup instance in the cluster once restored
-h, --help help for create
--label stringToString Label to filter items to backup. Should be in the format KEY=VALUE (default [])
--location string Backup location to use. (required)
-n, --name string Name of the definition. (required)
--namespace strings Namespace to backup
--pvc stringToString PVCs to backup up. Format is NAMESPACE=PVC-NAME (default [])
--remove-instance Delete the snapshot instance from the CAEPE cluser once restored
--resource strings Resource to backup
-s, --source string Source cluster to take backup from. (required)
--testrun string Test run to execute post restoration
Options inherited from parent commands↑
--config string config file path (default /$HOME/.caepe/config)
--debug output debug logs
--dry-run do not send the request to server
--hostname string hostname of caepe. (required)
--organization string organization to interact with. (required)
--raw-output show raw output
--scheme string Choose from: [https http] (default "https")
--skip-tls ignore tls certificate verification
SEE ALSO↑
- caepe snapshot definition - Snapshot definition commands