Tuesday, January 27, 2009

Time Travel, Lotus Domino Style, Please Help

An urgent call from my partner in crime, Heather Hottenstein, whom many of you met at Lotusphere, for a problem which I am afraid to say we may not have an easy way out.

It seems a customer has inadvertently, inexplicably forwarded their server dates at the OS level by a few months. Those of you in the business know what's coming next.

Nothing works anymore, replications are off, clustering is off mail only shows up in the All Documents View, well you get the idea.

I have worked with this over the years and usually it is only a few databases.
The problem is someone did it late at night and yes, a bunch of server tasks ran and well, it's a mess.

IBM support replied with what I was afraid of, we need to recreate all the databases.

Now I know in the past we had created an agent to touch each file programmatically and then reset the replication history.

The problem is I can't find any references of mine for this, anyone have an agent or a pointer for Heather to follow in this endeavor, or are we SOL?

2 comments:

  1. There is a lotus class that can clear history. Here is the sample from Notes 8 help

    Dim session As New NotesSession
    Dim db As NotesDatabase
    Dim rep As NotesReplication
    Set db = session.CurrentDatabase
    Set rep = db.ReplicationInfo
    If rep.CutOffInterval = 30 Then
    rep.CutOffDelete = False
    End If
    Call rep.Save()


    just wrap the code is a giant loop looking for all dbs on the server and run it from a notes 8 client.

    ReplyDelete
  2. thanks Barry we will test this out.

    ReplyDelete