Hello,
i'm tryng to setup a cron job to backup one KVM Virtual Machine using pve-zsync on a local HD.
The first sync is OK but from the second one i have this error:
--------------------------------------------------------------------------------------------------------------------------------
pve-zsync sync --source 100 --dest 127.0.0.1:STORAGE/SNAPSHOT --verbose --maxsnap 7 --name WinSrv2012
send from @ to rpool/KVM/vm-100-disk-1@rep_WinSrv2012_2016-07-11_09:28:33 estimated size is 12.7G
total estimated size is 12.7G
TIME SENT SNAPSHOT
warning: cannot send 'rpool/KVM/vm-100-disk-1@rep_WinSrv2012_2016-07-11_09:28:33': Broken pipe
COMMAND:
zfs send -v -- rpool/KVM/vm-100-disk-1@rep_WinSrv2012_2016-07-11_09:28:33 | ssh root@127.0.0.1 -- zfs recv -F -- STORAGE/SNAPSHOT/vm-100-disk-1
GET ERROR:
cannot receive new filesystem stream: destination has snapshots (eg. STORAGE/SNAPSHOT/vm-100-disk-1@rep_BkWinSrv2012_2016-07-08_12:38:33)
must destroy them to overwrite it
--------------------------------------------------------------------------------------------------------------------------------
My Zfs volumes:
zfs list -t all
NAME USED AVAIL REFER MOUNTPOINT
STORAGE 9.16G 2.62T 96K /STORAGE
STORAGE/SNAPSHOT 9.16G 2.62T 96K /STORAGE/SNAPSHOT
STORAGE/SNAPSHOT/vm-100-disk-1 9.16G 2.62T 9.16G -
STORAGE/SNAPSHOT/vm-100-disk-1@rep_BkWinSrv2012_2016-07-08_12:38:33 0 - 9.16G -
rpool 27.0G 1.73T 96K /rpool
rpool/KVM 12.4G 1.73T 96K /rpool/KVM
rpool/KVM/vm-100-disk-1 12.4G 1.73T 10.9G -
rpool/KVM/vm-100-disk-1@rep_BkWinSrv2012_2016-07-08_12:38:33 1.47G - 7.91G -
rpool/LXC 96K 1.73T 96K /rpool/LXC
rpool/ROOT 6.15G 1.73T 96K /rpool/ROOT
rpool/ROOT/pve-1 6.15G 1.73T 6.15G /
rpool/data 96K 1.73T 96K /rpool/data
rpool/swap 8.50G 1.74T 64K -
--------------------------------------------------------------------------------------------------------------------------------
Last pve:
pveversion -v
proxmox-ve: 4.2-56 (running kernel: 4.4.13-1-pve)
pve-manager: 4.2-15 (running version: 4.2-15/6669ad2c)
pve-kernel-4.4.6-1-pve: 4.4.6-48
pve-kernel-4.4.13-1-pve: 4.4.13-56
lvm2: 2.02.116-pve2
corosync-pve: 2.3.5-2
libqb0: 1.0-1
pve-cluster: 4.0-42
qemu-server: 4.0-83
pve-firmware: 1.1-8
libpve-common-perl: 4.0-70
libpve-access-control: 4.0-16
libpve-storage-perl: 4.0-55
pve-libspice-server1: 0.12.5-2
vncterm: 1.2-1
pve-qemu-kvm: 2.5-19
pve-container: 1.0-70
pve-firewall: 2.0-29
pve-ha-manager: 1.0-32
ksm-control-daemon: 1.2-1
glusterfs-client: 3.5.2-2+deb8u2
lxc-pve: 1.1.5-7
lxcfs: 2.0.0-pve2
cgmanager: 0.39-pve1
criu: 1.6.0-1
zfsutils: 0.6.5.7-pve10~bpo80
Thanks!
i'm tryng to setup a cron job to backup one KVM Virtual Machine using pve-zsync on a local HD.
The first sync is OK but from the second one i have this error:
--------------------------------------------------------------------------------------------------------------------------------
pve-zsync sync --source 100 --dest 127.0.0.1:STORAGE/SNAPSHOT --verbose --maxsnap 7 --name WinSrv2012
send from @ to rpool/KVM/vm-100-disk-1@rep_WinSrv2012_2016-07-11_09:28:33 estimated size is 12.7G
total estimated size is 12.7G
TIME SENT SNAPSHOT
warning: cannot send 'rpool/KVM/vm-100-disk-1@rep_WinSrv2012_2016-07-11_09:28:33': Broken pipe
COMMAND:
zfs send -v -- rpool/KVM/vm-100-disk-1@rep_WinSrv2012_2016-07-11_09:28:33 | ssh root@127.0.0.1 -- zfs recv -F -- STORAGE/SNAPSHOT/vm-100-disk-1
GET ERROR:
cannot receive new filesystem stream: destination has snapshots (eg. STORAGE/SNAPSHOT/vm-100-disk-1@rep_BkWinSrv2012_2016-07-08_12:38:33)
must destroy them to overwrite it
--------------------------------------------------------------------------------------------------------------------------------
My Zfs volumes:
zfs list -t all
NAME USED AVAIL REFER MOUNTPOINT
STORAGE 9.16G 2.62T 96K /STORAGE
STORAGE/SNAPSHOT 9.16G 2.62T 96K /STORAGE/SNAPSHOT
STORAGE/SNAPSHOT/vm-100-disk-1 9.16G 2.62T 9.16G -
STORAGE/SNAPSHOT/vm-100-disk-1@rep_BkWinSrv2012_2016-07-08_12:38:33 0 - 9.16G -
rpool 27.0G 1.73T 96K /rpool
rpool/KVM 12.4G 1.73T 96K /rpool/KVM
rpool/KVM/vm-100-disk-1 12.4G 1.73T 10.9G -
rpool/KVM/vm-100-disk-1@rep_BkWinSrv2012_2016-07-08_12:38:33 1.47G - 7.91G -
rpool/LXC 96K 1.73T 96K /rpool/LXC
rpool/ROOT 6.15G 1.73T 96K /rpool/ROOT
rpool/ROOT/pve-1 6.15G 1.73T 6.15G /
rpool/data 96K 1.73T 96K /rpool/data
rpool/swap 8.50G 1.74T 64K -
--------------------------------------------------------------------------------------------------------------------------------
Last pve:
pveversion -v
proxmox-ve: 4.2-56 (running kernel: 4.4.13-1-pve)
pve-manager: 4.2-15 (running version: 4.2-15/6669ad2c)
pve-kernel-4.4.6-1-pve: 4.4.6-48
pve-kernel-4.4.13-1-pve: 4.4.13-56
lvm2: 2.02.116-pve2
corosync-pve: 2.3.5-2
libqb0: 1.0-1
pve-cluster: 4.0-42
qemu-server: 4.0-83
pve-firmware: 1.1-8
libpve-common-perl: 4.0-70
libpve-access-control: 4.0-16
libpve-storage-perl: 4.0-55
pve-libspice-server1: 0.12.5-2
vncterm: 1.2-1
pve-qemu-kvm: 2.5-19
pve-container: 1.0-70
pve-firewall: 2.0-29
pve-ha-manager: 1.0-32
ksm-control-daemon: 1.2-1
glusterfs-client: 3.5.2-2+deb8u2
lxc-pve: 1.1.5-7
lxcfs: 2.0.0-pve2
cgmanager: 0.39-pve1
criu: 1.6.0-1
zfsutils: 0.6.5.7-pve10~bpo80
Thanks!