Upload
caio-leonardo-lima
View
214
Download
0
Embed Size (px)
Citation preview
8/16/2019 AUTOMIZE ODI REPOSITORY EXPORTS.docx
1/4
AUTOMIZE ODIREPOSITORYEXPORTSThis Post defnes the simple process on how to setup automatic daily backup o
ODI Master and Work Repository. This process is especially important where there is
no backup or improper schedule backup is carried out by D !s.
"teps
Export Master Repository using ODIEXPORTMASTERExport Work Repository using ODIEXPORTWORK
Refresh the Varia !e S"SDATEDe!ete the Re#uire$ $ay %!es using ODIDE&ETE'I&E'ina!!y Sen$ Mai! for noti%(ation ) optiona!*
ODIEXPORTMASTER
8/16/2019 AUTOMIZE ODI REPOSITORY EXPORTS.docx
2/4
Pro+i$e your target $ire(tory an$ gi+e the ,ip %!e-na.e asMASTER-REP-/A0K1P-234o$iRef5getSysDate)6$$7MM7yyyy8*
395,ip This :ay Exporte$ Master Repository is sa+e$ :ith Meaningfu!'i!ena.e an$ Date of the a(kup5
ODIEXPORTWORK
Repeat the a o+e pro(ess for ODIEXPORTWORK
Pro+i$e your target $ire(tory an$ gi+e the ,ip %!e-na.e as
WORK-REP-/A0K1P-234o$iRef5getSysDate)6$$7MM7yyyy8*395,ip
Sample output of the above les
0reating $ai!y su(h Exports of Repository :on;t e an i$ea!so!ution< so its goo$ to $e!ete the o!$ ar(hi+e an$ keep =ust t:o$ays of ar(hi+e 5
8/16/2019 AUTOMIZE ODI REPOSITORY EXPORTS.docx
3/4
To $o so < P!ease fo!!o: these si.p!e steps50reate a +aria !e na.e$ >S"SDATE; an$ :rite a fo!!o:ing #uery
?ere ia. using 7@ as i :ant to keep =ust t:o $ays of %!es an$
$e!ete a!! the pre+ious $ay %!es50hange this +a!ue a((or$ing toyour nee$5
ODI!I"EDE"ETE
0a!! > ODI'I&EDE&ETE > to $e!ete the re#uire$ %!es5
8/16/2019 AUTOMIZE ODI REPOSITORY EXPORTS.docx
4/4
The 'i!ena.e > -BS"SDATE5,ip > :i!! $e!ete the re#uire$ $ay %!e5so if the sys$ate is @C7 7@ < the a o+e (o..an$ :i!! $e!ete@F7 7@ %!es5
This si.p!e pro(e$ure :ou!$ ena !e you to ha+e a si.p!e a(kupof the Master an$ Work Repository espe(ia!!y in (on$ition :herethere is no proper a(kup of De+e!op.ent $ata ase or a(kup is
not eing (arrie$ out at proper inter+a!5S(he$u!e the Pa(kage using ODI S(he$u!er an$ s(he$u!e ita((or$ing!y an$ a$$ o$isen$.ai! for any su((ess or fai!ure
noti%(ation5G Hote Ho :rite per.ission shou!$ e gi+en any ODI $e+e!oper inthe Ar(hi+e$ 'o!$er so that no one $e!etes the a o+e %!e
a((i$enta!!y or (orrupt the. :ith i.proper han$!ing5 On!y ODIshou!$ e ha+e :rite a((ess to this 'o!$erJ
If any error o((urre$ an$ you are not eing a !e to re(o+er theData ase or Repository o$iexperts5(o. > for ho: to $o a proper I.port :ithouta e(ting o =e(ts Interna! I$ 5