Ubuntu / Linux Compress
Tar command compress decompress

Compress an Entire Directory or a Single File


>> tar -czvf name-of-archive.tar.gz /path/to/directory-or-file

Example


>> tar -czvf filestore-date.tar.gz  /odoo/.local/share/Odoo/filestore/folder.locaiton


Extract .tar.gz file to current working directory and print output


>> tar -xvf filename.tar.gz

Extract .tar.gz file to a different working directory:


>> tar -xf filename.tar.gz -C /home/user/files


ODOO Backup Local Storage
Essential Part of ODOO, Backup