This patch series allows to restore a replica without status. A HA migration ends in a lost state, even a manual configuration movement generates this behavior. This patch series also fixes the problem of cleanup without status.
[PATCH V5] 0006-Add error message in case the state is not recoverable.patch rename function name from former patch. 0005-Add function: swap source and target in replication rename function name remove lock [PATCH V4] 0001-Cleanup for stateless jobs.patch Deduplicate storage entry's. 0004-Get snapshots when no state is available. sort with numeric insteated of string cmp. 0005-Add function: swap source and target in replication simplify the variable access. [PATCH V3] rebase to current master 0003-Delete replication snapshots only if last_sync is not 0.patch reword commit as Thomas suggest. [PATCH V2] 0001-Cleanup for stateless jobs.patch Change for loop against a map feature like t.lamprecht suggest and improve how w.bumiller meant. Commit message made in more detail. 0002-Add config parameter 'source'.patch Modify commit message. 0003-Delete replication snapshots only if last_sync is not 0.patch Modify commit message. Add an error message if the status is not recoverable. Sort the snapshots to test newer ones first. 0006-Add error message in case the state is not recoverable.patch Correct typos in the page nodes as t.lamprecht suggest. _______________________________________________ pve-devel mailing list pve-devel@pve.proxmox.com https://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel