Okay, just tried this myself...
/usr/bin/mysqldump -hlocalhost -umyname_forum -pxxxxxxxxxxxx myname_db | gzip > /home/myname/backups/lasthourlybackup.sql.gz
file named hourlybackup, no .txt extention, CHMOD 755 though much of this should be unneeded information in a minute
path
/home/myname/hourlybackup
In ran, but here's what I got via email
Usage: mysqldump [OPTIONS] database [tables]
OR mysqldump [OPTIONS] --databases [OPTIONS] DB1 [DB2 DB3...]
OR mysqldump [OPTIONS] --all-databases [OPTIONS]
For more options, use mysqldump --help
/home/myname/hourlybackup: line 1: [Q: command not found
/home/myname/hourlybackup: line 1: /home/myname/backups/lasthourlybackup.sql.gz: No such file or directory
Figured the last line of that was my own stupidity (not creating the directory), so I have created the directory and it is CHMOD 755 now. What about "[Q: command not found" though?