Operating System - OpenVMS
1748034 Members
4891 Online
108757 Solutions
New Discussion юеВ

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 2
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