Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Running the bash script with does not start backups. #59

Open
kollisaisriharsha opened this issue May 15, 2018 · 3 comments
Open

Running the bash script with does not start backups. #59

kollisaisriharsha opened this issue May 15, 2018 · 3 comments

Comments

@kollisaisriharsha
Copy link

Expected Behavior

Current Behavior

Possible Solution

Steps to Reproduce (for bugs)

Context

Your Environment

  • Version used:
  • Server type and version:
  • Operating System and version:

OS: Ubuntu 16.04
Mongo version 3.4

ISSUE:
Started running the bash script providing the hostname, port, user, password and auth database but it just creates an empty log file, empty folders in the location.
But it does not start any backup or doesn't write any logs can anyone please help me here.

@jochumdev
Copy link

Try to set:

# You need this in single mode
REPLICAONSLAVE="no"
OPLOG="no"

That fixed it for me.

@marcusorjames
Copy link

Thank you @pcdummy that worked perfect. I would say this should be the default behaviour in the commited file. I would submit a pull request but it doesn't look like the owner is responding as there is an active pull request from 2016...

@CherryDT
Copy link

I think this is because of set -e and some consequences of https://mywiki.wooledge.org/BashFAQ/105

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants