blob: 0490e3be81f1025b0fad91d7e2d40842199dfa9a (
plain)
1
2
3
4
5
6
7
8
|
#! /bin/sh
fname="/data/backup/backup-mysqldb-`date +%Y%m%d%H%M%S`.sql"
mysqldump --verbose --user=root --password --all-databases > $fname
echo dumped to $fname
# 1076 mysql --user=root --password < bugzilla_db_clean.sql
|