cross cluster migration with snapshots

michabbs

Well-Known Member
May 5, 2020
144
20
58
Code:
2026-03-22 08:27:03 can't migrate local volume 'dpool:subvol-2033-disk-0': remote migration with snapshots not supported yet

Are there plans to make it work in the near future?

I assume solution for now is to delete snapshots, or backup+restore at the new location, right?
 
As far as i know this is not planned. Snapshots depend on the underlying storage / file system and they are not compatible with each other and work completely different and you can't "convert" them to work on another file system. If your clusters use the same file system then there is a chance this could work somehow. For ZFS you could use ZFS replication (not sure if snapshots are replicated too ...), for Ceph you could use a stretch cluster.

For now your best option is to backup your VM's more often, those backups could be used like snapshots. Look into PBS, with it's integrated deduplication backups don't need that much space and you can easily replicate them to another PBS in another location too.
 
  • Like
Reactions: UdoB
Last edited:
Oh, it looks very interesting! But actually I do not understard it:

Code:
root@zfs1:~# pve-zsync sync --source 100 --dest 192.168.1.2:tank/backup

It sends local CT 100 to remote... what? dataset? What if the local CT has multiple mountpoints? Will it merge them all? (That would be stupid...)