Tagged as sh

edit delete favorite
Posted by eric on Nov 05, 2007
Running this script will back up and zip all mysql databases.
#!/bin/sh
mysqldump --opt --all-databases | bzip2 -c > /var/backup/databasebackup-`date -I`.sql.bz2
 
Please submit any bugs/features and report abuse. Thanks!
Spacer
Spacer
Spacer
Top Tags
Spacer