I have a directory with a big amount of data and I want to archive it. I need
- Supports compression. The compression can saves a lot of disk space;
- Supports password encryption. The data is sensitive so I want it not readable if the disk is stolen;
- Retain *NIX permission;
- Fast to retrieve a file, meaning if I just need to get a small file from it, it should be fast and won't read the whole archive.
All well-known archivers in my mind don't meet all the above criterion:
- TAR: it is not compressed, no password encryption;
- TAR.GZ / TAR.BZ2 / TAR.7Z: if you just need one file from it, you need to uncompress the tar.gz file until the tar gets to the file you need;
- 7Z / RAR: not retain permissions;
- ZIP: not encrypted and not retain permission
Anyone has suggestions?