How download / export disk image by shell

Aug 30, 2019
7
1
8
47
Imola, Italy
Hello and Happy New Year!

Is it possible to save a disk image by shell like from web gui?

1609752176302.png

I would like to create a script that export and saves it on a USB disk or network share.

Thanks!
 
  • Like
Reactions: giodede
as my colleague wrote, you can use the proxmox-backup-client to restore the disk ... just check out the documentation he linked
 
as my colleague wrote, you can use the proxmox-backup-client to restore the disk ... just check out the documentation he linked
We don't need to restore the vm, we need to export the file .img using CLI. When we press the button we can save in local drive the disk as .img file. We need to do that with a script.
 
when you use the proxmox-backup-client, you can restore any part of the backup into a file (the img file too). please read the docs, it's explained there.