Summary
以下のモジュールが必要MIME::Lite
DateTime
YAML
Usage
% mysqldump2email --conf /path/to/config.yaml
config.yaml sample
mysqldump:
command: /usr/bin/mysqldump
username: your-mysql-username
password: your-mysql-password
#host: localhost
zip:
command: /usr/bin/zip
# if encryption needed
#password: your-zip-password
mail:
from: user@example.com
to: user@example.com
route:
via: smtp
host: localhost:25
#route:
# via: sendmail
gspace:
enable: 0
directory: /
tmpdir: /tmp
#time_zone: Asia/Tokyo
Reference
Ogawa::Memoranda - 2006-07-24 - mysqldump2email公開http://as-is.net/blog/archives/001149.html
via
オレンジニュース - 2006-07-28http://secure.ddo.jp/~kaku/tdiary/20060728.html#p04