I have a project that uses MySQL database. I want to backup the database every day, so I use this:
mysqldump -h host -u user -p password database > 'location.sql'
I want the files to be named with timestamp, i.e.:
Today the file will be named
Tomorrow will be,
How to append a formatted timestamp with the exported file name ?