Unsolved

This post is more than 5 years old

2 Intern

 • 

2K Posts

1067

April 9th, 2008 11:00

Recover Client ID from media

I have a few media from an old setup and don't have any info of that setup. To recover data through indexes from these tapes, I need to create these clients and need client ID's.

How do I get them? I tried scanner -vvv but am not clear which one is the required client ID.

159 Posts

April 10th, 2008 08:00

Hi,

You can see client id for client by mminfo:

#mminfo -av -q "client=name_client" -r "client,clientid"

When you create the client, type the client id from mminfo.

Regards.

Inma Bernabe.

2 Intern

 • 

724 Posts

April 10th, 2008 09:00

I don't know if it's possible, but you could try to populate mediadb using scanner -m, then query those tapes for the savesets you want and get the clientid using mminfo. Then create new clients with the clientids you found, and use scanner -i to populate client index.

It will take sometime, but I don't see any other options as long you don't have much info about the old setup.

Message was edited by:
Daniel Pinink Silva

2 Intern

 • 

2K Posts

April 10th, 2008 11:00

Would this mminfo command get me clientID's from the media or show me the client IDs for the clients in the new setup only?

2 Intern

 • 

724 Posts

April 10th, 2008 11:00

I believe that each saveset has the clientID of the client he was backed up from. So, if you can use scanner to have mediadb populated, then you could run something like mminfo -q volume=oldmedia -r clientid,name and have all the clientID's from each backup.

To have indexes back, just create dummy clients (client1, client2 etc) using the clientID's you've got from mminfo, then use scanner -i on the tape.

Of course, this is based in the fact that clientID will be recovered using scanner -m, what I'm not sure about.

A simple test would be:

1) Mount old media on /.//Tape1 (example)
2) scanner -m /.//Tape1
3) mminfo -q volume=oldmedia -r clientid

If this shows the clientID, then that will work! :)

6 Operator

 • 

14.4K Posts

 • 

56.2K Points

April 13th, 2008 00:00

I believe you can also run scanner in very verbose mode (without doing actual scan) and see clientid reported back by scanner once it hits ssid. I'm not sure if scanning a tape would generate new clientid - I assume not otherwise you could not recover from tape. Last time I scanned tapes from second system I did have clientids from old system so I did not have to worry about this.
No Events found!

Top