tar -czvf backup.tar.gz /path/to/dir
tar -xzvf test.tar.gz