Hi All
I am working as a support specialist for GRID MP for GSK.
We are taking up the backup of the database and writing it to a unix directory
using the following command:
su -l $INST -c "db2 backup db $DBNAME ONLINE to $ARCHIVE_PATH"
$INST : db2inst1 (databse schema name)
$DBNAME : UDDB (database name)
$ARCHIVE_PATH : /GWD/appbase/projects/GRIDDB/backup (PATH of directory)
Then we zip the database backup in the above path.
But due to lack of space in the above path,we are not able to do.
So thought of writing the backup in the compressed form directly to the above path i,e the /GWD/appbase/projects/GRIDDB/backup should conatin the zipped backup file.
I tried to use compress option of database backup command to write directly to the path but couldn't do it.
Please help me out with the proper syntax of the compress command.
It will be very helpful if someone will provide me with any example.
I went through the following link
http://www.dbforums.com/t995499.html
and found the syntax but couldn't use in the command .
Please help.
Thanks
Alpha