Operating System - OpenVMS
cancel
Showing results for 
Search instead for 
Did you mean: 

Backup encryption + zlib = mess

Stephen Eickhoff_1
Frequent Advisor

Backup encryption + zlib = mess

Being a big fan of both encryption and disk-based backups, I decided to try simultaneously encrypting and (undocumented) compressing a save set, like so:

BACKUP *.TXT SAVESET.SAV/SAVE /DATA_FORMAT=COMPRESS /ENCRYPT=NAME=MYKEY

The result?

%BACKUP-I-COMPRESS, data compressed by 0%

HP is encrypting the data before compressing it. If they did the reverse, there would actually be some compression. Now how the heck do I recommend a fix for an undocumented feature before it becomes official in, I guess, 8.3-1?
2 REPLIES
Stephen Eickhoff_1
Frequent Advisor

Re: Backup encryption + zlib = mess

As a note, it is possible to use only compression first, then ENCRYPT the saveset file; but that has the disadvantage of displaying errors as if the save set was corrupted if you forget to decrypt it first.
Karl Rohwedder
Honored Contributor

Re: Backup encryption + zlib = mess

Guy Peleg e.g. on his TUD speeches has told, that compression and encryption is currently not supported.

regards kalle