Backup adalah sebuah m et ode yang digunakan unt uk m enyim pan cadangan t erhadap syst em file at au dat a.
Pada windows 2003 server ada sebuah ut ilit ies yang di sediakan oleh Windows it u sendiri, t et api pada pem akaian nya t idak sem udah yang di bayangkan, karna seolah – olah kit a sudah dapat m em backup dat a dengan m engunakan NTBackup. Tet api it u sebenarnya adalah sebuah ilusi belaka, kenapa saya bilang begit u, karna dari riset yang saya lakukan apabila saya m em backup dengan m et ode yang biasa m aka pada saat m elakukan rest ore( m engem balikan dat a ke t em pat sem ula) m aka akan t erj adi kres pada syst em yang sangat berakibat fat al pada syst em ,
Met ode yang benar :
Set elah sekian lam a akhirnya dit em ukan j uga cara yang sangat evekt iv dan evisien, cara yan ham pir m irip t et api t idak sam a, yait u dengan com m and line, t et api walaupun agak sedikit sulit t et api hasilnya sangat m em uaaskan karna dat a dan syst em dapat di sim pan dan di rest ore sepaert i sem ula, sehingga kit a t idak perlu khawat ir kalau suat u saat syst em hang at au rusak karna kit a t inggal m erest orenya saj a.
Tat acara Backup :
1. m asuk kedalam com m and line at au m enu run 2. set elah it u di dalam m enu Run m aka ket ikan :
Cat at an :
Dari proses di at as m ungkin akan t im bul pert anyaan yang m ungkin sim ple/ rem eh t api m ungkin dam pak nya yang akan sangat besar pada dat a yang akan di backup.
Pert anyaan…! “ ….?
Nt backup kan dapat kit a j alankan lew at wizard kenapa harus lew at prom pt kan nggak efisien, khan sam a aj a “ .
Jawaban :
Mem ang benar NTbackup dapat di j alankan dengan m enggunakan wizard yang akan sangat m udah unt uk di gunkan, t api pada saat m em buat backup “ * .bkf” file akan t erj adi suat u kesalahan fat al yang akan t erj adi kalau anda t idak m au m enggunakan com m and line ( n t ba ck u p ba ck u p syst e m st a t e / J " a n ok e r e n " / F " C:\ ba ck u p.bk f" ) , karna dat a yang akan di backup nya t idak akan sem purna, karna pada saat pengkopian syst em st at e, t idak akan sepenuhnya di backup, karna syst em st at e yang akan di proses sebenarnya sedang di pakai oleh syst em kit a. Makanya saya bilang it u sangat fat al, karna pada saat anda m erest ore backup anda yang include syst em st at e di dalam nya, m aka yang t erj adi adalah window server anda akan m engalam i blue screen, dan yang t erj adi adalah buakannya anda m enyelesaikan m asalah m alah anda akan m enam bah m asalah baru.
Alasan kenapa kit a harus gunakan com m ad prom p, karna pada saat pengkopian syst em st at e kedalam backup file m aka Syst em St at e akan di paksa unt uk m engkopikan dirinya.
Tat a cara m erest ore file syst em :
1. Kit a set t ing di Dom ain Secur it y Policy agar Adm inist rat or bisa m asuk ke dalam dom ain dengan m ode rest ore
2. Kalau sudah kit a lalu rest art server anda kem udian t ekan F8 3. dan m asuk ke dalam bagian rest ore m ode
4. Set elan m asuk ke dalam w indows dengan login adm inist rat or 5. Lalu j alankan Nt Backup
Using t he Window s int erface
1. Open Backup.
The Backup or Rest ore Wizard st art s by default , unless it is disabled. You can use t his wizard or go t o t he next st ep t o work in Adva n ce d M ode.
2. Click t he Advanced Mode link on t he Backup or Rest ore Wizard.
3. Click t he Ba ck u p t ab, t hen click t he box next t o Syst e m St a t e and any ot her it em s you would like t o backup. I t is recom m ended t hat you backup all boot and syst em volum es along wit h t he Syst em St at e.
Not es
• To perform t his procedure, you m ust be a m em ber of t he Adm in ist r a t or s or Ba ck u p Ope r a t or s gr ou p on t he local com put er, or you m ust have been delegat ed t he appropriat e aut horit y. I f t he com put er is j oined t o a dom ain,
m em bers of t he Dom ain Adm ins group m ight be able t o perform t his procedure. As a securit y best pract ice, consider using Run as t o perform t his procedure.
• To st art Backup, click St a r t, point t o All Pr ogr a m s, point t o Acce ssor ie s, point t o Syst e m Tools, and t hen click Ba ck u p.
• I f t he Backup or Rest ore Wizard does not st art by default , you can st ill use it t o back up t he Syst em St at e dat a by clicking W iza r d M ode on t he W e lcom e t ab.
• Syst em St at e dat a cont ains m ost elem ent s of a syst em ’s configurat ion, but it m ight not include all of t he inform at ion t hat you r equire t o r ecover your syst em fr om a failure. Therefore, it is recom m ended t hat you back up all boot and syst em
• volum es, including t he Syst em St at e, when you back up your syst em .
• You can only back up t he Syst em St at e dat a on a local com put er. You cannot back up t he Syst em St at e dat a on a r em ot e com put er.
Using a com m and line
1. Open Com m and Prom pt .
2. To backup t he Syst em St at e dat a, t ype: n t ba ck u p ba ck u p syst e m st a t e
Va lu e D e scr ipt ion
syst e m st a t e
Specifies t hat you want t o back up t he Syst em St at e dat a. When you select t his opt ion, t he backup t ype will be forced t o copy.
For inform at ion on addit ional backup opt ions, see t he nt backup com m and- line ut ilit y.
For exam ple, t o creat e a backup j ob nam ed " Backup Job 1" t hat backs up t he Syst em St at e dat a t o t he file C: \ backup.bkf, t ype:
n t ba ck u p ba ck u p syst e m st a t e / J " Ba ck u p Job 1 " / F " C:\ ba ck u p.bk f
All ot her opt ions will default t o t hose specified in t he Backup pr ogram .
Not es
• To perform t his procedure, you m ust be a m em ber of t he Adm inist rat ors or Backup Operat ors group on t he local com put er, or you m ust have been delegat ed t he appropriat e aut horit y. I f t he com put er is j oined t o a dom ain, m em bers of t he Dom ain Adm ins group m ight be able t o perform t his procedure. As a securit y best pract ice, consider using Run as t o perform t his procedure.
• To open a com m and prom pt , click St a r t, point t o All Pr ogr a m s, point t o Acce ssor ie s, and t hen click Com m a n d Pr om pt.
• Syst em St at e dat a cont ains m ost elem ent s of a syst em ’s configurat ion, but it m ight not include all of t he inform at ion t hat you r equire t o r ecover your syst em fr om a failure. Therefore, it is recom m ended t hat you back up all boot and syst em volum es, including t he Syst em St at e, when you back up your syst em .
• To view t he com plet e synt ax for t his com m and, at a com m and prom pt , t ype:
n t ba ck u p / ?
• I f you do not specify t he ot her Backup opt ions, n t ba ck u p will use t he default values of t he Backup program for backup t ype, verificat ion set t ing, logging level, hardware com pression, and any ot her set t ings.
• You can only back up t he Syst em St at e dat a on a local com put er. You cannot back up t he Syst em St at e dat a on a r em ot e com put er.
Relat ed Topics
N t ba ck u p
Unt uk akt ifit as backup operat ion yang dapat di lakukandari com m and prom pt , Dengan m enggunakan perint ah NTBackup yang dapat m enggukan param et er sepert i yang t erdapar di baw ah. ( silahkan di baca sendiri ) .
Syn t a x
n t ba ck u p ba ck u p [ syst e m st a t e ] " @FileNam e.bk s" / J {"JobNam e"} [/ P
{"PoolNam e"} ] [/ G {"GUI DNam e"} ] [/ T { "TapeNam e"} ] [/ N {"MediaNam e"} ] [/ F {"FileNam e"} ] [/ D {"Set Descript ion"} ] [/ D S {"ServerNam e"} ] [/ I S
{"ServerNam e"} ] [/ A] [/ V:{y e s | n o} ] [/ R:{ye s | n o} ] [/ L:{f | s | n} ] [/ M {BackupType} ] [/ RS:{ye s | n o} ] [/ H C:{on | off} ] [/ SN AP:{on | off} ]
Param et er s
syst e m st a t e
Specifies t hat you want t o back up t he Syst em St at e dat a. When you select t his opt ion, t he backup t ype w ill be forced t o norm al or copy.
@FileNam e.bk s
infor m at ion on t he files and folders you have select ed for backup. You have t o creat e t he file using t he graphical user int erface ( GUI ) version of Backup.
/ J {"JobNam e"}
Specifies t he j ob nam e t o be used in t he backup report . The j ob nam e usually descr ibes t he files and folders you are backing up in t he
current backup j ob. / P { "PoolNam e"}
Specifies t he m edia pool from which you want t o use m edia. This is usually a subpool of t he Backup m edia pool, such as 4m m DDS. I f you select t his you cannot use t he / A, / G, / F, or / T com m and- line
opt ions. / G {"GUI DNam e"}
Overwrit es or appends t o t his t ape. Do not use t his swit ch in conj unct ion wit h / P.
/ T {"TapeNam e"}
Overwrit es or appends t o t his t ape. Do not use t his swit ch in conj unct ion wit h / P.
/ N { "MediaNam e"}
Specifies t he new t ape nam e. You m ust not use / A wit h t his swit ch. / F {"FileNam e"}
Logical disk pat h and file nam e. You m ust not use t he follow ing swit ches w it h t his swit ch: / P / G / T.
/ D {"Set Descr ipt ion"}
Specifies a label for each backup set . / D S {"Ser verNam e"}
Backs up t he direct ory service file for t he specified Microsoft Exchange Server.
/ I S {"Ser verNam e"}
Backs up t he I nform at ion St ore file for t he specified Microsoft Exchange Server.
/ A
Perform s an append operat ion. Eit her / G or / T m ust be used in
conj unct ion wit h t his swit ch. Do not use t his swit ch in conj unct ion wit h / P.
/ V:{ye s | n o}
Verifies t he dat a aft er t he backup is com plet e. / R:{ye s | n o}
Rest rict s access t o t his t ape t o t he owner or m em ber s of t he Adm inist r at ors group.
/ L:{f | s | n}
Specifies t he t ype of log file: f= full, s= sum m ary, n= none ( no log file is creat ed) .
/ M {BackupType}
Specifies t he backup t ype. I t m ust be one of t he following: norm al, copy, different ial, increm ent al, or daily.
/ RS:{ye s | n o}
Backs up t he m igrat ed dat a files locat ed in Rem ot e St orage. The / RS com m and- line opt ion is not required t o back up t he local Rem ovable St orage dat abase ( t hat cont ains t he Rem ot e St orage placeholder files) . When you backup t he % syst em r oot % folder, Backup aut om at ically backs up t he Rem ovable St orage dat abase as well.
/ H C:{on | off}
Uses hardware com pression, if available, on t he t ape drive. / SN AP:{on | off}
Specifies whet her or not t he backup should use a volum e shadow copy.
/ M {BackupType}
Specifies t he backup t ype. I t m ust be one of t he following: norm al, copy, different ial, increm ent al, or daily.
/ ?
Re m a r k s
• You cannot rest or e files from t he com m and line using t he n t ba ck u p com m and.
• The follow ing com m and- line opt ions default t o what you have already set using t he graphical user int erface ( GUI ) version of Backup unless t hey are changed by a com m and- line opt ion: / V / R / L / M / RS / H C. For exam ple, if hardware com pression is t urned on in t he Opt ion s dialog box in Backup, it w ill be used if / H C is not specified on t he com m and line. However, if you specify / H C:off at t he com m and line, it overrides t he Opt ion dialog box set t ing and com pression is not used.
• I f you have Windows Media Services running on your com put er, and you want t o back up t he files associat ed wit h t hese services, see " Running Backup w it h Windows Media Services" in t he Window s Media Services online docum ent at ion. You m ust follow t he procedures
out lined in t he Windows Media Services online docum ent at ion before you can back up or r est ore files associat ed wit h Windows Media Services.
• You can only back up t he Syst em St at e dat a on a local com put er. You cannot back up t he Syst em St at e dat a on a rem ot e com put er
• I f you are using Rem ovable St orage t o m anage m edia, or you are using t he Rem ot e St orage t o st ore dat a, t hen you should regularly back up t he files t hat are in t he following folder s:
Syst em root\ Syst em 32\ Nt m sdat a
Syst em root\ Syst em 32\ Rem ot est orage
This ensures t hat all Rem ovable St orage and Rem ot e St orage dat a can be rest ored.
Ex a m ple s
Following are four exam ples of how you can use t he n t ba ck u p com m and.
To pe r for m a n or m a l ba ck u p
The follow ing exam ple perform s a norm al backup nam ed " My Job 1" of t he rem ot e share \ \ iggy- m ult i\ c$. This exam ple pulls a t ape from t he Backup m edia pool, and nam e t he t ape " Com m and Line Backup 1." The descript ion of t he backup j ob is " Com m and Line Funct ionalit y." The backup is verified aft er t he backup j ob is com plet e, access is not rest r ict ed t o t he
owner/ adm inist rat or , t he logging level is set t o sum m ary only, Rem ot e St orage dat a is not backed up, and hardw are com pression is enabled.
n t ba ck u p ba ck u p \ \ iggy- m u lt i\ c$ / m n or m a l / j " M y Job 1 " / p " Ba ck u p" / n " Com m a n d Lin e Ba ck u p 1 " / d " Com m a n d Lin e Fu n ct ion a lit y" / v:ye s / r :n o / l:s / r s:n o / h c:on
To pe r for m a copy ba ck u p
The follow ing exam ple perform s a copy backup nam ed " My Job 2" of t he local drive D: \ . The backed up files and folders are appended t o t he t ape nam ed " Com m and Line Backup 1." All ot her opt ions default t o t hose specified in t he Backup program .
n t ba ck u p ba ck u p d:\ / j " M y Job 2 " / a / t " Com m a n d Lin e Ba ck u p 1 " / m copy
To pe r for m a ba ck u p u sin g t h e ba ck u p t ype spe cifie d in Ba ck u p
The follow ing exam ple perform s a backup using t he backup t ype t hat is specified in t he Backup program . I t uses t he backup select ion file nam ed Com m andline.bks, locat ed in t he C: \ Program
Files\ Windows NT\ nt backup\ dat a\ direct ory t o choose which files t o backup. The backup j ob is nam ed " My Job 3" and it overwrit es t he t ape nam ed " Com m and Line Backup 1" wit h t he new nam e " Com m and Line Backup 2."
n t ba ck u p ba ck u p " @C:\ Pr ogr a m
File s\ W in dow s N T\ n t ba ck u p\ da t a \ com m a n dlin e .bk s" / j " M y Job 3 " / t " Com m a n d Lin e Ba ck u p 1 " / n " Com m a n d Lin e Ba ck u p 2 "
To pe r for m a ba ck u p t o a file fr om t h e com m a n d lin e
The follow ing exam ples show how t o perform a backup t o a file from t he com m and line. All t hree exam ples use t he Backup program 's default values for t he backup t ype, verificat ion set t ing, logging level, hardware
com pression, and any ot her rest rict ions. The first exam ple shows how t o backup \ \ iggy- m ult i\ d$ t o t he file D: \ Backup.bkf. The second exam ple shows how t o append t he sam e backup t o t he sam e file. The t hird exam ple show s how t o overw rit e t he file w it h t he sam e backup. I n all t hree exam ples a com plet e UNC nam e could be subst it ut ed for t he drive let t er ( t hat is, inst ead of d: \ backup.bkf, t he user could specify \ \ iggy- m ult i\ d$\ backup.bkf as t he backup dest inat ion) .
n t ba ck u p ba ck u p \ \ iggy- m u lt i\ d$ / j " Com m a n d Lin e Ba ck u p 4 " / f " D :\ ba ck u p.bk f"
n t ba ck u p ba ck u p \ \ iggy- m u lt i\ d$ / j " Com m a n d Lin e Ba ck u p 6 " / f " D :\ ba ck u p.bk f"
For m a t t in g le ge n d
For m a t M e a n in g
I t alic I nform at ion t hat t he user m ust
supply
Bold Elem ent s t hat t he user m ust
t ype exact ly as show n
Ellipsis ( ...) Param et er t hat can be repeat ed
several t im es in a com m and line Bet ween bracket s ( [ ] ) Opt ional it em s
Bet ween braces ( { } ) ; choices separat ed by pipe ( | ) . Exam ple: { even| odd}
Set of choices fr om w hich t he user m ust choose only one