Comments (5)
Don't ask me how or why, but email notifications started to be sent successfully about 2 days ago.
from mgob.
I also have an issue with e-mail sending:
time="2023-06-14T01:00:41Z" level=error msg="Notifier failed sending email notification failed: x509: certificate signed by unknown authority"
from mgob.
@joeldatabox it seems like it has an issue on connection
Notifier failed sending email notification failed: dial tcp 191.6.216.100:587: connect: connection timed out.
Do you have the same setup for testing and production?
from mgob.
@woraccmsq for your smtp settings
smtp:
server: xxx
warnOnly: true
insecureSkipVerify: true # <-- this is the setting for your issue
tlsEnabled: true
port: 25
from mgob.
Apologies for the delay. @maxisam follow the current production settings.
docker-compose.yml
docker-compose.yml
version: "3.8"
services:
my-cloud-backup-manager:
restart: always
image: maxisam/mgob:latest
networks:
- my-cloud-backup-manager-network
- my-cloud-backup-network
- my-cloud-proxy-network
ports:
- "8090"
volumes:
- ./my-cloud-backup-files/config:/config
- ./my-cloud-backup-files/storage:/storage
- ./my-cloud-backup-files/tmp:/tmp
- ./my-cloud-backup-files/data:/data
- ./my-cloud-backup-files/keys:/secret
networks:
my-cloud-backup-manager-network:
driver: bridge
my-cloud-backup-network:
name: my-cloud-backup-network
my-cloud-proxy-network:
name: my-cloud-proxy-network
config/my-cloud.yml
scheduler:
# run every day at 6:00 and 18:00 UTC
cron: "0 3 * * *"
# number of backups to keep locally
retention: 10
# backup operation timeout in minutes
timeout: 720
target:
# mongod IP or host name
host: "my-cloud-mongodb-prod"
# mongodb port
port: 27017
# mongodb database name, leave blank to backup all databases
database: "my-cloud"
# leave blank if auth is not enabled
username: "root"
password: "my-cloud-passwd"
# add custom params to mongodump (eg. Auth or SSL support), leave blank if not needed
#params: "--ssl --authenticationDatabase admin"
#retry:
# number of retries
# attempts: 3
# backoff factor * (2 ^ attemptCount) seconds
# backoffFactor: 60
encryption:
gpg:
keyFile: /secret/key-gpg.pub
sftp:
host: my-cloud.myhost
port: 7586
username: my-user-name
password: my-passwd
# you can also specify path to a private key and a passphrase
# dir must exist on the SFTP server
dir: company/my-cloud
smtp:
server: smtp.kinghost.net
port: 587
username: [email protected]
password: my-passwd-backup
from: [email protected]
to:
- [email protected]
- [email protected]
# 'true' to notify only on failures
warnOnly: false
These are my production settings. I just changed the sensitive information. It is worth remembering that this same configuration works when the database is empty, however, after restoring the data the problem begins to occur.
The backup file generated when the error occurs is approximately 2.2GB in size
from mgob.
Related Issues (20)
- Error running backup HOT 3
- support mongo dump excludeCollectionsWithPrefix or excludeCollections HOT 1
- feature request: skip move dumped file from /temp to /storage to save time HOT 4
- feature request: include more database engines HOT 1
- CVE-2023-37920 Critical 9.8 HOT 1
- how to store passwords securely HOT 4
- Configure target with connection string URI HOT 3
- Configuration via environment variables HOT 3
- Error: unable to install chart HOT 4
- feat: update helm chart to load external secrets as environment
- Issues with latest helm chart 1.8.3 HOT 5
- Environment variables injection HOT 3
- Plan name with "-" doesn't work with environment variable HOT 1
- Feature Request: Restore Collections
- Feature request: always preserve 1 version of the log HOT 1
- create Pod common-mgob-0 in StatefulSet common-mgob failed error: Pod "common-mgob-0" is invalid: spec.initContainers[0].name: Duplicate value: "init-cleanup" HOT 1
- gpg bin missing in latest image HOT 7
- how does the validation step work? HOT 3
- improve docs and error handling HOT 9
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mgob.