Skip to content

DigitalOcean

How to connect your DigitalOcean managed databases to SimpleBackups.

SimpleBackups supports all four DigitalOcean managed database engines: PostgreSQL, MySQL, MongoDB, and Redis. Because DigitalOcean manages the infrastructure, connecting any of these to SimpleBackups follows the same flow — whitelist SimpleBackups, copy your connection string, and paste it into SimpleBackups. No server setup is required.

Connecting your database

Step 1: Whitelist SimpleBackups IP addresses

Add the SimpleBackups IP addresses as trusted sources in your DigitalOcean database settings.

DigitalOcean trusted sources configuration screen

Step 2: Copy the connection string

  1. Click on Connection details in your database cluster overview.
  2. Select Connection string from the dropdown.
  3. For PostgreSQL, MySQL, and MongoDB: select the Database you want to back up and the User, then click Copy. For Redis, click Copy directly — there is no database or user selector.

PostgreSQL:

DigitalOcean PostgreSQL connection details screen showing connection string option

MySQL:

DigitalOcean MySQL connection details screen showing connection string option

MongoDB:

DigitalOcean MongoDB connection details screen showing connection string option

Redis:

DigitalOcean Redis connection details screen showing connection string option

Step 3: Create a database backup in SimpleBackups

  1. Navigate to Backups and click Create Backup, then select Database Backup.
  2. Choose Serverless as the backup server type.
  3. Select the database Type matching your engine: PostgreSQL, MySQL, MongoDB, or Redis. If you do not see the connection string field, click Paste connection string instead.
  4. Paste the full connection string you copied from DigitalOcean.
  5. Click Validate connection, then configure your schedule and storage destination.

PostgreSQL:

SimpleBackups database connection form with PostgreSQL connection string pasted

MySQL:

SimpleBackups database connection form with MySQL connection string pasted

MongoDB:

SimpleBackups database connection form with MongoDB connection string pasted

Redis:

SimpleBackups database connection form with Redis connection string pasted

PostgreSQL CA certificate field:

SimpleBackups CA certificate field for PostgreSQL

MySQL CA certificate field:

SimpleBackups CA certificate field for MySQL

MongoDB CA certificate field:

SimpleBackups CA certificate field for MongoDB