vzdump backup to s3fs

Dec 23, 2021
5
1
8
51
Just discovered this crazy thing: you can mount from Proxmox a S3-compatible object storage and backup to it using vzdump (and therefore externalize your backups instead of having them locally)

Amazing

Unfortunately, when trying to backup to a fstab mounted S3 filesystem, I get an error "cannot rename" from .dat to .zst the VM file that has been backed up, and the back fail miserably. What is NOT renamed, though, is correctly uploaded to my S3 bucket.

I tried many options in my fstab, one of the config that is working is: ml30-vm-backup /mnt/Storj_S3 fuse.s3fs _netdev,allow_other,passwd_file=/etc/passwd-s3fs,url=https://gateway.storjshare.io/ 0 0

Any idea?

FYI, I used those two nice explanations to set this up, if any one is interested:
https://blog.waccabac.com/sauvegarde-proxmox-sur-stockage-s3-scaleway/
https://www.reddit.com/r/homelab/comments/5m4fna/backing_up_proxmox_to_s3_or_glacier_what_is_the/
 
Last edited:
Hi, I've deal with somwething similar a few days back. While I am still looking for a proper solution (rclone w/ s3 maybe) but I was able to do the following:
- download the .dat file
- re-upload the same file but now renamed, so now it is a .zst file.
- It shows up under "backups" in proxmox.
 

Attachments

  • image.png
    image.png
    41.5 KB · Views: 8

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!