File level restore for Windows Guests (NTFS)

Jan 25, 2021
30
0
11
Hello,

I am new to Proxmox VE. At the moment I am evaluating, if there are any pitfalls in migrating our production environment of three ESXi-servers and one VEEAM Backup & Replication server to a corresponding Proxmox VE cluster and one Proxmox Backup Server.

My first impressions seem to be very convincing ... the only thing I am worrying about at the moment are some Windows 2016 Servers with data storages of 1-2 TB file data ... it seems to be very impractical to restore the whole VM to another ID, if only some files have to be restored from a snapshot several days ago.

Is there - at least - a (shell-) workaround to restore individual files or folders of a NTFS volume backuped by Proxmox Backup Server? Are there any plans to introduce a "file level guest restore" in the near future?

Best regrads,
mscd
 
Last edited:
Is there - at least - a (shell-) workaround to restore individual files or folders of a NTFS volume backuped by Proxmox Backup Server?
Yes it is, pbs01 is the Name of my Storage (192.168.25.234) under PVE. The rest should be self explanatory...

Code:
# List backups:
proxmox-backup-client list --repository root@pam@192.168.25.234:8007:pbs01

┌────────┬─────────────────────────────┬──────────────┬────────────────────────────────────────────────────────────────────────────────────────┐
│ group  │ last snapshot               │ backup-count │ files                                                                                  │
╞════════╪═════════════════════════════╪══════════════╪════════════════════════════════════════════════════════════════════════════════════════╡
...
├────────┼─────────────────────────────┼──────────────┼────────────────────────────────────────────────────────────────────────────────────────┤
│ vm/303 │ vm/303/2020-12-23T13:53:04Z │            2 │ client.log drive-ide0.img index.json qemu-server.conf                                  │
├────────┼─────────────────────────────┼──────────────┼────────────────────────────────────────────────────────────────────────────────────────┤
...

# Map a snapshot (/dev/loop0):
proxmox-backup-client map vm/303/2020-12-23T13:53:04Z drive-ide0.img --repository root@pam@192.168.25.234:8007:pbs01

# List block devices:
lsblk

NAME                                       MAJ:MIN RM  SIZE RO TYPE MOUNTPOINT
loop0                                        7:0    0  500G  1 loop
├─loop0p1                                  259:0    0    1G  1 part
└─loop0p2                                  259:1    0  499G  1 part

# Create mountpoint:
mkdir /media/w2019

# Mount (Windows Server 2019):
mount.ntfs /dev/loop0p2 /media/w2019/ -o ro

# You can reach your files now under:
/media/w2019/

# Unmount:
cd /root
umount /dev/loop0

# Unmap:
proxmox-backup-client unmap /dev/loop0
 
Last edited:
  • Like
Reactions: entilza

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!