You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/docker-postgres-backups.rst
+8Lines changed: 8 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -92,7 +92,15 @@ You will see something like ::
92
92
93
93
Backup to Amazon S3
94
94
----------------------------------
95
+
95
96
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. ::
96
97
97
98
$ docker compose -f production.yml run --rm awscli upload
98
99
$ docker compose -f production.yml run --rm awscli download backup_2018_03_13T09_05_07.sql.gz
100
+
101
+
Remove Backup
102
+
----------------------------------
103
+
104
+
To remove backup you can use the ``rmbackup`` command. This will remove the backup from the ``/backups`` directory. ::
0 commit comments