DB2ã®ãªã¹ãã¢æé
DB2ã®ãªã¹ãã¢ã¯ããªã¹ãã¢+ãã¼ã«ãã©ã¯ã¼ãå復ãã§å®äºããã
ã®ã§ãrestoreãå®è¡ããã ãã§ã¯
DBã¯ã¾ã ããã¼ã¿ãã¼ã¹ãå復ãããã¨ã¯èªèãã¦ããªãã®ã§ã
DBã¸ã®ã¢ã¯ã»ã¹ãã§ããªãã
æ£ããå®äºãããã«ã¯ãã¼ã«ãã©ã¯ã¼ãå復ã
ã¢ã¼ã«ã¤ããã°ãå©ç¨ãã¦ãã¹ã¦ã¾ãã¯æ¥ææå®ã§è¡ãã¨
DBã¸ã®ã¢ã¯ã»ã¹ãã§ããããã«ãªãã
ãã®ããDB2ã§ã¯ã¢ã¼ã«ã¤ããã°ãé常ã«éè¦ã«ãªãã®ã§
ããã¯ã¢ãããã¡ã¤ã«åæ§ã«å¥HDDãã·ã¹ãã ã«ä¿ç®¡ã§ããããã«
ãã¦ããã¾ãããã
# su - db2inst1
$ db2start
SQL1063N DB2START processing was successful.
$ db2text start
CTE0001 Operation completed successfully.
$ db2 restore db ãã¼ã¿ãã¼ã¹å from ããã¯ã¢ãããã£ã¬ã¯ããª
DB20000I The RESTORE DATABASE command completed successfully.
$ db2 'rollforward db ãã¼ã¿ãã¼ã¹å to end of logs and complete overflow log path("ã¢ã¼ã«ã¤ããã°ãã£ã¬ã¯ããª")'
Rollforward Status
Input database alias = ãã¼ã¿ãã¼ã¹å
Number of nodes have returned status = 1
Node number = 0
Rollforward status = not pending
Next log file to be read =
Log files processed = S0012456.LOG - S0012501.LOG
Last committed transaction = 2007-11-21-13.00.31.000000 UTC
DB20000I The ROLLFORWARD command completed successfully.