uuencode never worked for me..

Posted by kain Thu, 03 Jul 2008 22:22:00 GMT

 Maybe I’m just stupid, however I just wanted a basic cron job to send a compressed postgresql backup file to a gmail account.

Mutt to the rescue.

cd /tmp && pg_dump maxgests -U postgres | gzip --best -c > database.gz && (mutt -a database.gz email@gmail.com < /dev/null)
Comments

Leave a comment

Comments