How do I prevent writes to our database during a maintenance event


We need to stop writes to our Postgres database for a short period of time to perform maintenance, and I don't see an easy way to do that in Retool. Essentially, I need to temporarily disable the resources while we perform a changeover to prevent any inconsistent state?

Is there a feature that does this that I'm not aware of? A workaround?

Hi @Webster_Wing!

If you're on the Business plan or above, you can use granular permissions to restrict user access to certain resources.

Otherwise, the first thing I can think of would be to remove something in the resource set up page (e.g. remove the password) so the resource isn't functional.

Let me know if something like that would work for you!