Description
After restoring metal-api from a s3 backend, backup-restore-sidecar successfully restored the database. However, the metal-api was not able to connect to the database with following error:
...
{"level":"ERROR","msg":"db connection error","datastore":{"db":"metalapi","hosts":["metal-db"],"error":"cannot connect to DB: rethinkdb: Unknown user"}
...
It was necessary to redeploy the metal-stack control plane. The initdb job successfully created the metal user in the database again.
However, we should consider backing up and restoring the users as well.
Description
After restoring metal-api from a s3 backend,
backup-restore-sidecarsuccessfully restored the database. However, themetal-apiwas not able to connect to the database with following error:It was necessary to redeploy the metal-stack control plane. The
initdbjob successfully created the metal user in the database again.However, we should consider backing up and restoring the users as well.