Simple backup & compress folder

Use the following:

tar -cvf - dir_to_backup | gzip -9 > new_file.tar.gz