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
Image created to automate backing up procedure of PostgreSQL databases, store them to S3 Object storage and implement retention of stored archives with `Grandfather-father-son` backup rotation [scheme](https://en.wikipedia.org/wiki/Backup_rotation_scheme).
6
-
It is also possible to use this container to create a single backup of specific DB. Set full S3 path (e.g `bucket_name/project_name/stage_branch/database_name.tar.gz`) as the value of variable `S3_OBJECT_PATH` to execute single backup
13
+
Image created to automate backing up procedure of PostgreSQL databases, store backups to S3 Object storage and implement retention of stored archives with `Grandfather-father-son` backup rotation [scheme](https://en.wikipedia.org/wiki/Backup_rotation_scheme).
14
+
It is also possible to use this container to create a single backup of specific DB.
7
15
8
16
## Usage
9
17
10
18
Key idea of usage was to add this container as a service to `docker-compose.yml` manifest alongside with PostgreSQL database container. See `compose-example/docker-compose.yml`.
11
-
To run container as a standalone backuaper, to backup cloud SaaS or bare-metal deployed PostgreSQL, for example use following command:
19
+
To run container as a standalone backupper, to backup cloud SaaS or bare-metal deployed PostgreSQL, for example, use following command:
12
20
13
21
```shell
14
22
docker run -d --rm \
@@ -27,6 +35,27 @@ docker run -d --rm \
27
35
numdes/nd_postgres_backup:v0.3.0
28
36
```
29
37
38
+
### Manual one-time backup without schedule
39
+
40
+
Set full S3 path (e.g `bucket_name/project_name/stage_branch/database_name.tar.gz`) as the value of variable `S3_OBJECT_PATH` to execute single backup
0 commit comments