Posts

Showing posts from December, 2020

MySQL database dump from terminal command

Basic dump command :  mysqldump -u root -p prod_helpdesk > db_backup.sql Dump command with rename file by date time :  mysqldump -u root -p prod_helpdesk > prefix_$(date +%Y-%m-%d-%H.%M.%S).sql