This command gives users the ability to restore a backup to a image or a qcow2
image. If the backup is based on a backing file, users should provide the backing file as a qcow2
image with --backing file
parameter.
Set the node which the output file should be placed on by replacing
<NODE_NAME>
, e.g.node1
.Set argument
output-file
by replacing<OUTPUT_FILE>
, e.g.volume.raw
orvolume.qcow2
.Set argument by replacing
<OUTPUT_FORMAT>
. The supported options areraw
orqcow2
.Execute the yaml using e.g.:
Watch the result using:
After the pod status changed to Completed
, you should able to find <OUTPUT_FILE>
at e.g. on the <NODE_NAME>
.