Unix Technical Forum

Restoring Old Backup without Index

This is a discussion on Restoring Old Backup without Index within the comp.unix.solaris forums, part of the Solaris Operating System category; --> Hi everyone, I am very new to this so please bear with me while I explain. I am trying ...


Go Back   Unix Technical Forum > Unix Operating Systems > Solaris Operating System > comp.unix.solaris

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 01-12-2008, 05:55 AM
Hameed
 
Posts: n/a
Default Restoring Old Backup without Index

Hi everyone,

I am very new to this so please bear with me while I explain.

I am trying to restore an old backup and have problem with index.

I'll give you some background info:
Some time ago before I started working here they moved from server1 to
server2 and migration was successful however it seems that the backup
index was not properly migrated. So now when trying to restore backups
that were done prior to migration, it says that there is no index for
that date/time.

I checked the index and it seems that when it was move, it was moved
to the wrong location

So there is /nsr/index/server2/db6/ and then there is another server2
folder under server2: /nsr/index/server2/server2/db6

Is there a way to merge the two set of index? Any kind of help would
be appreciated.

We are running solaris 9

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 01-12-2008, 05:55 AM
Richard B. Gilbert
 
Posts: n/a
Default Re: Restoring Old Backup without Index

Hameed wrote:
> Hi everyone,
>
> I am very new to this so please bear with me while I explain.
>
> I am trying to restore an old backup and have problem with index.
>
> I'll give you some background info:
> Some time ago before I started working here they moved from server1 to
> server2 and migration was successful however it seems that the backup
> index was not properly migrated. So now when trying to restore backups
> that were done prior to migration, it says that there is no index for
> that date/time.
>
> I checked the index and it seems that when it was move, it was moved
> to the wrong location
>
> So there is /nsr/index/server2/db6/ and then there is another server2
> folder under server2: /nsr/index/server2/server2/db6
>
> Is there a way to merge the two set of index? Any kind of help would
> be appreciated.
>
> We are running solaris 9
>


What the hell is a "backup index"? What are you using to do your
backups? It doesn't seem to be "ufsdump".

FWIW, I don't think I'd want to trust my backups to anything that needed
more than the backup file and the backup/restore program.

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 01-12-2008, 05:55 AM
Hameed
 
Posts: n/a
Default Re: Restoring Old Backup without Index

On Jul 26, 1:08 pm, "Richard B. Gilbert" <rgilber...@comcast.net>
wrote:
> Hameed wrote:
> > Hi everyone,

>
> > I am very new to this so please bear with me while I explain.

>
> > I am trying to restore an old backup and have problem with index.

>
> > I'll give you some background info:
> > Some time ago before I started working here they moved from server1 to
> > server2 and migration was successful however it seems that the backup
> > index was not properly migrated. So now when trying to restore backups
> > that were done prior to migration, it says that there is no index for
> > that date/time.

>
> > I checked the index and it seems that when it was move, it was moved
> > to the wrong location

>
> > So there is /nsr/index/server2/db6/ and then there is another server2
> > folder under server2: /nsr/index/server2/server2/db6

>
> > Is there a way to merge the two set of index? Any kind of help would
> > be appreciated.

>
> > We are running solaris 9

>
> What the hell is a "backup index"? What are you using to do your
> backups? It doesn't seem to be "ufsdump".
>
> FWIW, I don't think I'd want to trust my backups to anything that needed
> more than the backup file and the backup/restore program.- Hide quoted text -
>
> - Show quoted text -


Solstice backup (nsr)

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 01-12-2008, 05:55 AM
Atro Tossavainen
 
Posts: n/a
Default Re: Restoring Old Backup without Index

"Richard B. Gilbert" <rgilbert88@comcast.net> writes:

> What the hell is a "backup index"? What are you using to do your
> backups? It doesn't seem to be "ufsdump".


Legato Networker Save/Restore, also known as Sun Enterprise Backup
(formerly Solstice Backup).

> FWIW, I don't think I'd want to trust my backups to anything that needed
> more than the backup file and the backup/restore program.


I gather you're not backing up a large amount of data, then, and
that you've probably never used an autochanger.

--
Atro Tossavainen (Mr.) / The Institute of Biotechnology at
Systems Analyst, Techno-Amish & / the University of Helsinki, Finland,
+358-9-19158939 UNIX Dinosaur / employs me, but my opinions are my own.
< URL : http : / / www . helsinki . fi / %7E atossava / > NO FILE ATTACHMENTS
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 01-12-2008, 05:55 AM
Atro Tossavainen
 
Posts: n/a
Default Re: Restoring Old Backup without Index

Hameed <Srishk@gmail.com> writes:

> index was not properly migrated. So now when trying to restore backups
> that were done prior to migration, it says that there is no index for
> that date/time.
>
> I checked the index and it seems that when it was move, it was moved
> to the wrong location
>
> So there is /nsr/index/server2/db6/ and then there is another server2
> folder under server2: /nsr/index/server2/server2/db6
>
> Is there a way to merge the two set of index? Any kind of help would
> be appreciated.


I probably wouldn't. In the generic case, you can run "scanner" to
rebuild the index for volumes.

http://download.oracle.com/docs/cd/A...4/appendix.htm

I hope it's not a very large amount of unindexed tapes you're left
with.

If you have a support contract with Sun, you could always ask them
for clues. That's what I would do if I were in your position.

--
Atro Tossavainen (Mr.) / The Institute of Biotechnology at
Systems Analyst, Techno-Amish & / the University of Helsinki, Finland,
+358-9-19158939 UNIX Dinosaur / employs me, but my opinions are my own.
< URL : http : / / www . helsinki . fi / %7E atossava / > NO FILE ATTACHMENTS
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #6 (permalink)  
Old 01-12-2008, 05:55 AM
Hameed
 
Posts: n/a
Default Re: Restoring Old Backup without Index

Thanks Atro. I will go with scanning option. I have a large number of
them to do. I guess I will scan them based on need. Right now I have
about 11 tapes to scan...

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #7 (permalink)  
Old 01-12-2008, 05:55 AM
Richard B. Gilbert
 
Posts: n/a
Default Re: Restoring Old Backup without Index

Atro Tossavainen wrote:
> "Richard B. Gilbert" <rgilbert88@comcast.net> writes:
>
>
>>What the hell is a "backup index"? What are you using to do your
>>backups? It doesn't seem to be "ufsdump".

>
>
> Legato Networker Save/Restore, also known as Sun Enterprise Backup
> (formerly Solstice Backup).
>
>
>>FWIW, I don't think I'd want to trust my backups to anything that needed
>>more than the backup file and the backup/restore program.

>
>
> I gather you're not backing up a large amount of data, then, and
> that you've probably never used an autochanger.
>


About 180GB is the largest I've ever done. It wasn't Unix but I used a
tape drive with a "stacker". The stacker could be programmed but it
defaulted to using the tapes "in order" which is the way we used it.

So that "index" is a catalog of which files were backed up and which
tape they were written to?

I've restored a whole disk farm as part of a disaster recovery exercise
or a whole disk when I had a hardware failure but I think it has been
about twenty years since I needed to restore a single file!

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #8 (permalink)  
Old 01-12-2008, 05:55 AM
Doug McIntyre
 
Posts: n/a
Default Re: Restoring Old Backup without Index

"Richard B. Gilbert" <rgilbert88@comcast.net> writes:
>Atro Tossavainen wrote:
>> "Richard B. Gilbert" <rgilbert88@comcast.net> writes:
>>>
>>>What the hell is a "backup index"? What are you using to do your
>>>backups? It doesn't seem to be "ufsdump".

....
>>>FWIW, I don't think I'd want to trust my backups to anything that needed
>>>more than the backup file and the backup/restore program.

>>
>>
>> I gather you're not backing up a large amount of data, then, and
>> that you've probably never used an autochanger.
>>


>About 180GB is the largest I've ever done. It wasn't Unix but I used a
>tape drive with a "stacker". The stacker could be programmed but it
>defaulted to using the tapes "in order" which is the way we used it.


>So that "index" is a catalog of which files were backed up and which
>tape they were written to?


Yes, exactly. The index is the directory of all files and which
versions are stored on which tape and at which position on the tape.
enterprise software does use tapemarks.

So, rather than the process of feed tape in, read the whole tape in
looking to see if thats the right file you need... You instead startup
the restore console, browse down to the file and version you need. It
tells you to insert tape x of the set, it does a seek on the tape to
that subset and pulls that file off.

Rather than watching the tape drive spin for an hour or longer,
the tape drive seeks to the specific tapemark which takes minutes, and you have
your file restored in 10-15 minutes. Its really slick to be able to
restore that quickly.

If the index is blown away or expired, you have to reindex the whole
tapes in all the tape set. Takes forever. Some systems can still restore
things without the index, you just don't get the speed and convience,
you fall back to searching each tape in the set and searching through
the whole tape for what you need. I don't remember if Legato operated
that way or not.



Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #9 (permalink)  
Old 01-12-2008, 05:55 AM
Atro Tossavainen
 
Posts: n/a
Default Re: Restoring Old Backup without Index

"Richard B. Gilbert" <rgilbert88@comcast.net> writes:

> About 180GB is the largest I've ever done.


We seem to average something over 7 TB every month, and our system is
fairly small compared to what the entire uni does.

> It wasn't Unix but I used a tape drive with a "stacker". The stacker
> could be programmed but it defaulted to using the tapes "in order"
> which is the way we used it.


Most autochangers have barcode readers that allow you to identify tapes
(labeled with barcode stickers, obviously) without having to read their
contents. Combined with an online index to tell you which tapes contain
which backup sets (and files), figuring out which tape the autochanger
should insert in the drive to restore any particular file is just a tad
quicker than having to read through entire tape sets.

> I've restored a whole disk farm as part of a disaster recovery exercise
> or a whole disk when I had a hardware failure but I think it has been
> about twenty years since I needed to restore a single file!


Besides not having disk crashes, you also don't have badly behaved
programs that corrupt files, nor users who accidentally delete them,
then. (And you always arrange your disk arrays in such perfect
ways to begin with that you never need to do a complete save, rebuild
a better arrangement, and restore, either.)

As an aside, being able to mount snapshots of file systems has
considerably reduced my frequency of going to tape for backups.
If folks are able to figure out within the same day that they've
accidentally lost something they can just get it from the snapshot
themselves without admin intervention.

--
Atro Tossavainen (Mr.) / The Institute of Biotechnology at
Systems Analyst, Techno-Amish & / the University of Helsinki, Finland,
+358-9-19158939 UNIX Dinosaur / employs me, but my opinions are my own.
< URL : http : / / www . helsinki . fi / %7E atossava / > NO FILE ATTACHMENTS
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #10 (permalink)  
Old 01-12-2008, 05:55 AM
Richard B. Gilbert
 
Posts: n/a
Default Re: Restoring Old Backup without Index

Atro Tossavainen wrote:
> "Richard B. Gilbert" <rgilbert88@comcast.net> writes:
>
>
>>About 180GB is the largest I've ever done.

>
>
> We seem to average something over 7 TB every month, and our system is
> fairly small compared to what the entire uni does.
>
>
>>It wasn't Unix but I used a tape drive with a "stacker". The stacker
>>could be programmed but it defaulted to using the tapes "in order"
>>which is the way we used it.

>
>
> Most autochangers have barcode readers that allow you to identify tapes
> (labeled with barcode stickers, obviously) without having to read their
> contents. Combined with an online index to tell you which tapes contain
> which backup sets (and files), figuring out which tape the autochanger
> should insert in the drive to restore any particular file is just a tad
> quicker than having to read through entire tape sets.
>
>
>>I've restored a whole disk farm as part of a disaster recovery exercise
>>or a whole disk when I had a hardware failure but I think it has been
>>about twenty years since I needed to restore a single file!

>
>
> Besides not having disk crashes, you also don't have badly behaved
> programs that corrupt files, nor users who accidentally delete them,
> then.


My users were all "captive"! The LOGIN.COM put them into the
application and logged them out when they exited the application. They
had very little scope for getting into trouble!
(And you always arrange your disk arrays in such perfect
> ways to begin with that you never need to do a complete save, rebuild
> a better arrangement, and restore, either.)


I've backed up and restored an entire system both for disaster recovery
exercise and for migrating our application and data to new hardware.

We also had a Storage Technology Robot that used bar codes to identify
tapes. I used it for some database backups with Netbackup. I used a
locally attached drive for system backups. If I had used Netbackup, it
would have added several hours to a restore during a disaster recovery
situation; we would have had to build/restore a netbackup server before
we could restore the production system.



Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 10:04 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0
www.UnixAdminTalk.com