In development. Not yet available.

A local time machine for your dev environment.

We're building AsBefore to save your database, files and config, then bring them back with one command. It will work with any editor or AI agent.

Join the waitlistHow it works

$ asbefore save "before agent"
  saved   db · cache · files
# agent runs a migration, edits files
# the app is broken
$ asbefore restore latest
  safety checkpoint first
  db      restored
  cache   restored
  files   restored
Planned behaviour with illustrative output, not a recording.

Git can't undo everything

Git can bring back your committed code. Your database, uploads and containers are left as they are, and so is your .env if Git ignores it. After a bad migration or seed script, whether you ran it or an agent did, you can spend hours rebuilding.

What it will protect

Databases, stacks and files

These are planned for the first release, starting on macOS. AsBefore only touches what you've registered.

  • Postgres
  • Redis
  • MySQL / MariaDB
  • SQLite
  • Docker Compose
  • Files and config

Careful restores

Restoring overwrites data, so we plan these checks.

  • Preview with a dry run
  • Checksums verified first
  • Safety checkpoint before changes
  • Result reported per resource
  • No account, no telemetry

Works with coding agents

Besides the command line, we're planning an MCP server and a Claude Code hook.

You choose what gets protected

You list your resources in asbefore.toml and commit it with your project. Passwords stay out of it. AsBefore won't add anything you haven't listed.

asbefore.toml · planned format
[project]
name = "my-app"

[[resource]]
id = "db"
kind = "postgres"
container = "my-app-db"
database = "my_app"
user = "postgres"

[[resource]]
id = "files"
kind = "fs"
paths = ["."]

How it will work

  1. Register

    Pick the databases, files and config you care about.

  2. Save

    Run asbefore save before you try something risky.

  3. Restore

    asbefore restore first saves the current state, then restores your resources one at a time and tells you how each one went.

Frequently asked questions

Can I use it today?

Not yet. We're still building it. Join the waitlist and we'll email you when you can try it.

Does it replace Git?

No. Keep using Git for your code. AsBefore is for the things Git doesn't keep.

Does it work with production or remote databases?

No. The first release only works with development resources on your own machine.

What if one resource fails to restore?

Resources are restored one at a time. You'll get a report showing which ones were restored, which weren't, and which safety checkpoint to use.

What does it cost?

It's free during the alpha.

Do you collect anything?

AsBefore requires no account and includes no telemetry. The optional waitlist is hosted by Buttondown. This website uses Cloudflare Web Analytics; see the privacy notice.

Want to try it when it's ready?

Leave your email and we'll let you know.

By joining, you agree to get emails about AsBefore. We'll ask you to confirm your address, and you can unsubscribe whenever you like. See the privacy notice.