Skip to content

Back up and restore

Create, schedule, and restore backups for your PlanetScale databases.

Overview

PlanetScale provides the ability to create, schedule, and restore backups for production and development database branches.

Note
Daily backups of database branches are included free of charge for all databases. Our Scaler plan includes automated backups every 12 hours.

View backups

To view backups for either main or your development branches, go to your branch backups page: app.planetscale.com/<org>/<database>/<branch>/backups.

Once there, you'll find additional details about your backup history.

Create manual backups

In addition to the daily default backups that PlanetScale schedules for your database branches, you can create additional manual backups.

To create a manual backup, follow the steps outlined below:

  1. Go to your branch backups page: app.planetscale.com/<org>/<database>/<branch>/backups.

  2. Click the Create manual backup button.

This will bring up a pop-up modal that prompts you to name your backup and select how long you wish to keep the backup.

Manual backup pop-up modalManual backup pop-up modal

  1. Click the Backup up now button to finish the backup and close the pop-up modal.

Schedule backups

You can add additional scheduled backups for both your main and development branches, billed at $0.023 per GB per month.

  1. Go to your database backups settings page: app.planetscale.com/<org>/<database>/settings/backups.

  2. Click the New schedule button.

This will bring up a pop-up modal that prompts you to configure backup frequency, select how long you wish to keep the backup, and to name your schedule.

Schedule backup pop-up modalSchedule backup pop-up modal

  1. Click the Save schedule button to save your new scheduling configurations and to close the pop-up modal.
Note
For additional scheduled backups beyond the included default (daily for the free Developer plan and every 12 hours for the Scaler plan), you will be billed $0.023 per GB per month.

Restore from a backup

To restore a backup to a new branch, click on the individual backup to see the option to restore them.

  1. Go to your branch backups page: app.planetscale.com/<org>/<database>/<branch>/backups.

  2. Select the backup you wish to restore.

  3. Click the Restore backup button.

This will bring up a pop-up modal that prompts you to name your branch.

Restore backup pop-up modalRestore backup pop-up modal

  1. Click the Restore backup button to finish restoring your backup and to close the pop-up modal.

Need help?

Get help from PlanetScale's support team, or join our GitHub Discussion board to see how others are using PlanetScale.

Next steps

Was this page useful?
Last updated on November 18, 2021
Help us improve this page
PrivacyTerms© 2021 PlanetScale Inc.