Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Error running Bitbucket Backup Script

Nirav Patel April 22, 2020

Hey I'm following Bitbucket DIY Backup info, and I'm currently using "" example from Bitbucket Backup Git.

My Bitbucket Server is running in an AWS instance in a Docker Container and I'm postgresql which is running AWS RDS.

I copied code from and updated field values with my values and copied it to Then I ran the file by ./ and it's throwing following error.

[ -> wait_for_bg_jobs][xyz] ERROR: Database backup failed with status 1 (PID=7933)

Can Someone help me resolve the issue?

Thank you,


1 answer

1 vote
Nirav Patel April 23, 2020

Also this failure doesn't unlock the bitbucket. When I put the token in to unlock the bitbucket it took forever to unlock and after sometimes I refreshed the page it was just a blank page. I had to restart the bitbucket server to make bitbucket work again.

Fernando Guarino
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
June 26, 2023

Have you been able to fix this problem? I'm having the same error. Many thanks

Suggest an answer

Log in or Sign up to answer
AUG Leaders

Atlassian Community Events