Why it matters
Mistakes on production are rarely dramatic
They're a filter that matched more than you thought, a script run on the wrong project, a field renamed in every document when you meant one. Firetool is built around those everyday slips: it shows what a change will do before it runs, stops the ones that need a second look, and keeps a way back for the ones that got through.
Before a change
Production asks first
Mark a project or database as production, or give it the Production label. Deletes, scripts, indexes and changes to more than one document then ask you to type the project ID, so a change meant for staging can't land on production by accident.
- A reason for every change, kept in the audit log, when the label's rules ask for one
- Production read-only until someone unlocks it for 15 minutes to 4 hours
- A JS Query script's Dry run shows each document now and after before anything is written

While it runs
A second person, when it matters
A project can need a colleague's approval for deletes, bulk changes, imports, restores and migrations. The request shows each document's fields now and after; the approval covers exactly that change, works once, and is in the audit log.
- Nobody approves their own request
- If a document was edited since the request, Firetool offers a new request instead
- AI assistants can only propose changes; a person approves them

After a change
A record of everything, and a way back
Every change goes into a tamper-evident audit log: who, when, what, why. On production, Firetool keeps a copy of each document before it changes it, so an edit or a delete can be put back from the log, and a whole bulk change, copy, import or migration can be undone after one preview.
- Each entry carries a hash of the one before, so an edited or removed line shows
- Look back at a document with point-in-time reads, up to 7 days with point-in-time recovery
- Backups that include users, rules and indexes, restored a few documents at a time if you like

How it works
Set it up once
Mark production
In the sidebar, open a project's settings and mark it, or one of its databases, as production. Or give it the Production label.
Choose the rules
In Tools, Policy and roles: reasons, approvals, the lock, read-only roles, and which copies to keep.
Roll it out
Lock the policy with a password, or save it as a machine policy that IT copies to every PC.
Questions
Production safety questions
Does this replace Firestore's own permissions?
No. Firetool's rules stop mistakes made in Firetool. For protection in every tool, also give people the Google Cloud roles they need and no more, such as Cloud Datastore Viewer for read-only staff.
Do the copies cost anything?
Each copy is one Firestore read of the document before it changes. By default Firetool keeps them for every change on production and for deletes and single edits elsewhere.
Is it in the Free edition?
Setting up the rules and reading the audit log are free. Changing data needs Pro, which every computer can try free for 30 days.
Does the firetool command follow the same rules?
Yes. The command, scheduled exports and AI assistants go through the same roles, production rules and audit log as the app.
Related
More you can do with Firetool
Try it on your own data
Free for Windows, macOS and Linux, with every Pro feature for the first 30 days.