How download / export disk image by shell

Aug 30, 2019
7
1
8
46
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.
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!