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

Confused On How to Schedule Hourly / Daily Backups Here #53

Open
cmennens opened this issue Feb 9, 2017 · 5 comments
Open

Confused On How to Schedule Hourly / Daily Backups Here #53

cmennens opened this issue Feb 9, 2017 · 5 comments

Comments

@cmennens
Copy link

cmennens commented Feb 9, 2017

I configured this script to just do daily and hourly backups on a single instance of mongod w/o auth. Pretty simple. My question is when I enable both daily / hourly to "yes", how do I schedule this in cron.daily or crontab? Would I need to schedule this script every hour and if so, does that mean it will take a full backup (daily) every single hour I really just want an hourly backup? Confused on how the logic flows here. How do I get dailys at 1 AM and an hourly backup every hour? Are they just full hourly dumps?

@okonon
Copy link

okonon commented Sep 6, 2017

@jalogisch @mriegler could you please elaborate on above question? I am interested as well. Thanks a lot!

@vikrampawar4
Copy link

Is there any update on this?

@vikrampawar4
Copy link

And this hourly backup is complete backup or of just oplog backup(only of that 1 hour data)?

@rohit-shrivastava-in
Copy link

Hourly backup I have done, take entire backup and deletes old one.
I am looking for just uplog data backup(last hour data and merged with old backup), is it possible??

@vikrampawar4
Copy link

As i have checked the script there is an option which takes the last timestamp of the dump from oplog. But actually it is not working as expected, it takes the complete backup again. Can someone please explain how is it going to work?

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