Networker

[Networker] Migrating to a different architecture - indexes and media database gone - SOLUTION

2007-01-25 06:12:18
Subject: [Networker] Migrating to a different architecture - indexes and media database gone - SOLUTION
From: Nico De Ranter <nico AT SONYCOM DOT COM>
To: NETWORKER AT LISTSERV.TEMPLE DOT EDU
Date: Thu, 25 Jan 2007 11:58:14 +0100
Hi,

I recently posted a question about migrating Networker from Solaris
SPARC to Solaris AMD (big-endian<>little-endian (or is it the other way
around) so this is regarded as a different architecture).  I found a way
to migrate the indexes and media database without having to reread all
tapes.  I guess it might be interesting to other people too so here is
the solution:


Problem: 
* Migrating Networker to a different archictecture by copying the /nsr
directory seems to remove the client indexes and media database (indexes
are empty and no tapes show up in the media database)

In my case:
  source:  Solstice Enterprise Backup 6.x on Solaris 8 SPARC
  destination: Legato Networker 7.3.2-b11 on Solaris 10 AMD

Solution:
on the source server run:

   /usr/lib/nsr/nsrmmdbasm -s /nsr/mm/volume6 > savemdb

on the destination server run:

  nsrmmdbasm -r -2 < savemdb

Access the server via the java console: all indexes and tapes are
available again! 


-- 
Nico De Ranter
Senior System Administrator
Sony Service Center (NSCE)
The Corporate Village, Da Vincilaan 7-D1
B-1935 Zaventem, Belgium
Telephone: +32 (0)2 700 86 41 Fax: +32 (0)2 700 86 22

To sign off this list, send email to listserv AT listserv.temple DOT edu and 
type "signoff networker" in the body of the email. Please write to 
networker-request AT listserv.temple DOT edu if you have any problems with this 
list. You can access the archives at 
http://listserv.temple.edu/archives/networker.html or
via RSS at http://listserv.temple.edu/cgi-bin/wa?RSS&L=NETWORKER