Getting started

Connect your first database and take a backup on a schedule.

Not verified yet

This guide walks you through connecting a Postgres database, creating a backup policy, attaching them, and verifying that the first backup ran. About five minutes.

Prerequisites

  • A Norcube account (sign up).
  • A reachable PostgreSQL or MongoDB database. Your firewall / security group must allow inbound connections on the database port from Backup's egress IP 18.196.207.101. See Network access.
  • A user on the database with read access to everything you want backed up.

Connect the database

  1. Open app.norcube.com and switch to Backup from the product switcher.
  2. Go to DatasourcesNew datasource.
  3. Fill in:
    • Name – a label (production-db, analytics-staging).
    • Engine – Postgres or MongoDB.
    • Environment – production / staging / dev / test.
    • Region – the AWS region your backups will land in.
  4. Click Create. You'll land on the credentials page.

Add credentials

Choose how you want to provide credentials:

Paste a complete URI:

  • Postgres: postgresql://user:pass@host:5432/dbname?sslmode=require
  • Mongo: mongodb://user:pass@host:27017/dbname?tls=true&authSource=admin

Fill in host, port, user, password, database name, plus engine-specific extras (Mongo: authSource, scheme).

Click Save credentials. The dashboard auto-verifies them right after save – a green badge means you're good. They're encrypted with AWS KMS before storage; see Encryption and security.

Create a backup policy

A policy bundles a schedule, retention, and destination.

  1. Go to Backup policiesNew backup policy.
  2. Fill in:
    • Namedaily-7day, hourly-prod, etc.
    • Schedule – a 5-field cron expression (0 3 * * * = every day at 03:00). The form shows a plain-English translation as you type.
    • Timezone – the timezone the schedule is interpreted in.
    • Retention – keep backups for N days, or keep the last N backups, or both (whichever cap is hit first).
    • Destination – a managed bucket or a BYO destination you've already created.
  3. Click Create.

Attach the policy to the data source

  1. Go back to the data source page.
  2. In the Backup policies card, click Attach backup policy.
  3. Pick the policy you just created and click Attach.

Backup schedules the first run based on the cron expression. You don't need to manually trigger anything.

Watch (or trigger) the first backup

When the next scheduled time arrives, a backup job appears in Backup jobs on the data source page with status QueuedRunningSuccess. Click the job for details: bytes written, duration, S3 location.

Don't want to wait? Click Run backup now on the data source page and a manual job kicks off immediately.

Next steps

On this page