i would like to have a script for making a backup of my data on a webserver...
i thought of first savin the database to some *sql
and then zipping all files...
...this is no problem, but it would be usefull, if i could rename the files in the way that the date is patr of filename... but how to involve the date into filename?!
mysqldump -uusername -p database > ~/www/db.sql
zip -R -9 -o ~/bak/latestbak ~/www/*