px pxe snapshot
Create snapshots of Portworx resources
Aliases: snap
note
The following commands support a set of global flags that apply to all px pxe commands.
For details, see the Global Flags section.
px pxe snapshot volume
Create a snapshot for the specified volume
Aliases: volumes, vol
Examples:
# Create a snapshot named mysnap for the specified volume "myvol":
kubectl px pxe snapshot volume myvol mysnap --labels color=blue,fabric=wool
Flags
| Flag | Input type | Description | Default | Required |
|---|---|---|---|---|
--labels | string | Comma separated list of labels as key-value pairs: 'k1=v1,k2=v2' | - | Optional |