Skip to content

arashkhavari/nightly_db_backup

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 

Repository files navigation

nightly_db_backup

MongoDB and MySQL nightly backup sequentialy

Dump from MySQL and MongoDB with mysqldump and mongodump command with example syntax:

mysqldump -u <username> -p<password> -h<db_hostname> --routines <db_name> <table_name> > /export/data/path

mongodump --quiet --host <db_hostname> --u<username> -p<password> --db <db_name> --out=/export/data/path --authenticationDatabase <auth_db_name>

compress data with example command syntax:

gzip -9 /export/data/path/file.dump

About

MongoDB and MySQL nightly backup sequentialy

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages