Restore to FAT32

ojaksch

Renowned Member
Oct 11, 2015
200
46
93
Germany/Earth
I regulary backup a bunch of SD cards and other medias, which in this case are having FAT32 partitions, to PBS by mounting the media and doing a simple
Code:
proxmox-backup-client backup BACKUPNAME.pxar:MOUNTPATH --backup-id BACKUPNAME
to the appropriate repository. This is working great and blazing fast in contrary to cp or rsync.

But restoring the pxar to a FAT32 mounted media fails and exits right after the 1st file with
Code:
Error: error extracting archive - error at entry "FILENAME": failed to set ownership: Operation not permitted (os error 1)
This is comprehensible as FAT lacks of typical permissions, ownerships, xattrs etc.pp. I bypass this circumstance by restoring to a tmpfs and moving the files to the mounted media, but this is contradictory in my eyes. What I'm missing here is a parameter like "ignore special permissions" or "ignore errors and continue".
Or is there another option that I may not be seeing right now?
 
Asking good questions and helping yourself is a great thing, even after a good breakfast and after a glass of fresh beer this hot sunday noon :)
Leaving the question above open I've managed to restore things to a FAT mounted device by
Code:
proxmox-backup-client restore host/BACKUPNAME BACKUPNAME.pxar - | pxar extract - /mnt/fat32card
This is also working fine and faaaast, despite that it's throwing masses of failed to set ownership: Operation not permitted (os error 1) messages, but it's working. So question itself solved but leaving open a request for a parameter ("ignore errors") to proxmox-backup-client.

Yes? Maybe? Or "Computer says NO"?
 
yes, i think a 'ignore metadata errors' (chown/xattrs/acls/...) would make sense
would you mind opening an enhancement request: https://bugzilla.proxmox.com
(maybe there is already such a request, can't remember right now)
 

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!