Database connection disappeared (Self-hosted)

I’ve had a Metabase instance (0.61.3.1) up for the past few months, hosted on a VPS and using pg18 as the backend.

The main data source for reports is a SQL Server database. I set up that connection when I spun up the instance and have had no issues before today. But when I loaded a dashboard today, all its questions were gone. Upon further investigation, the entire database connection is gone. I was able to create a new connection to the database, but that did not restore any of the questions.

No user manually deleted that connection. Is there any way I can diagnose what happened, prevent it in the future, and/or recover the questions that were lost in the process?


Note: I did look for any similar situations before posting, but apologies if I missed something! Please let me know if any information about my setup is needed to better diagnose the issue.

0.61.3.1 is vulnerable to the issues identified in this notice:

Note there have been releases after that blog, so check the changelog for your major version.

1 Like

I’ll update my version today, thank you!

Is there a way for me to review Metabase logs or history in order to determine whether my instance was hit by this vulnerability? If the data is lost, so be it, we’ll make things again. But if I can prove whether that was the cause it would be helpful.

This blog entry (linked on the page above) discusses the diagnostics.

Regular backups of the Metabase app database are highly recommended.