Problems using mutt and autobackup script
Posted by: jasonj75
Posted on: 2007-01-16 11:16:00
In an attempt to backup my SQL databases I'm following these instructions: (http://wiki.dreamhost.com/index.php/Automatic_Backup)
The script appears to run successfully (except I always have to remove the $suffix piece from the mutt command), but I never receive an email.
However if I run this line all alone(clearing out the $suffix part).
mutt you@domain.com -a /home/username/backups/archives/mysql_backup.$suffix.tar -s "MySQL Backup"
I get dumped to a mutt screen to confirm the To: address and Subject: line... Which if I do results in an email in my inbox with my database.
If I cron the entire script I get nothing (I'm assuming out there somewhere mutt is looking for confirmation on To: and Subject:...Is there a switch to force mutt to proceed without confirmation?