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

No image file #33

Closed SeyedGH closed 4 years ago

SeyedGH commented 5 years ago

i am using 5.3.11 proxmox

and tried your latest barc

root@pve00:~# eve4pve-barc backup --vmid=101 --label='daily' --path=/root/temp/barc --keep=2 ACTION: Backup Start backup 2019-03-16 14:25:23 VM 101 - ======== Start backup ======== VM 101 - -------- Snapshots Disks -------- VM 101 - -------- Export images -------- VM 101 - -------- Copy config -------- VM 101 - -------- Merge diff file -------- End backup 2019-03-16 14:25:25

but there is no image file, as you can see it just takes 2 seconds to get just the config file. is there somehow i can get more info why it is not working

franklupo commented 5 years ago

Hi, use comand with --debug parameter, this show complete log. Please add output.

Best regards

SeyedGH commented 5 years ago

root@pve00: # eve4pve-barc backup --vmid=101 --label='daily' --path=/root/temp --keep=2 --debug ============================================ EnterpriseVE BARC Version: 0.1.9

Proxmox VE Version: proxmox-ve: 5.3-1 (running kernel: 4.15.18-11-pve) pve-manager: 5.3-11 (running version: 5.3-11/d4907f84) pve-kernel-4.15: 5.3-2 pve-kernel-4.15.18-11-pve: 4.15.18-34 pve-kernel-4.15.18-9-pve: 4.15.18-30 ceph: 12.2.11-pve1 corosync: 2.4.4-pve1 criu: 2.11.1-1-bpo90 glusterfs-client: 3.8.8-1 ksm-control-daemon: 1.2-2 libjs-extjs: 6.0.1-2 libpve-access-control: 5.1-3 libpve-apiclient-perl: 2.0-5 libpve-common-perl: 5.0-47 libpve-guest-common-perl: 2.0-20 libpve-http-server-perl: 2.0-11 libpve-storage-perl: 5.0-38 libqb0: 1.0.3-1-bpo9 lvm2: 2.02.168-pve6 lxc-pve: 3.1.0-3 lxcfs: 3.0.3-pve1 novnc-pve: 1.0.0-2 proxmox-widget-toolkit: 1.0-22 pve-cluster: 5.0-33 pve-container: 2.0-34 pve-docs: 5.3-3 pve-edk2-firmware: 1.20181023-1 pve-firewall: 3.0-17 pve-firmware: 2.0-6 pve-ha-manager: 2.0-6 pve-i18n: 1.0-9 pve-libspice-server1: 0.14.1-2 pve-qemu-kvm: 2.12.1-2 pve-xtermjs: 3.10.1-1 qemu-server: 5.0-46 smartmontools: 6.5+svn4324-1 spiceterm: 3.0-5 vncterm: 1.5-3 zfsutils-linux: 0.7.12-pve1~bpo1

ACTION: Backup Start backup 2019-03-16 20:58:28 2019-03-16 20:58:28 DEBUG: ------------------------------------------------------- 2019-03-16 20:58:28 DEBUG: EVE4PVE_BARC_PHASE: backup-job-start 2019-03-16 20:58:28 DEBUG: EVE4PVE_BARC_VMID: 0 2019-03-16 20:58:28 DEBUG: EVE4PVE_BARC_PATH: /root/temp 2019-03-16 20:58:28 DEBUG: EVE4PVE_BARC_LABEL: daily 2019-03-16 20:58:28 DEBUG: EVE4PVE_BARC_KEEP: 2 2019-03-16 20:58:28 DEBUG: EVE4PVE_BARC_SNAP_NAME: - 2019-03-16 20:58:28 DEBUG: EVE4PVE_BARC_BACKUP_FILE: - 2019-03-16 20:58:28 DEBUG: ------------------------------------------------------- VM 101 - ======== Start backup ======== VM 101 - -------- Snapshots Disks -------- VM 101 - -------- Export images -------- VM 101 - -------- Copy config -------- 2019-03-16 20:58:30 DEBUG: cp '/etc/pve/nodes/pve00/qemu-server/101.conf' '/root/temp/barc/101/daily/190316205828.conf' 2019-03-16 20:58:30 DEBUG: return 0 VM 101 - -------- Merge diff file -------- 2019-03-16 20:58:30 DEBUG: ------------------------------------------------------- 2019-03-16 20:58:30 DEBUG: EVE4PVE_BARC_PHASE: backup-job-end 2019-03-16 20:58:30 DEBUG: EVE4PVE_BARC_VMID: 0 2019-03-16 20:58:30 DEBUG: EVE4PVE_BARC_PATH: /root/temp 2019-03-16 20:58:30 DEBUG: EVE4PVE_BARC_LABEL: daily 2019-03-16 20:58:30 DEBUG: EVE4PVE_BARC_KEEP: 2 2019-03-16 20:58:30 DEBUG: EVE4PVE_BARC_SNAP_NAME: - 2019-03-16 20:58:30 DEBUG: EVE4PVE_BARC_BACKUP_FILE: - 2019-03-16 20:58:30 DEBUG: ------------------------------------------------------- End backup 2019-03-16 20:58:30

kind of strange 2019-03-16 20:58:28 DEBUG: EVE4PVE_BARC_VMID: 0 << 0?

franklupo commented 5 years ago

Hi, but using ceph? The EVE4PVE_BARC_VMID: 0 is an error. But the vm 101 contains disks in ceph?

best regards

SeyedGH commented 5 years ago

image

image

I think so!

SeyedGH commented 5 years ago

image Ceph pools

franklupo commented 5 years ago

Hi, can you show content file configuration vm?

SeyedGH commented 5 years ago

do mean ? agent: 1 bootdisk: scsi0 cores: 3 cpu: kvm64,flags=+pcid;+spec-ctrl memory: 3000 name: DMARC net0: virtio=62:9D:F6:81:D6:AA,bridge=vmbr0 numa: 0 ostype: l26 scsi0: vm_storage:vm-101-disk-0,cache=writeback,size=100G scsihw: virtio-scsi-pci smbios1: uuid=391da7dd-7ca2-468b-b428-8974a82c7e19 sockets: 1 vmgenid: 85266033-2580-4725-948b-170f17e2acdd