Transferring backups from P.sh to S3
Platform.sh DevRel
I think this would make a good how to guide.
Asking here first. I understand I can install s3cmd or aws-cli. Is there any examples kicking around?
0
Comments
Do you mean backups taken by the “Backup” button in the UI, or something you would do manually with
mysqldumpandrsync?I’m not sure of the format of the P.sh backup. But I assume (like mine) some clients have a need to store backups within their own infra or own specified location. So in my case I mean the database and files dumped and rsynced respectively over to S3 or wherever.
See: How to sync database backups to Amazon S3
I was able to transfer my PostgreSQL dumps to S3 doing the following:
main, I created another sensitive environment variablePGPASSWORDto set up the dump cron job.platform.app.yamlawscliin my build hookmasterPlease sign in to leave a comment.