This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision | |||
|
database:db2 [2025/07/09 13:52] manu [List DB2 logs] |
database:db2 [2025/07/09 13:54] (current) manu [Suppress Archogs] |
||
|---|---|---|---|
| Line 343: | Line 343: | ||
| </cli> | </cli> | ||
| - | ==== Suppress Archogs ==== | + | ==== Suppress Archlogs ==== |
| When doing online backup, you have to manually purge and suppress archlogs: | When doing online backup, you have to manually purge and suppress archlogs: | ||
| Line 352: | Line 352: | ||
| $ db2 list history TSMDB1 | grep X |grep D | $ db2 list history TSMDB1 | grep X |grep D | ||
| - | $ db2 prune history 202412 and delete | + | $ db2 prune history 202412 with force option and delete |
| $ find /db2archlog/db2inst1/TSMDB1 -type f -name "*.LOG" -ctime +100 -exec rm {} \; | $ find /db2archlog/db2inst1/TSMDB1 -type f -name "*.LOG" -ctime +100 -exec rm {} \; | ||