HELP! Deleted prod D1 DB by accident - command ran WITHOUT --remote flag 😱
Hey everyone, I'm in a really bad situation and hoping someone here has advice.
I just accidentally deleted a production D1 database while running a command from my local dev environment.
What happened:
Command: wrangler d1 execute <db_name> --command="<drop/delete statement>"
Critical: I did NOT use --remote (verified in my shell history)
Somehow it still hit my live database instead of a local instance
My questions:
Has anyone successfully recovered a deleted D1 database before?
Does Cloudflare keep internal backups/snapshots for D1 that Support can access?
Any tips for escalating a support ticket to P1/Critical?
I just accidentally deleted a production D1 database while running a command from my local dev environment.
What happened:
Command: wrangler d1 execute <db_name> --command="<drop/delete statement>"
Critical: I did NOT use --remote (verified in my shell history)
Somehow it still hit my live database instead of a local instance
My questions:
Has anyone successfully recovered a deleted D1 database before?
Does Cloudflare keep internal backups/snapshots for D1 that Support can access?
Any tips for escalating a support ticket to P1/Critical?

