ShiftMyData

Database backups

Back up PostgreSQL, MySQL / MariaDB, MongoDB, Redis and SQL Server databases into your clouds, now or on a schedule, encrypted if you like, and restore them.

In this chapter

What can be backed up

DatabaseSaved asRestore from here
PostgreSQL (also Supabase, Neon, Amazon RDS / Aurora, DigitalOcean)SQL dump, .sql.gzYes
MySQL / MariaDB (also Amazon RDS / Aurora, PlanetScale)SQL dump, .sql.gzYes
MongoDB (also MongoDB Atlas)mongodump archive, .archive.gzYes
Microsoft SQL Server (also Azure SQL).bacpac (schema and data)Yes, into an empty database
RedisSnapshot, .rdb.gzNo: load it on the server itself

Every backup is a standard file its database's own tools open, so you never need ShiftMyData to use one.

Connecting a database

  1. Open Databases and press Connect a database (or Clouds, then Connect a cloud).
  2. Choose your database, or your hosting service by name: Supabase, Neon, Amazon RDS, PlanetScale, DigitalOcean, MongoDB Atlas or Azure SQL.
  3. Paste the Connection string your provider gives you, such as postgresql://user:password@host:5432/dbname. Or leave it empty and fill in the server address, database name, username and password one by one. Anything you type in a field wins over the connection string.
  4. If the database only answers on its own server (most web hosting), fill in the SSH server fields: it is then reached through that server, and Server address is usually localhost.
  5. Press Connect. The details are checked straight away.

Backing up, now or on a schedule

  1. On Databases, press Back up now on the database's card for a single backup, or Schedule for a repeating one.
  2. Choose the cloud and folder to save into and how many backups to keep. For a schedule, choose how often: every 6 or 12 hours, every day, every Sunday or every month.
  3. Optionally list Tables to back up only those. MongoDB takes one Collection per backup. Leave it empty for everything.
  4. Press the button. The first backup starts at once; its progress shows in the job list.

Each backup is one dated file, such as shop-2026-10-15-020000.sql.gz. After each good run the oldest backups of that database past the number you keep are removed; nothing else in the folder is touched. The card shows the last backup, its size, and every schedule with its next run.

Encrypted backups

Give a database a Backup passphrase (at least 12 characters) when you connect it, or later by editing its connection. Every backup of it is then encrypted with AES-256 before it leaves our server, and its name ends in .enc. The cloud you save into holds nothing readable.

To open an encrypted backup on your own computer, use OpenSSL (built into macOS and Linux; on Windows it comes with Git for Windows): openssl enc -d -aes-256-cbc -pbkdf2 -iter 600000 -in shop-2026-10-15-020000.sql.gz.enc -out shop-2026-10-15-020000.sql.gz

Restoring a backup

  1. On Databases, press Restore on the database's card.
  2. Choose the cloud and folder (the one its backups go to is filled in) and pick a backup from the list, newest first. Only files this database can take are listed.
  3. For an encrypted backup made with an older passphrase, type that passphrase; otherwise the database's own is used.
  4. MongoDB: tick Drop each collection before restoring it to replace collections rather than add to them.
  5. Type the database's name to confirm, and press Restore.

Try it

Everything here is in ShiftMyData's Help too, once you are signed in. Start free

← Backups and restore · Sharing files with a link → · Every chapter