I'm trying to setup an automated database backup. I'm using mysqldump to
dump the data to a text file and then tar the file up (it's not a large
database) and then I would like to send it to a user on a differnet
system. This is the command I'm using
mail -s "mebs backup" somone@somewhere.com < mebsbackup.tgz
This will send the file but not as an attachement to the email. I do get
the contents of the file but I was hoping for a file "mebsbackup.tgz"
that I could save on my system.
Any ideas how to do this?
Thanks
Mike M
-- perl -ne'chomp;$a.=pack"h*",$_;END{print"\n$a\n\n"}'<<RM c496e657870225f636b6371202d49636f62737f6664702355736b637 12a0 RM_________________________________________________________ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com
This archive was generated by hypermail 2.1.3 : Fri Aug 01 2014 - 19:06:35 EDT