Posted By

timberjorge on 04/21/11


Tagged

mysql date Shell cli sh mysqldump


Versions (?)

MySQL DUMP with timestamped file name


 / Published in: Bash
 

  1. mysqldump -u USER_NAME -p DATABASE_NAME > PATH/TO/DATABASE/BACKUP/`date +"%m-%d-%y_%H:%M_%z"`.sql

Report this snippet  

You need to login to post a comment.