Ceph (incremental)backup

This is more a ceph question then a Proxmox question I guess.
But I want to backup images in my Ceph pool for offsite backup so preferably incremental how would one do this?

Can I take a snap shot like

Code:
rbd snap create vm-105-disk-1@Initial

then maybe for each day

Code:
rbd snap create vm-105-disk-1@<date today>

Transfer the first initial and then everyday sync with

Code:
rbd export-diff --from-snap daybefore vm-105-disk-1@<date today> vm-105-disk-1-<date yesterday>-to-<datetoday>.diff

And transfer only the diff files.

But when can you delete the Initial snapshot and the 'older' diff file? (otherwise snapshot will take a lot of space on cluster)
And afterwards when can you use merge-diff to create a 'good' file on the other side?

Anyone with good bash skills like to program above (if at all possible).
 

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!