I'm a little confused about the browse policy. Currenlty, our browse policy is one month and my understanding is that I would be able to browse a client's files up to one month from today's date. That said, if I attempt to browse a client for a file restore more than a week ago, I get an error message;
recover> changetime 10/06/2010 6496:recover: cannot browse /root/ as of `Wed 06 Oct 2010 11:59:59 PM PDT'
This happens for any day prior to one week from the current day.
So two questions;
1. How do I fix the browse policy so that it really is one month and,
2. What is the best way to recover files/folders for our servers if I cannot browse their files?
I only see that message if I run the 'changetime' command. Otherwise I can restore from the latest backup without any issue. If changetime is within the last week, it's good.
Current working directory is /root/ recover> changetime 10/07/2010 6497:recover: time changed to Thu 07 Oct 2010 11:59:59 PM PDT
I have verified the backups are good. On a testing server, I have been able to rebuild the database and successfully restore servers, folders, and files from the dates in question. It's just sort of tedious to wait for mmrecov and scanner commands to complete.
So all this is taking place in a test enviroment where we have created a copy of our backup server so you can do restores there?
The versions command tells us the backup server thinks the first backup is Oct 7, so when you try recovering from Oct 6 it fails to restore because it does not know of any backups for that time. Please verify on both the real backup server and the restore backup server whether or not you have relevant savesets for that client prior to Oct 7 using mminfo, something like:
mminfo -q "client=clientname, savetime<7 October 2010"
When you are doing the restore what do you see if you type versions instead of changetime?
Can you explain what the significance of running the mmrecov and scanner commands is? Have you rebuilt your Networker server? Did you run nsrck -L7 to recover the indexes after mmrecov?
Running that command for one of the clients I'm working with shows results that go back to Sept 2 2010 on the prod backup server. On the test server, I see a different result as it is an older media database that goes back to Aug 30th. I see the tapes that were used as well as which volumes were backed up each time.
For background, I'm having to restore a bunch of different app logs that we across 8 different servers. I would do it all on our production server but I don't know how to get around the fact that I can't browse more than one week in the past. That seems to be the root of my problem, as I have a browse policy of one month on the backup server, so I was expecting to be able to browse back one month. So I'm using a test server to rebuild indexes in the past in order to retrieve logs that are more than 7 days old as to not interfere with our production server.
I'm sure there's a better way but I don't know what it is
Is there any kind of break in the savesets or do you have a daily backup from Sept 2 to the present?
There is a much easier way, just restore the indexes for the date you want to recover from:
nsrck -L7 -t "6 October 2010" clientname
Which should make the indexes browsable as per that date (it won't affect any indexes currently in existence, only add to them). If we still appear to have issues after that we could try doing recovery direct from the savesets. My suspicion is that you are backing up with a one week browse time and a one month retention time though I know that is contrary to what you have initially told us - it would be useful if you could double check how your backups have been set up.
jmarkel1
10 Posts
534
0
Posted October 15th, 2010 11:00
Thanks for the info regarding the restore.
I only see that message if I run the 'changetime' command. Otherwise I can restore from the latest backup without any issue. If changetime is within the last week, it's good.
Current working directory is /root/
recover> changetime 10/07/2010
6497:recover: time changed to Thu 07 Oct 2010 11:59:59 PM PDT