database
moderate risk
Restore MySQL database from backup
Restore MySQL database from backup. Essential database command for system administration and development workflows.
Share:
Command
mysql -u username -p database_name < backup.sqlOS Compatibility
🐧linux
native🍎macos
native🪟windows
nativeMore moderate Risk Commands
View All →Restore PostgreSQL database
moderateRestore PostgreSQL database. Essential database command for system administration and development workflows.
pg_restore -d database_name backup.sqlCompatible:🐧🍎🪟
databasebeginner
Restore MongoDB database
moderateRestore MongoDB database. Essential database command for system administration and development workflows.
mongorestore --db database_name dump/Compatible:🐧🍎🪟
databasebeginner