Git Product home page Git Product logo

Comments (5)

joeldatabox avatar joeldatabox commented on May 29, 2024 2

Don't ask me how or why, but email notifications started to be sent successfully about 2 days ago.

from mgob.

woraccmsq avatar woraccmsq commented on May 29, 2024

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.

maxisam avatar maxisam commented on May 29, 2024

@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.

maxisam avatar maxisam commented on May 29, 2024

@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.

joeldatabox avatar joeldatabox commented on May 29, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.