You haven't told what version of DB2 you are on or your platform ..
If you are on V8.1.4 LUW, there is an option to compress the backup image in the BACKUP Command
If you are later than V7.2 FP5 (I remember this is when backup to pipe was supported, please check FP release notes ), you can backup to pipe and compress the image ... But remember, this will take longer than the usual backup
HTH
Sathyaram
Quote:
Originally posted by markmull45
Is there a way to compress db2 backup files as they are created? I am working on a server with limited space. If there is a way to code a db2 backup to /directory/path command so that the files being created are compressed dynamically while they are created, I would like to know how to write that script code.
Thanks
|