Databases & Backups

Choose between local SQLite and managed databases, download dumps, and restore automated or manual backups.

Local SQLite (zero setup)

For small and medium bots, SQLite stored inside /data is the fastest way to get started — zero setup, zero latency, and automatically included in every daily and manual backup.

Node.js 24 built-in SQLite
import { DatabaseSync } from 'node:sqlite';

const db = new DatabaseSync('/data/bot.sqlite');
db.exec('CREATE TABLE IF NOT EXISTS warns (user_id TEXT, reason TEXT)');
Python sqlite3
import sqlite3

conn = sqlite3.connect("/data/bot.sqlite")
conn.execute("CREATE TABLE IF NOT EXISTS warns (user_id TEXT, reason TEXT)")

Managed PostgreSQL & MongoDB

When your bot needs a full database server — or uses an ORM or 1-click bot built for PostgreSQL or MongoDB — you can create one in seconds from the Databases page (or click Auto-configure while setting up a 1-click bot).

  • Plan limits: Spark includes 5 databases (500 MB), Flame includes 20 databases (2 GB), and Lightning includes 50 databases (5 GB).
  • Auto-injected connection strings: Each database belongs to a bot and is injected automatically as DATABASE_URL for PostgreSQL or MONGODB_URI for MongoDB (additional databases on the same bot get _2 , _3 , and so on). Your bot restarts once automatically to pick up the new variable.
  • Connection defaults: Managed PostgreSQL databases include connection pooling with up to 10 concurrent connections and a 30-second statement timeout per query.
Create managed databases, monitor your storage quota, copy connection strings, or download dumps from the Databases page.

Dumps, private access & storage limits

For security, managed databases are reachable only from your hosted bots on our private network — they are not exposed to the public internet. Whenever you want to inspect or migrate data locally, click Download dump on the Databases page to download a fresh database dump.

If your databases exceed your plan's storage limit
If your managed databases grow past your plan's database storage quota, they switch to read-only mode so no data is lost while preventing runaway growth. Delete unused rows or upgrade your plan to restore writes.

Automated daily & hourly backups

Every Blip Host plan includes automated, encrypted daily backups of each bot's /data files and attached managed databases. (Your deployed code history is stored separately under Builds.)

Backup type Retention
Daily backups (all plans) Kept for 7 days automatically.
Hourly Backups add-on (+$1/mo) 24 hourly snapshots plus 30 days of daily snapshots.
Pre-update backups (1-click bots) Taken automatically right before a catalog update; kept for 72 hours.
Manual & Kept backups Manual backups expire after 30 days unless marked Kept (kept backups stay until you delete them).

Manual backups, keeping & 1-click restore

Before running a risky migration or big config change, open Backups, select your bot, add an optional note (like "Before updating commands"), and click Back up.

  • Manual & kept allowance: Each bot can hold up to 10 manual/kept backups on Spark and Flame , or 20 on Lightning . Automated daily and hourly backups don't count against this allowance unless you click Keep on one to prevent it from expiring.
  • 1-click restore: Click Restore → Confirm restore on any ready backup. Blip Host temporarily pauses the bot, replaces its /data files and databases from the snapshot, and starts the bot back up automatically.
  • Download copies: Click Download files or Download <database> on any ready backup to save a local copy to your computer.
Take manual snapshots, pin important backups with Keep, download files or database dumps, or restore in one click.