command to make tar file in linux code example
Example 1: how to tar linux
tar -zcvf file.tar.gz /path/to/dir/
Example 2: create gz in ubuntu
gzip -9 yourName_db.sql
tar -zcvf file.tar.gz /path/to/dir/
gzip -9 yourName_db.sql