Database Reference
In-Depth Information
Installing the add-on
After choosing the plan that suits you best, you can install the add-on in your Heroku ap-
plication. This installation can be done in two different ways: via the Heroku client and via
the web interface.
The PG Backups add-on is free with all plans, but Heroku requires that you enter your
credit card information to install the add-on. For this visit the URL
ht-
Via the Heroku client
The command to install via the Heroku client will depend on the chosen plan. For the
Plus
plan, you should enter the following command in your operating system Terminal:
$ heroku addons:add pgbackups --app your-app-name
Adding pgbackups on your-app-name... done, v22 (free)
You can now use "pgbackups" to backup your databases or
import an external backup.
Use `heroku addons:docs pgbackups` to view documentation.
For the
Auto - One Month Retention
plan, enter the following command:
$ heroku addons:add pgbackups:auto-month --app your-app-name
Adding pgbackups:auto-month on your-app-name... done, v24
(free)
You can now use "pgbackups" to backup your databases or
import an external backup.
Use `heroku addons:docs pgbackups` to view documentation.
And finally, for the
Auto - One Week Retention
plan, enter the following command:
$ heroku addons:add pgbackups:auto-week --app your-app-name
Adding pgbackups:auto-week on your-app-name... done, v26
(free)
You can now use "pgbackups" to backup your databases or
import an external backup.
Use `heroku addons:docs pgbackups` to view documentation.