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

How to Connect Firebase Using Pyrebase In Python

How to get Full URL or get absolute url In Django

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