Error while restoring the psmdb backup

A very strange thing happened: my entire cluster, including all the PVCs, was deleted, resulting in no data. I had been running a cronjob every night using PSMDB backup. When I tried to restore my data using the restore.yaml file, I successfully retrieved the backup. However, the restored database is larger than the original one. Additionally, the restore process threw errors while retrieving the backup. I don’t understand how the data size could be larger despite these errors.Attaching the error of the same

Status:
  Error:     reply oplog: replay chunk 1715864420.1715864464: apply oplog for chunk: applying an entry: op: {"Timestamp":{"T":1715864423,"I":30},"Term":20,"Hash":null,"Version":2,"Operation":"i","Namespace":"config.actionlog","Object":[{"Key":"_id","Value":"mongo-db-cfg-1:27017-2024-05-16T13:00:23.913+00:00-664603673b674015a29a5171"},{"Key":"server","Value":"mongo-db-cfg-1:27017"},{"Key":"shard","Value":"config"},{"Key":"clientAddr","Value":"10.245.2.205:41082"},{"Key":"time","Value":"2024-05-16T13:00:23.913Z"},{"Key":"what","Value":"balancer.stop"},{"Key":"ns","Value":""},{"Key":"details","Value":[]}],"Query":[{"Key":"_id","Value":"mongo-db-cfg-1:27017-2024-05-16T13:00:23.913+00:00-664603673b674015a29a5171"}],"UI":{"Subtype":4,"Data":"gPZgEK1ARp61RfIoWc8zYQ=="},"LSID":null,"TxnNumber":null,"PrevOpTime":null} | merr <nil>: applyOps: (NamespaceNotFound) Failed to apply operation due to missing collection (80f66010-ad40-469e-b545-f22859cf3361): { ts: Timestamp(1715864423, 30), t: 20, v: 2, op: "i", ns: "config.actionlog", o: { _id: "mongo-db-cfg-1:27017-2024-05-16T13:00:23.913+00:00-664603673b674015a29a5171", server: "mongo-db-cfg-1:27017", shard: "config", clientAddr: "10.245.2.205:41082", time: new Date(1715864423913), what: "balancer.stop", ns: "", details: {} }, o2: { _id: "mongo-db-cfg-1:27017-2024-05-16T13:00:23.913+00:00-664603673b674015a29a5171" }, ui: UUID("80f66010-ad40-469e-b545-f22859cf3361"), h: 0, wall: new Date(0) }

1 Like

Hey,
What does the status “ready” indicate? Does that mean the restore was successful?