N Docs
← Back to site

Your Bunny database

2 min readUpdated November 23, 2026

Everything Nahnu Links knows lives in your Bunny database; WordPress keeps no copy. Both the edge script and your dashboard read and write it directly.

Settings > Bunny with the current status and the database

What’s in it#

TableHolds
Links and rulesEvery short link and its routing rules
Clicks and conversionsEvery click and conversion, with location, device and kind
DomainsYour short domains, their owners, pages and apps
Clients, keys and teamsAccounts, API keys (hashed) and members
Subscriptions and invoicesBilling records
SettingsWhat the edge script needs, like your apps and location source

Your WordPress database keeps only your Nahnu Links settings.

Settings > Bunny#

  • Bunny database: the Database URL and Auth token (filled in by the setup wizard), and Test database. If your site can’t reach the database directly, the dashboard goes through the edge script instead.
  • Edge script variables: NL_SYNC_SECRET, BUNNY_DATABASE_URL and BUNNY_DATABASE_AUTH_TOKEN, set on the script by the wizard. To set them by hand: in Bunny, open your edge script, then Environment variables.
  • Check the database: makes any missing tables, sends the default domain and dashboard address to the edge script and clears its caches. Safe to run any time; also under Settings > General > Maintenance.

Where the database is#

The database’s main copy is in the region you chose during setup: Europe, North America, or Asia and Pacific. Links are fast everywhere anyway, because the edge script remembers links it has seen. See Speed and caching.

Backups#

Back up your database from the Bunny dashboard. Do this before big changes, like deleting a client’s data or moving databases.

You can also keep your own copies:

Move to another database#

  1. Make the new database in Bunny and copy your data into it.
  2. Paste its URL and a full-access token under Settings > Bunny.
  3. Click Check the database.
  4. Update the script’s variables too, so the edge script uses the same database.

Size and cost#

Bunny bills the database by storage and use. Clicks are the biggest part. To keep it small, set how long clicks are kept. See Keep or delete click history.