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


You need to login to view comments.