From 29b1087c7b78c090231bb54098ac29a24b98372f Mon Sep 17 00:00:00 2001 From: Adrian Reber Date: Mon, 17 Jun 2024 16:12:18 +0000 Subject: [PATCH] Additional container metadata from containerd containerd structures the internal metadata differently. For a restore the status.dump file is also necessary. The status.dump file contains the content of: crictl inspect | jq ".status" and the information is needed during restore to get container annotations and metadata. CRI-O in contrast has this data available as metadata in config.dump. As containerd has this information somewhere else it needs to be saved during checkpointing for a successful restore. Signed-off-by: Adrian Reber --- lib/metadata.go | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/metadata.go b/lib/metadata.go index f64d12d1..1d68f887 100644 --- a/lib/metadata.go +++ b/lib/metadata.go @@ -16,6 +16,7 @@ const ( // container archive ConfigDumpFile = "config.dump" SpecDumpFile = "spec.dump" + StatusDumpFile = "status.dump" NetworkStatusFile = "network.status" CheckpointDirectory = "checkpoint" CheckpointVolumesDirectory = "volumes"