Download Up and Running DB2 on Linux
Transcript
6899ch06.fm Draft Document for Review April 17, 2008 2:10 pm Sunday Mon Tue Wed Thu Fri Sat Full Sunday Full Figure 6-2 Incremental backup A delta backup is basically an incremental backup. It creates a copy of all data pages that have changed since the last successful backup of any types. This is also known as a non-cumulative backup (Figure 6-3). Sunday Mon Tue Wed Thu Fri Sat Sunday Figure 6-3 Incremental delta backup The backup strategy depends on your environment. Database workload, availability, and recovery level are all decision factors. A good backup strategy may be a daily offline backup if the database does not have a 24x7 availability requirement. Another strategy can be to do an offline backup every weekend and an incremental backup during the week. 6.1.1 Enable roll forward recovery and log archiving To use all functionality available in DB2 to prevent data loss, we enable both roll forward recovery and log archiving. This allows us to recover the database to the point in time of failure. The following example walks you through this task in both single and multi-partitioned database environments. Setup log file management Starting with DB2 Version 8.2, a new log file manager which is fully integrated in the DB2 engine is provided. The configuration is done using the database configuration parameters called LOGARCHMETH1 and LOGARCHMETH2. 226 Up and Running with DB2 on Linux