Ex:
// I have this command
mysqldump -uroot -p12345 base_diversos > base_diversos.sql
the file "base_diversos.sql" is generated without problems, I need the file to have date in the name: Ex:
mysqldump -uroot -p12345 base_diversos > base_diversos_25_02_2015.sql
How to put in the script the date variables to stay dynamic and generate with the current date being backed up?
would be something like: Ex:
mysqldump -uroot -p12345 base_diversos > base_diversos_%d_%m_%Y.sql
I've tried several ways and the error.
Thank you