How to Take MongoDB backup & Restore from Local to Server


TO take Restore data from Local to Mongodb

mongorestore --db <mongodb_Database_name> <Local FileName_with_path_location>


TO take Backup from Mongodb to Local


mongodump -d project(databased_name) -o new_backup (local file save path)

Comments

Popular posts from this blog

ERR: error parsing query: found influx, expected SELECT, DELETE, SHOW, CREATE, DROP, EXPLAIN, GRANT, REVOKE, ALTER, SET, KILL at line

How To Convert Html File/URL/String Into Image Using Python

How to get Full URL or get absolute url In Django