Nataraj S Narayan wrote:
Hi
I am having a Dbmail 2.0.9 + postfix setup.
Want to write a cron script that tars a Mysql database and sends the
tar as mail attachment to
one particular user's mailbox.
I have both Dbmail and the mysql database in the same machine. Plz
help me with mail client program available for this in Postfix/dbmail.
I find a program by name sendmail along with postfix. Does it have
same syntax as the one packed with sendmail MTA?
Or should I write a script in TCL,PHP or perl for this?
regards
Nataraj
_______________________________________________
DBmail mailing list
[email protected]
https://mailman.fastxs.nl/mailman/listinfo/dbmail
you could do it with a shell script
don't know exactly off the top of my head but something like
mysqldump blah > dump.sql
tar dump.sql dump.tar
mail
rm dump.*