Append-only mode to external storage

workpush

New Member
Feb 6, 2023
14
2
3
Hello!

I'm using the current PBS 3.0.2. One of my Datastorages is a Hetzner Storagebox, which I have currently have mounted via CIFS.

I'm using the automatic snapshot mechanism from Storagebox: https://docs.hetzner.com/robot/storage-box/snapshots
which actually snapshots again my PBS backuped files on the Hetzner side. I'm doing that in case of that we get attacked and an attacker encrypts/deletes all that external PBS files, we at least can restore a snapshot from that system.

If I would set my storage box to "append-only" mode, where existing files can't get deleted by the client, could PBS handle that? Are existing backups somehow are getting modified?
Borg backup has that mechanism:
https://borgbackup.readthedocs.io/en/stable/usage/notes.html#append-only-mode-forbid-compaction
Also the Storagebox would support that:
https://docs.hetzner.com/robot/storage-box/access/access-ssh-rsync-borg#append-only-mode

Thank you!
Andreas
 
If I would set my storage box to "append-only" mode, where existing files can't get deleted by the client, could PBS handle that? Are existing backups somehow are getting modified?
Correct me if I am wrong, but from the docs it does not seem like you can set the storage box to 'append-only' mode. You can use Borg Backup in append-only mode on the storage box, but you cannot set the storage itself to be append-only.
 

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!