Tks for your advice.
it will not include contents of /path and /path/to, but will keep the relative path of tar. as you are telling tar with /path/to/tar to make an archive of that folder it will keep the that info to know where to extract the folder tar to.
if you only want the archive to hold ./tar then do
tar jcpf /path/to/archive/tarball.tar.bz2 tar
I don't want to retain the complete path after decompresing;
After decompression I expect only to have;
Neither I need to compress the contents on /path and /path/to/
Can I hold the compressed tarball on another directory instead of on /path/to/tar/