cd ~/backup rm backup5.sql mv backup4.sql backup5.sql mv backup3.sql backup4.sql mv backup2.sql backup3.sql mv backup1.sql backup2.sql mv backup.sql backup1.sql mysqldump --all-databases >backup.sql

<p>This is a very quick and dirty backup script that should back up all of the Database's (databasi?) in a MySQL database, and maintain 5 days of storage. Next week, off site!</p>