Db2 Restore Step
Db2 Restore Step
|------""--------|
chown -R db2inst1:db2iadm1 SYAR24.0.sy24inst.DBPART000.20220423232650.001
chmod -R 777 SYAR24.0.sy24inst.DBPART000.20220423232650.001
Command DB2
|------""--------|
Show all database
db2 list db directory
|------""--------|
Show Aplikasi jalan
db2 list applications
|------""--------|
Disconnect database
db2 terminate
db2 disconnect <nama_db>
|------""--------|
Force Aplikasi
|------""--------|
db2 "force application(30230, 30268, 30228, 30234)"
time db2 restore db g24 incremental automatic taken at 20230521204044 into KONV24
logtarget /BACKUP2/G24 without prompting
time db2 restore db g24 incremental automatic use from '/db2data' taken at
20231203225619 into KON_DES LOGTARGET '/BACKUP/' without prompting
--github--
[email protected]
@29September08
time db2 "restore db emas24 incremental auto from '/BACKUP2/EMAS24' taken at
'20230318230710' into EMAS242 LOGTARGET '/BACKUP2/EMAS24' without prompting"
time db2 "restore db G24 from /db2data taken at '20240101012210' into KON_JAN
LOGTARGET '/BACKUP2/G24' without prompting"