MySQLデータベースのバックアップ

・linux
#!/bin/csh
#
set fn=`date '+%Y%m%d'`

tar zcvf /バックアップするディレクトリ/$fn.data.gz.tar /usr/local/mysql/data
保存して実行
戻る