Command: tar zcvf name-of-backup folder-to-backup
Working example: tar zcvf backup.tgz httpdocs
The zcvf flags stand for
z = Zip the file
c = Compress
v = Verbose ( print out on the screen what it's doing )
f = File ( put the contents into a file )
More tutorials at https://www.barberriley.com