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

using MongoDump and MongoRestore to schedule a backup of our current tagging result #178

Open
YanLiang1102 opened this issue Jun 23, 2017 · 3 comments
Assignees

Comments

@YanLiang1102
Copy link
Contributor

Maybe every week to back it up once is a good checking point.

@YanLiang1102
Copy link
Contributor Author

mongodump --host localhost --port --db lexisnexis --collection disk_stories --authenticationDatabase admin --username "username" --password "password" --gzip --out ~/

using mongo dump with a password and username --autehticationDatabase admin can not be neglected.

@YanLiang1102
Copy link
Contributor Author

mongorestore --host localhost --port --db eventData--drop ./file
to store the story data to hanover.

@YanLiang1102
Copy link
Contributor Author

store the back up code on protland yan's home under this directory
/backupMongoDictionaryCode

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

No branches or pull requests

1 participant