Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

Create And Restore MongoDB Backups

# Backup
mongodump --authenticationDatabase admin --username root --password PASSWORD -d DATABASE_NAME -h localhost

# Restore
mongorestore --authenticationDatabase admin --username root --password PASSWORD PATH_TO_BACKUP_FILE
Comment

PREVIOUS NEXT
Code Example
Shell :: how to check tls version 
Shell :: what is the difference between powershell and command prompt 
Shell :: how to download terminator in ubuntu 
Shell :: bash grep find lines that start with word 
Shell :: new angular project no tests 
Shell :: kubectl without sudo 
Shell :: run specific migration file django 
Shell :: Fetch all braches in git 
Shell :: run postgresql command line maccos 
Shell :: install next js 
Shell :: trim video linux 
Shell :: bash delete a range of lines from a file 
Shell :: permission exec linux 
Shell :: error: The following untracked working tree files would be overwritten by merge: static/platform_images/landing_page_img.png Please move or remove them before you merge. Aborting 
Shell :: packet tracer ubuntu 
Shell :: how to change directory if folder name have space 
Shell :: stop all docker containers 
Shell :: bash create folder in current directory 
Shell :: set email git 
Shell :: download the Laravel installer using Compose 
Shell :: delete all files with specific name ubuntu 
Shell :: How to create or add a user on linux 
Shell :: xcode There is not enough disk space available to install the product. 
Shell :: grep but exclude directory 
Shell :: how to make folder in ubuntu 
Shell :: how to install pygame 
Shell :: create a repo using github api 
Shell :: find files in windows command 
Shell :: check if a variable is null in bash 
Shell :: php.ini ubuntu 
ADD CONTENT
Topic
Content
Source link
Name
4+6 =