learning a little shell 
Just a little something the guys on ##linux showed me (can’t find it on the tar man page). When you want to use ‘tar’ but have it take it’s input from the pipe rather then a file you need to place a ‘-’ at the end of the command (and don’t for get the f option).
Example:
// this will dump all the databases and then create a tarball // and zip the SQL file in backup.tar.gz mysqldump -u user -p pass -A|tar -czf backup/backup.tar.gz -