Corsinvest / cv4pve-barc

Backup And Restore Ceph for Proxmox VE
https://www.cv4pve-tools.com
GNU General Public License v3.0
82 stars 22 forks source link

[Feature Request] Backup towards a Ceph pool destination #39

Open RafaelUR1 opened 5 years ago

RafaelUR1 commented 5 years ago

Hi,

Thank you for the job done on this script. I can't succeed in backuping towards another rbd pool ? I would like to parse all VMs in a source pool (seems to be possible since 0.1.9) and backup them towards a destination pool.

Is-it actually possible with eve4pve-barc 0.2.0 ?

Best regards, Rafael

franklupo commented 5 years ago

Hi, in 0.1.9 is possible backup vms in pool using cinvention "storage-POOL_NAME". I didn't understand what the problem was.

RafaelUR1 commented 5 years ago

Hi,

Yes, since 0.1.9, it's possible to backup VMs inside a pool. But I want to export the VMs' backup towards a destination which is also another Ceph pool (on another cluster), and not a folder (--path).

Like this : rbd export-diff --from-snap ${LAST_SNAP} ${pool-source}/${image}@${TODAY} - | rbd -c /path/ceph-destination-backup.conf import-diff - ${pool-destination}/${image}

Maybe I've lost the information, but I can't find howto succeed in fixing it...

Thank you,

-- Rafael

franklupo commented 4 years ago

Hi, good idea. Now work only path. In this moment use rbd mirror https://docs.ceph.com/docs/mimic/rbd/rbd-mirroring/ https://pve.proxmox.com/wiki/Ceph_RBD_Mirroring

best rergards