summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
77b24c6)
if we have a format, give it to pbs-restore too
fixes restore of non-raw (e.g. qcow2) images
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
+ push @$pbs_restore_cmd, '--format', $d->{format} if $d->{format};
+
if (PVE::Storage::volume_has_feature($storecfg, 'sparseinit', $volid)) {
push @$pbs_restore_cmd, '--skip-zero';
}
if (PVE::Storage::volume_has_feature($storecfg, 'sparseinit', $volid)) {
push @$pbs_restore_cmd, '--skip-zero';
}