Welcome to MSDN Blogs Sign in | Join | Help

Show me the backups (win2k3 sp1)...

It recently came to my attention that repadmin + showbackup had no google hitsWell I'd like to fix that.

First a little back story ...
around I guess 2003 there had been a growing trend (of PSS whining, er I mean noticing that) customers are not taking any backups, and many customers didn't quite understand how application Naming Contexts (NCs) are not replicated to every Domain Controller (thus the old adage of "backup one DC from every domain" was stale) ... and so people would be missing critical data at restore time ... with restore time being like the 3rd worst time to be missing critical data, but the most likely time to call PSS, PSS asked if we could help, and we / AD dev (were drunk when they asked, had time on our hands, tired of feeling guilty about our in-box monitoring tools story, felt like "putting the feature back in service pack", maybe we were bored... whoa is this my outside voice?) happily said what can we do to help...

So to address this issue, for Win2k3 SP1 we hashed out adding the ability for DCs to log an event (Event ID 2089) if a Naming Context is not being backed up regularly within a certain latency.  The default latency is 1/2 the tombstone lifetime (too long IMNHO) ... oh and there is a reason this event won't be logged for an NC, but whatever ... this is not a post about that mechanism / event (more on it someday), besides we're not even sure most admins are capable of reading the event logs (is that too insulting ...where is the line?  I can never tell?) ...

OK, event logs are fine, but you want to know now!  When I added the 2089 event to AD, I added the /showbackup command to repadmin.  This basically can show when backups were taken of various writable NCs the DC hosts. (this block may make the post wide, probably mess stuff up, but anyway here is the output of the command):


C:\bin\rel\win2k3\sp1\x86fre>repadmin.exe /showbackup mycorp-dc-02

Loc.USN Originating DC Org.USN Org.Time/Date Ver Attribute
======= =============== ========= ============= === =========
DC=DomainDnsZones,DC=MyCorp,DC=com
329205835 084f51ed-d53e-4bad-83db-28694870fdb9 127958011 2006-02-08 02:51:22 197 dSASignature
DC=ForestDnsZones,DC=MyCorp,DC=com
329258203 084f51ed-d53e-4bad-83db-28694870fdb9 127958010 2006-02-08 02:51:22 202 dSASignature
CN=Schema,CN=Configuration,DC=MyCorp,DC=com
330447680 e0cc9580-1546-4da9-af2b-0929c37a378a 68598018 2006-02-09 02:14:56 897 dSASignature
CN=Configuration,DC=MyCorp,DC=com
330447359 e0cc9580-1546-4da9-af2b-0929c37a378a 68598017 2006-02-09 02:14:56 898 dSASignature
DC=MyCorp,DC=com
329205750 084f51ed-d53e-4bad-83db-28694870fdb9 127958006 2006-02-08 02:51:20 205 dSASignature
DC=UnLovedOlderChild,DC=MyCorp,DC=com
DC=UnLovedYoungerChild,DC=MyCorp,DC=com
Obviously the green is showing you can basically see when the DomainDnsZones was last backup.  You can probably guess from this output how we are tracking the last backup too.  Note: This tracking can only be done if a DC you're taking backups on is upgraded to Win2k3 SP1.

And of course "repadmin /showbackup *" should work if you want to capture the last backup time across all NCs (which means hitting all DCs, thus the *).  Don't assume your backup software is smart enough to understand where the NCs are instantiated / replicated to.

It's funny (or embarressing, depending on who you are) 2 years after coding something, you review it, and immediately see everything you screwed up...
  • The above command should've resolved the Orig DC invocation IDs into DC names, so you could know where that backup was taken.  That's just fricken sloppy, sorry about that.  I really piss me off sometimes.
  • In retrospect it would have been better to add another partition test to dcdiag.  That would've been way sweeter, fails if over timestamp latency, and /v would print out how old the last backup is, and what DC it was taken on.
  • Would've been cool to add to ntdsutil the ability to control the backup latency event's sensitity on a per partition basis.  The feature has this ability today it is just not exposed, instead you've got to use a reg key (which I don't recommend).
  • This was actually from a corp DC, but I changed the names ... but it makes me wonder if that's right our child domains aren't being backed up, or there is a bug in the tool / mechanism?  Those are partial replicas though, it might not being working on partial replicas ... that's an excercise for the reader ... let me know.
So there you have it repadmin /showbackup, as any self respecting admin, I suggest you move "Try a test restore of our backups" to the bottom of your TODO list, and play with this repadmin command instead.  No, no don't worry the restore will just work if you need it, play with this instead.

Well, that is IMNHO only about 1/2 a post ... I didn't even get to the Backup FSMO role (some other time hopefully) ... but tis all I have time for now, sorry.

OK, they CAN NOT be serious, I only have a single sans-serif font to choose from!?  Oh, and that font (Arial) even has a sertif on lower case-t.  Verdana has serifs on upper case I, but it is mostly serifless.  Guh, I'm not sure I can actually live with blogging in this medium, alright Verdana it is, god I miss my Mac ...

Oh and if you're wondering it was Mr "Grillenmeier, Guido" that was the unintentional catalyst to my first post, not the more derisive elements of my life.

Cheers,
BrettSh [msft]
Building #7 Garage Door Operator

P.S. - I still am not quite happy with my categories yet, and I still don't have my Orange theme back, (remorseful voice) it was a really good theme.  But at least I can complain now as I'm blogging^H^H^H^Hed.

Published Thursday, February 09, 2006 3:50 AM by BrettSh

Comment Notification

If you would like to receive an email when updates are made to this post, please register here

Subscribe to this post's comments using RSS

Comments

# re: Show me the backups (win2k3 sp1)...

Woo hoo! Brett's blogging! You can do fascinating things with a bit of blog pimping in the CSS and other places, too....
Friday, February 10, 2006 12:19 PM by Michael S. Kaplan

# re: Show me the backups (win2k3 sp1)...

Who the hell are you, and what did you do with the real Brett?
Friday, February 10, 2006 5:25 PM by Dana Epp

# re: Show me the backups (win2k3 sp1)...

hey Brett - good to see that a question of mine combined with the lack of google hits to its answer initiated you to post your first blog entry :-)

I checked out the /showbackup function right away and it works nicely!

> but it makes me wonder if that's right our
> child domains aren't being backed up, or
> there is a bug in the tool / mechanism?  
> Those are partial replicas though, it might
> not being working on partial replicas ...
> that's an excercise for the reader ... let
> me know.

nope, no bug - it's just that by default, the dSASignature schema attribute is not in the PAS - so it won't replicate to GCs.  Certainly nothing you could have changed in the SP, but I've added dSASignature to the PAS and now a single GC will inform me of the replication status of any AD domain partition (and the DC that last backed up the respective partition), which is cool.
Naturally, app partitions such as DNS are only backed up (and reported) on those DCs, which host the app partition.

I'll send you some results of my tests offline. Still have to check out a few other things around this feature.

Thanks for the valuable post.
/Guido
Saturday, February 11, 2006 6:59 AM by Guido

# re: Show me the backups (win2k3 sp1)...

btw, google has already found your post as well :-)

sorry to say that information on repadmin showbackup still can't be found via MSNsearch :-(
Saturday, February 11, 2006 7:06 AM by Guido

# re: Show me the backups (win2k3 sp1)...

>>> So there you have it repadmin /showbackup, as any self respecting admin, I suggest you move "Try a test restore of our backups" to the bottom of your TODO list, and play with this repadmin command instead.  No, no don't worry the restore will just work if you need it, play with this instead.

Could you do a partial test by restoring your domain controllers to a series of Virtual Server guest instances? (with an isolate, private net connecting all of them).

That would work of course if your "restore set" does not have dependencies on other computers on the network...
Saturday, March 04, 2006 4:12 PM by AdiOltean

# Ahh, backups... the eternal conversation subject

Finally! The wait is over. Brett Shirley started to blog. As I expected, Brett started with a highly...
Sunday, March 05, 2006 8:01 PM by Antimail

# re: Show me the backups (win2k3 sp1)...

could be good to have a "repadmin /showbackup *" to be added into the DirSvc version of MPSReports?

Keep up the blogging - it's great!
Wednesday, May 03, 2006 6:12 PM by alicain

# Active Directory Forest Recovery | JOHN.SON.WEB.ID

Tuesday, July 03, 2007 10:52 PM by Active Directory Forest Recovery | JOHN.SON.WEB.ID

# play dreamcast backups mac

Monday, May 12, 2008 6:39 AM by play dreamcast backups mac

# NTDS Replication | keyongtech

Wednesday, January 21, 2009 10:33 PM by NTDS Replication | keyongtech

# re: Show me the backups (win2k3 sp1)...

ヒマだょ…誰かかまってぉ…会って遊んだりできる人募集!とりあえずメール下さい☆ uau-love@docomo.ne.jp

Friday, June 12, 2009 12:34 PM by 出会い

# 183 Show me the backups win2k3 sp1 | Quick Diets

Saturday, June 13, 2009 9:57 AM by 183 Show me the backups win2k3 sp1 | Quick Diets

# re: Show me the backups (win2k3 sp1)...

カワイイ子ほど家出してみたくなるようです。家出掲示板でそのような子と出会ってみませんか?彼女たちは夕食をおごってあげるだけでお礼にHなご奉仕をしてくれちゃったりします

Sunday, June 14, 2009 10:40 AM by 家出掲示板

# re: Show me the backups (win2k3 sp1)...

あなたは右脳派?もしくは左脳派?隠されたあなたの性格分析が3分で出来ちゃう診断サイトの決定版!合コンや話のネタにも使える右脳左脳チェッカーを試してみよう

Monday, June 15, 2009 11:27 AM by 右脳左脳

# re: Show me the backups (win2k3 sp1)...

セレブ達は一般の人達とは接する機会もなく、その出会う唯一の場所が「逆援助倶楽部」です。 男性はお金、女性はSEXを要求する場合が多いようです。これは女性に圧倒的な財力があるから成り立つことの出来る関係ではないでしょうか?

Wednesday, June 17, 2009 11:30 AM by 逆援助

# re: Show me the backups (win2k3 sp1)...

貴方のオ○ニーライフのお手伝い、救援部でHな見せたがり女性からエロ写メ、ムービーをゲットしよう!近所の女の子なら実際に合ってHな事ができちゃうかも!?夏に向けて開放的になっている女の子と遊んじゃおう

Thursday, June 18, 2009 10:47 AM by 救援部

# 183 Show me the backups win2k3 sp1 | storage bench

Friday, June 19, 2009 4:25 AM by 183 Show me the backups win2k3 sp1 | storage bench

# re: Show me the backups (win2k3 sp1)...

家出中でネットカフェやマンガ喫茶にいる女の子たちは、お金が無くなり家出掲示板で今晩泊めてくれる男性を探しています。ご飯を食べさせてあげたり泊めてあげることで彼女たちはHなお礼をしてくれる事が多いようです

Sunday, June 21, 2009 9:25 AM by 家出

# re: Show me the backups (win2k3 sp1)...

当サイトは、みんなの「勝ち組負け組度」をチェックする性格診断のサイトです。ホントのあなたをズバリ分析しちゃいます!勝ち組負け組度には、期待以上の意外な結果があるかもしれません

Monday, June 22, 2009 9:26 AM by 勝ち組負け組

# re: Show me the backups (win2k3 sp1)...

男性が主役の素人ホストでは、男性のテクニック次第で女性会員様から高額な謝礼がもらえます。欲求不満な人妻や、男性と出会いが無い女性が当サイトで男性を求めていらっしゃいます。興味のある方はTOPページからどうぞ

Tuesday, June 23, 2009 9:22 AM by 素人

# re: Show me the backups (win2k3 sp1)...

エロ漫画やエロゲーなどでかわいい女の子が淫らな肉欲に溺れる様子をみて「こんなの現実にあるわけない」そう思った事ありませんか?それが当サイトでは現実に実現できるのです!羨ましさを憶えた2次元の中での出来事。あなたと同じように望む女の子が当サイトに集まっているのです

Wednesday, June 24, 2009 9:12 AM by エロ漫画

# re: Show me the backups (win2k3 sp1)...

高級チェリーの夏は童貞卒業の夏です。セレブ達も童貞を卒業させたくてウズウズしながら貴方との出会いを待っています。そんなセレブ達に童貞を捧げ、貴方もハッピーライフを送ってみませんか

Thursday, June 25, 2009 9:01 AM by 高級チェリー

# re: Show me the backups (win2k3 sp1)...

何回かメールして会える人一緒に楽しいことしょ?お給料もらったばかりだからご飯くらいならごちそうしちゃうょ♪ cha-a@docomo.ne.jp とりあえずメールくださぃ★

Friday, June 26, 2009 9:53 AM by 助けて〜!

# re: Show me the backups (win2k3 sp1)...

セレブラブではココロとカラダに癒しを求めるセレブ達と会って頂ける男性を募集しています。セレブ女性が集まる当サイトではリッチな彼女たちからの謝礼を保証、安心して男性はお金、女性は体の欲求を満たしていただけます。無料登録は当サイトトップページからどうぞ

Saturday, June 27, 2009 8:33 AM by セレブラブ

# re: Show me the backups (win2k3 sp1)...

家出中でお金が無く、ネットカフェを泊り歩いているSOS少女たちは、家出掲示板で泊めてくれたり遊んでくれる男性を探しています。泊めてあげたりすると彼女たちはHなお礼をしてくれるかもしれません。家出少女と遊びたい方は当サイトはどうぞ

Sunday, June 28, 2009 9:07 AM by SOS少女

# re: Show me the backups (win2k3 sp1)...

あなたの精神年齢を占ってみよう!当サイトは、みんなの「精神年齢度」をチェックする性格診断のサイトです。精神年齢度には、期待以上の意外な結果があるかも??興味がある方はぜひどうぞ

Monday, June 29, 2009 9:37 AM by 精神年齢

# re: Show me the backups (win2k3 sp1)...

マダムと甘い時間を過ごしてみませんか?性欲を持て余しているセレブたちは出張ホストサービスで男性を探し、セックスを求めているのです。ホスト希望の方なら容姿や年齢は一切不問!ご近所の女性を探して、多額の報酬をゲットしよう

Tuesday, June 30, 2009 9:52 AM by 出張ホスト

# re: Show me the backups (win2k3 sp1)...

楽しく、気持ちよく絶頂を味わえることで若い女性から熟女の女性まで幅広い世代で爆発的な人気がある、スローセックス。当サイトはプレイに興味がある、あるいは試してみたいけれど相手がいない…といった方の支援サイトです。当サイトでSEXパートナーを探してみませんか

Wednesday, July 01, 2009 9:01 AM by スローセックス

# re: Show me the backups (win2k3 sp1)...

恋することって怖くないですか?最近ちょっと臆病になってて…そういうの抜きでえっちなことしたくて… lovely-i0709@docomo.ne.jp優しい人がいたらメール待ってます☆

Friday, July 03, 2009 9:48 AM by メル友募集

# re: Show me the backups (win2k3 sp1)...

さあ、今夏も新たな出会いを経験してみませんか?当サイトは円助交際の逆、つまり女性が男性を円助する『逆円助交際』を提供します。逆円交際を未経験の方でも気軽に遊べる大人のマッチングシステムです。年齢上限・容姿・経験一切問いません。男性の方は無料で登録して頂けます。貴方も新たな出会いを経験してみませんか

Saturday, July 04, 2009 9:51 AM by 逆円助

Leave a Comment

(required) 
required 
(required) 
 
Page view tracker