pcloud compute instances capture
Capture a VM Instance and create a deployable Image
Synopsis
Capture a VM Instance and create a deployable Image. Note that InstanceID can be used as parameter instead of InstanceName.
pcloud compute instances capture <InstanceName> --destination image-catalog --name <ImageName>
pcloud compute instances capture <InstanceName> --destination [cloud-storage|both] --name <ImageName> --bucketname <Bucket> --accesskey <AccessKey> --secretkey <SecretKey> [flags]
Options
-a, --accesskey string Cloud Storage Access Key
-b, --bucketname string Cloud Storage Bucket (bucket name plus optional folders): bucket-name[/folder/../..]
-d, --destination string Destination for the Deployable Image (must be one of {'image-catalog', 'cloud-storage', 'both'}) (required)
-h, --help help for capture
-n, --name string Name for the Deployable Image created from the Captured Instance (required)
-s, --secretkey string Cloud Storage Secret Key
-k, --taskID Display the taskID of the command to follow the progression
-v, --volume strings Data volumes you want to include in the capture (several --volume allowed, note that 'VolumeID' or 'VolumeName' can be used, optional).
Options inherited from parent commands
-F, --format string Available formats: 'table', 'yaml', 'json', 'csv'.
Default is command specific.
Can be used with describe and list subcommands.
-D, --log.dir string Override Log file directory
-L, --log.file string Override Log file name
-V, --verbosity string Override Log verbosity
SEE ALSO
- pcloud compute instances - VM Instances management commands