Mest för att komma ihåg det själv.

Skapa tar:

tar -czvf backupk.tgz --exclude='logs' --exclude='other_folder' .

Packa upp:

tar -xzvf archive.tgz