MySQL DUMP with timestamped file name


/ Published in: Bash
Save to your folder(s)



Copy this code and paste it in your HTML
  1. mysqldump -u USER_NAME -p DATABASE_NAME > PATH/TO/DATABASE/BACKUP/`date +"%m-%d-%y_%H:%M_%z"`.sql

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.