pg_restore tar code example Example 1: uncompress tar tar -xvf filename.tar Example 2: archive tar tar -czvf archive.tar.gz /usr/local/something