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

Ceph storage name #1

Closed blageweg closed 7 years ago

blageweg commented 7 years ago

Not always "ceph" in the name. Changed

image_spec=$(pvesm path "$disk" | grep 'ceph' | awk '{ split($0,a,":"); print a[2]}')

to

image_spec=$(pvesm path "$disk" | awk '{ split($0,a,"/"); print a[5]}')

franklupo commented 7 years ago

Can you send to me output command pvesm path $disk

tanks

blageweg commented 7 years ago

Hi.

CephStorage9:vm-101-disk-1

Thanks

blageweg commented 7 years ago

pvesm path CephStorage9:vm-101-disk-1 /dev/rbd/rbd/vm-101-disk-1

franklupo commented 7 years ago

Hi, You have enabled the krbd.

blageweg commented 7 years ago

Yes, problem?

franklupo commented 7 years ago

I prepare a fix for this.

blageweg commented 7 years ago

Thanks.

I have also a request. Backup only VM what is running on that node (qm list) so all-local.

We are running backup to local storage of every node and sync after to offside

franklupo commented 7 years ago

Hi, new release https://github.com/EnterpriseVE/eve4pve-barc/releases/tag/0.1.3