The problem
In August the database's free plan ran out of hours mid-month and suspended itself. The dashboard, the sales system, the WhatsApp inbox, scheduled publishing and phone alerts all stopped together, and a suspended project could not even be exported.
In November a web host blocked the whole account after one small route kept hundreds of connections a week open.
What we built
- A database on a machine we control, private to its own network, with the same version and settings as before.
- A row-by-row check after the move: 30 tables, 13 views and every stored search vector compared against the original.
- Nightly backups, a second copy pulled to another machine every day, and an alarm when a backup is late.
- Both websites rebuilt as plain static files behind a small worker, on a different host.
How it went
- Every screen looked healthy against the old database before we noticed the switch had not taken. We now prove a move with a marker row, never with a green light.
- The November block came from connections that never closed. That route was rebuilt the same week.
What it does not show yet
- This runs on small machines. A business with heavy traffic would need a larger setup.