Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

SHARED_DATABASE (DATABASE_URL) ----backup---> error ! must delete a backup before creating a new one

Tags:

heroku

Hi what can I do about this I can't capture a backup from heroku

I am using shared database

It always shows...

SHARED_DATABASE (DATABASE_URL) ----backup---> error

! must delete a backup before creating a new one

How can I delete recent backups?

Thank you.

like image 268
rukia_kuchiki_21 Avatar asked Jul 23 '12 02:07

rukia_kuchiki_21


2 Answers

heroku pgbackups:capture --expire 

this will create the backup :)

--expire automatically deletes the oldest existing manual backup

like image 89
geekdeepak Avatar answered Oct 26 '22 13:10

geekdeepak


You can list backups

heroku pgbackups 

Then delete one by typing it's ID

heroku pgbackups:destroy b003 

More information can be found here.

like image 39
Luís Ramalho Avatar answered Oct 26 '22 13:10

Luís Ramalho