Hello Team,

I am attempting to perform a point in time recovery of a Lotus Notes database from the CLI using the `bprestore` restore command but am getting blanks - hoping somebody here can help.

The .NSF database is being backed up using the Lotus Notes agent/add-in for the standard NBU client. I am able to perform the equivalent point in time restore using the ‘Backup, Archive and Restore’ GUI, but my attempts from the CLI result in only the most recently backed-up version of the .NSF database being restored or nothing at all. The Domino server is not in transaction logging mode.

NBU Master Server 6.5.0
NBU Client 6.5.0
Lotus Domino 8.5
Windows 2003R2

When I run `bplist –c domino85 –t 25 –R –PI –l –b `administ.nsf` I get the following:

Code:
-rwx------ root      root         60555264 Nov 22 16:42 C:\Program Files\IBM\Lotus\Domino\data\mail\administ.nsf
-rwx------ root      root         27525120 Nov 22 15:59 C:\Program Files\IBM\Lotus\Domino\data\mail\administ.nsf
-rwx------ root      root         27525120 Nov 22 12:40 C:\Program Files\IBM\Lotus\Domino\data\mail\administ.nsf
-rwx------ root      root         27525120 Nov 22 12:39 C:\Program Files\IBM\Lotus\Domino\data\mail\administ.nsf
-rwx------ root      root         27525120 Nov 22 12:37 C:\Program Files\IBM\Lotus\Domino\data\mail\administ.nsf
-rwx------ Administr Administr    27525120 Nov 22 12:33 C:\Program Files\IBM\Lotus\Domino\data\mail\administ.nsf
-rwx------ Administr Administr    27525120 Nov 22 12:29 C:\Program Files\IBM\Lotus\Domino\data\mail\administ.nsf
-rwx------ Administr Administr    27525120 Nov 22 12:24 C:\Program Files\IBM\Lotus\Domino\data\mail\administ.nsf
If I submit

Code:
bprestore –t 25 –s 11/21/2010 12:36:00 “C/Program Files/IBM/Lotus/Domino/data/mail/administ.nsf”
without an end date specified then I get a successful recovery of the latest version of the database, as I’d expect.

However, if I don’t specify a start date (i.e., as above but without the –s <date_time>) then I get, ‘the restore failed to recover the requested files(5)’ – not what I’d expect, again I’d hope to see the latest version recovered.

Now, if I issue:

Code:
bprestore –t 25 –s 11/21/2010 12:36:00 –e 11/21/2010 12:38:00 “C/Program Files/IBM/Lotus/Domino/data/mail/administ.nsf”
Then I get ‘no entity was found(227)’ in the job details output. Checking the logs\bprd\112210.log file for further details of the restore I see:

Code:
<2> restorefiles: client_type = 25
<2> restorefiles: rest_start_time = 1290450128
<2> restorefiles: cmd_start_date = 1290342960
<2> restorefiles: cmd_end_date = 1290343080
<2> restorefiles: unixtime= 1290450129
<2> restorefiles: timetype= 4
The cmd_start_date ctime translates into the 2010-Nov-21 12:36:00 as intended, and the cmd_end_date into 12:38.

To me, this should result in a restore of the database that was backed up at 12:37, right?

I've also been taking a look at how a rename file might be able to help (as per http://www.symantec.com/business/sup...5143&actp=LIST) but I'm still unable to get anything other than the most recent version back from NBU.

Any ideas? Again, I *am* able to perform point in time recoveries from the GUI.

Many thanks for your thoughts.
_________
David Mc
London, UK