Restore question - networkless file transfer

stevehxyz

New Member
Nov 30, 2024
3
1
3
Hi,
I've only just started playing with proxmox, so excuse what is probably a very basic question!

If I'm backing up VMs and then need to restore a file or directory, I restore the VM to a new VM, disconnect the networking, as maybe it has a static IP or will conflict by being on the normal network.

Then how do I transfer files out of the restored VM?
I can't see any QEMU tools that appear to support this?
Have I missed something somewhere?

Thanks in advance for any pointers.
 
Then how do I transfer files out of the restored VM?
Well, there is no need to restore the complete VM. You ask to get files out of the backup. For my setup I do this - on the PVE, not on the PBS:
  • select the still present VM on the PVE
  • go to "Backup" and select the correct storage in the top right top down menu
  • now I see all backups and I can select one
  • after selecting the specific backup the button "File Restore" at the top row is enabled
  • inside the "File Restore - vm/1234/2014-11-28......." I need to drill down to the specific file, e.g. "drive-scsi0.img.fidx/part/1/etc/passwd"
  • when I select a file the "Download" button at the bottom right gets enabled
This works as long the filesystem inside the selected partition is known by PVE.

:-)
 
  • Like
Reactions: stevehxyz
That's superb, thanks so much for that info.
I'll go and check what file system formats it knows about in the docs.

Out of interest, if I have a month of backups and a file existed for say 24 hours, is there a way fo searching all the backups for that file to find out which ones it existed on?
 
Thanks for your responses.

I'll take a look at what is available in the API, about time I paid something back!
 
  • Like
Reactions: UdoB

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!