I would like to do both encryption and compression on my backups and was wondering if it were possible and what the diSadvantages are?
I know that Networker offers both and have tried putting them both in a directive with the end result being that the backup got encrypted but compression was next to nothing. So I guess the question is how do I get it to compress first and then encrypt?
If I were able to do both how much longer would it take for a backup of about 200GB on a LTO4 tape drive?
I am running Networker 8.0.1.1 Build 132 on AIX 7.1 with a LTO4 tape library
I am also looking at doing this on the hardware level but if I could do it at the Networker level without too added time to the backups I would rather do that.
Since you want to encrypt data, Networker encrypts the whole file (even blanks/null, because it does not matter that the database file is not full), so every byte is encrypted and cannot be compressed in an effective way, leading to a size almost equal to the original file. (AES have a 'linear transformation' in order to strew bits to have a better 'statistic distribution').
So, if you want to have both, you have to give Networker compressed files (but still not sure)...
And also, don't remember that you have hardware drive compression.
Is it possible to get a compressed backup to a hard drive, from Networker and then encrypt the backup as it is sent to tape?
I am only worried about the tape being encrypted because it may have to leave the site at some time and all communication between servers is with ssh.
I have 1 server dedicated to backup/recovery that has more than enough space to cover a few days worth of backups that could be then sent to tape and removed from the server. Only thing is that I have not set it up to do that and do not really know how to do it in Networker.
Is it possible to get a compressed backup to a hard drive, from Networker and then encrypt the backup as it is sent to tape?
Of course !
You can tell Networker to process a script before a save (e.g : compressing huge data into files) with the savepnpc command, then saving data with compression.
I am only worried about the tape being encrypted because it may have to leave the site at some time and all communication between servers is with ssh.
So, what is the problem ?
You can always recover encrypted data, even on an another Networker server, since you provide the pass-phrase.
I have 1 server dedicated to backup/recovery that has more than enough space to cover a few days worth of backups that could be then sent to tape and removed from the server. Only thing is that I have not set it up to do that and do not really know how to do it in Networker.
Try to use 'file' devices or 'adv_file' devices (licensed feature), then stage data on tape after a period.
From my memory, a 'file' device is not a licensed feature.
After its creation, it's seen as a new device, that can be addressed by a pool.
Once I get that the plan will be to compress onto disk and then encrypt to tape
Issue a savepnpc against the client, to perform a compression of your files before saving them (on disk or tapes) with an AES directive.
I don't think that you will be able to save data on the Networker server disks then encrypting when staging these datas to tape, because the save data format is specific.
It will work if you copy data from the client to the server, then saving to tape.
deniscnqd
68 Posts
3247
0
Posted March 26th, 2013 08:00
So you don't need to create NFS filesystems.
Just create FS and say to Networker that this FS is an 'AFTD' or 'file' type, then retry...