User this command to compress a folder using gzip and tar
Now you can un zip/tar it with this command
tar -cvzf /destination/file_name.tar.gz /source/folder_name
There are a ton of switches you can use for this. I am just doing an archive and putting it in the folder for rsync server to pick it up for archival.
tar -xzf /folder/file_name.tar.gz