DB2 backup are writing to wrong policy
DB2 backup are going to the wrong policy, for example if backup was initiated from PRD_PORDB2_DB2_D_Full policy. Data will be recieved byPRD_PORDB2_DB2_M_Full. My goal is to keep different retentions for DB2 backups.And since dataisgoing to the default-applicaiton-backup schedule, multiple policies are requered. db2.conf DATABASE JCRDB OBJECTTYPE DATABASE POLICY PRD_PORDB2_DB2_M_Full SCHEDULE Default-Application-Backup ENDOPER DATABASE JCRDB OBJECTTYPE DATABASE POLICY PRD_PORDB2_DB2_W_Full SCHEDULE Default-Application-Backup ENDOPER DATABASE JCRDB OBJECTTYPE DATABASE POLICY PRD_PORDB2_DB2_D_Full SCHEDULE Default-Application-Backup ENDOPER DATABASE JCRDB OBJECTTYPE ARCHIVE POLICY PRD_PORDB2_DB2_Arch SCHEDULE Default-Application-Backup ENDOPER DATABASE JCRDB OBJECTTYPE DATABASE POLICY PRD_PORDB2_DB2_M_Full SCHEDULE Default-Application-Backup ENDOPER DATABASE JCRDB OBJECTTYPE DATABASE POLICY PRD_PORDB2_DB2_W_Full SCHEDULE Default-Application-Backup ENDOPER DATABASE JCRDB OBJECTTYPE DATABASE POLICY PRD_PORDB2_DB2_D_Full SCHEDULE Default-Application-Backup ENDOPER DATABASE JCRDB OBJECTTYPE ARCHIVE POLICY PRD_PORDB2_DB2_Arch SCHEDULE Default-Application-Backup ENDOPERSolved1.2KViews1like4CommentsBackup SAP with DB2 Network connection timed error
I have create case for helping me to backup SAP with DB2 environment, and the backup was running successfully. The day after that, my backup was error in child process "Network connection timed error" and from stdout log error ID was 518. I check it but was none in knowledge base (maybe my lack of searching). So, when i discuss with my dba he suggest to backup SAP with DB2 scheduled by SAP and it was work. There is somebody can share me about this case, or anybody have same as method to backup SAP with DB2 as mine? Is it harder to restore from my backup method than the usual method. Sorry for my english. Master Server & Media Server Windows 2008 R2 Netbackup 7.5.0.6 Client Linux Red Hat Enterprise SAP with DB2 Netbackup client 7.5.0.6 Best regards, IqbalSolved1.1KViews0likes4Commentsbackup Performence
how to improve backup performance(For example I am running a backup operation it is taking 10 hours (consider ) then I need it to finish it within 5 hours or below mean as early as possible is it possible or not if possible means how Give me an example )Solved1.9KViews2likes8Commentsbackup & restore performance
how to improve backup and restore performance(For example I am running a backup or restore operation it is taking 10 hours (consider ) then I need it to finish it within 5 hours or below mean as early as possible is it possible or not if possible means how Give me an example )Solved955Views1like3CommentsVerifying DB2 backup images using db2ckbkp command
NBU Version 7.1.0.4 (Linux) Hi all, We are just starting to use the DB2 agent in our environment, and wanted to find out about verifying DB2 backups using the db2ckbkp command. I have read all the guides I can but haven't been able to find the information. As per process of obtaining the DB2 backup list we run the following command - bplist -C <Client> -t 18 -l -R / This gives us the following output. -rw-rw-r-- db2inst1 staff 137610056K Jan 23 11:31 /DB2/TESTDB/node0000/20130123113137/TESTDB.0.db2inst1.node0000.0.20130123113137.1 What I want to know is if it is possible to somehow verify this image from DB2 using the db2ckbkp command? Previously we would run the following command against an image to get the header information. db2ckbkp -h SAMPLE2.0.TEST.NODE0000.CATN0000.19990818122909.001 ===================== MEDIA HEADER REACHED: ===================== Server Database Name -- SAMPLE2 Server Database Alias -- SAMPLE2 Client Database Alias -- SAMPLE2 Timestamp -- 19990818122909 Database Partition Number -- 0 Instance --test Sequence Number -- 1 Release ID -- 900 Database Seed -- 65E0B395 DB Comment's Codepage (Volume) -- 0 DB Comment (Volume) -- DB Comment's Codepage (System) -- 0 DB Comment (System) -- Authentication Value -- 255 Backup Mode -- 0 Include Logs -- 0 Compression -- 0 Backup Type -- 0 Backup Gran. -- 0 Status Flags -- 11 System Cats inc -- 1 Catalog Database Partition No. -- 0 DB Codeset -- ISO8859-1 DB Territory -- LogID -- 1074717952 LogPath -- /home/db2/test/NODE0000/ SQL00001/SQLOGDIR Backup Buffer Size -- 4194304 Number of Sessions -- 1 Platform -- 0 Any help would be greatly appreciated.Solved2.1KViews1like2Commentsdb2 backup with difference retention
Hi, We are facing an issue with db2 monthly backup thru NBU 7.1. Our client server is AIX and db2 version is 9.7. We are using “user exit” method to backup the db. We managed to configure the daily backup & daily transaction logs backup and it work fine. Restoration of the DB2 is also works perfectly. Our problem starts when we want to configure different retention level between our daily and monthly backup policy. Based on our understanding to configure different retention level between Daily (2 weeks) & Monthly Backup (1 year) we need to configure separate policy for each retention. But when we add in a Monthly Policy (separate script), the Montly Full backup was running as expected but somehow it took the Daily logs policy backup instead of the monthly logs backup. We did tried adding this parameters in the scrips(OPTIONS "DB2_POLICY=policy_name:DB2_SCHED=Schedule_name) but it did not help to solve this issue. Our plan is to configure policies as below : Daily Policies (retention 2 weeks): Daily_DB2 <at the end of this policy it will call Daily_Transaction_Logs policy> Daily_Transaction_Logs Monthly Policies (retention 1 year): Monthly_DB2 <at the end of this policy it will call Monthly_Transaction_Logs policy> Monthly_Transaction_Logs Need NBU gurus to advice on how to make the Monthly db backup trigger the monthly transaction logs instead of the daily transaction policy. Any help would be appreciated.1.2KViews0likes5Comments