This commit is contained in:
Jelmert 2018-11-23 11:19:54 +01:00
parent 8851ac13ef
commit 27d806fab1

View File

@ -89,7 +89,7 @@ You will see something like ::
Backup to Amazon S3 Backup to Amazon S3
---------------------------------- ----------------------------------
For uploading your backups to Amazon S3 you can use the aws cli container. There is a upload command for uploading the postgres /backups directory recursively and there is a download command for downloading a specific backup. The default S3 environment variables are used. :: For uploading your backups to Amazon S3 you can use the aws cli container. There is an upload command for uploading the postgres /backups directory recursively and there is a download command for downloading a specific backup. The default S3 environment variables are used. ::
$ docker-compose -f production.yml run --rm awscli upload $ docker-compose -f production.yml run --rm awscli upload
$ docker-compose -f production.yml run --rm awscli download backup_2018_03_13T09_05_07.sql.gz $ docker-compose -f production.yml run --rm awscli download backup_2018_03_13T09_05_07.sql.gz