Start a Conversation

Unsolved

This post is more than 5 years old

3280

November 9th, 2009 15:00

Export the usermapper DB and Import

Hi All,

We are planning to migrate CIFS file system form NS702G and NS480.So before that we are planning to export usermapper DB from NS702G and import on NS480. Do any have idea how to export the usermapper DB form NS702G and import on NS480?

Thanks,

366 Posts

November 10th, 2009 03:00

Hi,

Do the following :


On NS702G :
# server_usermapper server_2 -E -u user
# server_usermapper server_2 -E -g group

On NS480 :
# server_usermapper server_2 -d
# server_usermapper server_2 -Import -u user
# server_usermapper server_2 -Import -g group
# server_usermapper server_2 -e


It's recommended that you are on the same major version ( 5.5, 5.6 ) on both boxes.


Gustavo Barreto.

45 Posts

November 10th, 2009 07:00

No need of giving any path?

What will server_usermapper server_2 -d will do and what will server_usermapper server_2 -e?

8.6K Posts

November 10th, 2009 08:00

bonus question: what will "man server_usermapper" do ? :-)

366 Posts

November 10th, 2009 08:00

Hi,

the -E(xport) option will create the files on your current directory.

server_usermapper server_2 -d will disable the usermapper service and server_usermapper server_2 -e will enable it.

You can safely disable it, since the secmap cache should take care of all mappings.


Gustavo Barreto.

2 Intern

 • 

20.4K Posts

November 10th, 2009 09:00

now that's a trick question :D

45 Posts

November 10th, 2009 15:00

So When I export the usermapper DB were will I find that path.So that When I import that I should give the path right?

45 Posts

November 10th, 2009 17:00

I exported on my NS720G and I got the output as Done
when I am trying to Import on my NS480
I am geeting an error
[nasadmin@RNO-NAS-PR01-NEW >$ server_usermapper server_2 -Import -u user
server_2 :
Error 4402: server_2 : user : no such file

8.6K Posts

November 11th, 2009 03:00

does the file named user exist in that directory you are running the command from ?

If yes and you can read it and it still doesnt work please open a service request

8.6K Posts

November 11th, 2009 03:00

trick or treat :-)

8.6K Posts

November 20th, 2009 07:00

you can use scp or a network share

doesnt really matter where you store them - /home/nasadmin will do - once they are imported teh src files arent used any longer anyway

23 Posts

November 20th, 2009 07:00

What's the recommended method for moving the exported files from the old NS to the new? Were should the files be copied to on the new in order to be imported?
No Events found!

Top