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: README.md
+16-6Lines changed: 16 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,6 +2,16 @@
2
2
3
3
This image runs mongodump to backup data using cronjob to an s3 bucket
4
4
5
+
## Forked from [halvves/mongodb-backup-s3](https://github.com/halvves/mongodb-backup-s3)
6
+
7
+
Added support for AWS S3 v4 authorization mechanism for those who are experiencing error:
8
+
9
+
```
10
+
A client error (InvalidRequest) occurred when calling the PutObject operation: The authorization mechanism you have provided is not supported. Please use AWS4-HMAC-SHA256.
11
+
```
12
+
13
+
Play well with this docker [nginx-letsencrypt-mongo-portainer] setup
14
+
5
15
## Usage:
6
16
7
17
```
@@ -13,10 +23,10 @@ docker run -d \
13
23
--env MONGODB_PORT=27017 \
14
24
--env MONGODB_USER=admin \
15
25
--env MONGODB_PASS=password \
16
-
halvves/mongodb-backup-s3
26
+
deenoize/mongodb-backup-s3
17
27
```
18
28
19
-
If you link `halvves/mongodb-backup-s3` to a mongodb container with an alias named mongodb, this image will try to auto load the `host`, `port`, `user`, `pass` if possible. Like this:
29
+
If you link `deenoize/mongodb-backup-s3` to a mongodb container with an alias named mongodb, this image will try to auto load the `host`, `port`, `user`, `pass` if possible. Like this:
20
30
21
31
```
22
32
docker run -d \
@@ -26,15 +36,15 @@ docker run -d \
26
36
--env BACKUP_FOLDER=a/sub/folder/path/ \
27
37
--env INIT_BACKUP=true \
28
38
--link my_mongo_db:mongodb \
29
-
halvves/mongodb-backup-s3
39
+
deenoize/mongodb-backup-s3
30
40
```
31
41
32
42
Add to a docker-compose.yml to enhance your robotic army:
33
43
34
44
For automated backups
35
45
```
36
46
mongodbbackup:
37
-
image: 'halvves/mongodb-backup-s3:latest'
47
+
image: 'deenoize/mongodb-backup-s3:latest'
38
48
links:
39
49
- mongodb
40
50
environment:
@@ -48,7 +58,7 @@ mongodbbackup:
48
58
Or use `INIT_RESTORE` with `DISABLE_CRON` for seeding/restoring/starting a db (great for a fresh instance or a dev machine)
* forked from [futurist](https://github.com/futurist)'s fork of [tutumcloud/mongodb-backup](https://github.com/tutumcloud/mongodb-backup)
127
+
* forked from [halvves/mongodb-backup-s3](https://github.com/halvves/mongodb-backup-s3) fork of [futurist](https://github.com/futurist)'s fork of [tutumcloud/mongodb-backup](https://github.com/tutumcloud/mongodb-backup)
0 commit comments