Networker 8.2.4: I’m trying to restore our database backups using the command “nsrsqlrc”.
[Status]
It’s working but now I’m trying to figure out what the best way to get the “-t” information, for instance “-t "Mon Sep 19 13:40:48 2016"”
I’ve got this line that gives me some information regarding the backup time, but the field “name” gives the instance name, not the database name, so it’s useless.
Dirty fix: from the client, I can look in nsr\applogs\nsrsqlsv.raw and get the time of the last backup, something like
37996 31.08.2016 13:06:49 0 0 0 4044 6464 0 mysqlsvr.domain.com (pid6464) NSR info The backup of MyDB has completed successfully
Then I can use the backup time information for the “-t”
[Questions]
How can I get the backup times for a given database, ie the equivalent of what you get from “Networker User for SQL Server” when browsing from a different time?
GUI is slow as it loads all records... I believe recent version of module have switch where you can limit the browsing range which should make browsing via GUI much faster.
ble1
6 Operator
•
14354 Posts
•
56186 Points
2354
1
Posted September 19th, 2016 13:00
You will see it in MSSQL Studio, but from backup server you can run nsrinfo -n mssql to see it as well. Example of output:
MSSQL:/, date=1473866593 Wed 14 Sep 2016 05:23:13 PM CEST
MSSQL:/msdb, date=1473866588 Wed 14 Sep 2016 05:23:08 PM CEST
MSSQL:/msdb%/files.1473866588.1473866605, date=1473866588 Wed 14 Sep 2016 05:23:08 PM CEST
MSSQL:/model, date=1473866585 Wed 14 Sep 2016 05:23:05 PM CEST
MSSQL:/model%/files.1473866585.1473866600, date=1473866585 Wed 14 Sep 2016 05:23:05 PM CEST
MSSQL:/master, date=1473866583 Wed 14 Sep 2016 05:23:03 PM CEST
MSSQL:/master./PRIMARY, date=1473866583 Wed 14 Sep 2016 05:23:03 PM CEST
MSSQL:/master./PRIMARY./master, date=1473866583 Wed 14 Sep 2016 05:23:03 PM CEST
MSSQL:/master./, date=1473866583 Wed 14 Sep 2016 05:23:03 PM CEST
MSSQL:/master./PRIMARY./, date=1473866583 Wed 14 Sep 2016 05:23:03 PM CEST