From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <96078718211452.tru64-unix-managers.marc@archive.invalid> From: Martin Mokrejs Date: Fri, 31 Jul 1998 23:12:24 +0000 To: tru64-unix-managers Subject: SUMMARY: Finding a file in NSR database X-MARC-Message: https://marc.info/?l=tru64-unix-managers&m=96078718211452 Hello, thanks to these following people: "C.Ruhnke" Stan Horwitz "Ronald D. Bowman" Nathan Grass Tom Webster ----------------- The winner is Tom Webster, here's the response: You can dump the file indexes and figure out when the last time the file was backed up. THen is should be a matter of grepping through the output to find a date when the dile should have existed. The command that you are looking for is nsrinfo, it will by default dump a list of ALL of the files in the index (in reverse date order) for a slected client. Lets say that the client is "nsrclient" and the server is "nsrhost" and that we are looking for the file "/home/webster/Mail/alpha_manager" (the user's spool of saved messages from the Alpha Manager's mailing list): nsrinfo -s nsrhost nsrclient | grep /home/webster/Mail/alpha_manager Should return something like: /home/webster/Mail/alpha_manager, date=901767784 Wed Jul 29 20:03:04 1998 /home/webster/Mail/alpha_manager, date=901595006 Mon Jul 27 20:03:26 1998 /home/webster/Mail/alpha_manager, date=901163128 Wed Jul 22 20:05:28 1998 /home/webster/Mail/alpha_manager, date=900731081 Fri Jul 17 20:04:41 1998 /home/webster/Mail/alpha_manager, date=900471991 Tue Jul 14 20:06:31 1998 /home/webster/Mail/alpha_manager, date=900133285 Fri Jul 10 22:01:25 1998 Then you should be able to set your browse time back to 7/29/1998 (the date of the last backup) and recover the latest version of the file. The nsrinfo command needs to be run by someone with admin privs for the nsr server and should be done when the server isn't doing much else. We keep our indexes around for three months and when I dumped my workstation's data to a file it was about 12MB. Tom ----------------- Thanks again Martin ------------------------------------------------------------------------- | Martin MOKREJS - Net&SysAdmin | | PGP 5.0i key at: finger://mail.natur.cuni.cz/mmokrejs | | mmokrejs@natur.cuni.cz Faculty of Science, The Charles University | | tel.: +420-2-2195 2315 Albertov 6, PRAGUE 2, 128 43, Czech Republic | -------------------------------------------------------------------------