There's a bug (bad feature) when migrating LXC containers hosted on ZFS: It looses the snapshots.
Longer explanation: I snapshot routinely all LXC containers for backup and replication. This is "a goog thing" and saved my azz a few times over the years.
I discovered that proxmox will migrate but loose all previous snapshots. What is worse, it will delete the zfs filesystem and all snapshots on the originating system.
So... weeks and months (and years) of previous snapshots (i.e. backups) are lost on the first migration.
Can we fix this please?
EDIT: By snapshots I mean the snapshots that the system (i.e. I) make on the hosting server, not using the gui. These are there for protection of the "hoster" and are not visible in the proxmox gui/end users.
EDIT2: The fix is simple (from an admin point of view). You must send the complete ZFS stream (including snapshots) and not just the last snapshot. It's a simple switch on the zfs send command line.
Longer explanation: I snapshot routinely all LXC containers for backup and replication. This is "a goog thing" and saved my azz a few times over the years.
I discovered that proxmox will migrate but loose all previous snapshots. What is worse, it will delete the zfs filesystem and all snapshots on the originating system.
So... weeks and months (and years) of previous snapshots (i.e. backups) are lost on the first migration.
Can we fix this please?
EDIT: By snapshots I mean the snapshots that the system (i.e. I) make on the hosting server, not using the gui. These are there for protection of the "hoster" and are not visible in the proxmox gui/end users.
EDIT2: The fix is simple (from an admin point of view). You must send the complete ZFS stream (including snapshots) and not just the last snapshot. It's a simple switch on the zfs send command line.
Last edited: