Postgres S3 Database Backup
Confused on what I'm doing wrong here. I am trying to backup my postgres database using the auto backup system to an S3 server. I am using Digital Ocean Spaces as the S3 server...
I know the database URL is right. There has to be something wrong with the config of the bucket. Not sure what should be in each field.
Can someone hold my hand on this? Here's a snapshot of my config. Because the digitalocean terminology is not 1:1 to amazon's, I must have something wrong.
3 Replies
Region: nyc3
Config looks like this:
AWS_ACCESS_KEY_ID=DO00AZEBZX....
AWS_S3_BUCKET=https://company-data.sfo3.digitaloceanspaces.com
AWS_S3_ENDPOINT=sfo3.digitaloceanspaces.com
AWS_S3_REGION=nyc3
BACKUP_CRON_SCHEDULE=0 5 * * *
BACKUP_DATABASE_URL=....
AWS_S3_BUCKET shouldn’t be a url
just the bucket name
@Deani1232
Thank you. I will try that. So it should be "company-data" ?