export a profile

Post Reply
rajesh11
Posts: 52
Joined: Fri Dec 16, 2005 7:41 am

export a profile

Post by rajesh11 »

How can i transfer data & it's setting of Profile to another server. Suppose server has been changed, how could we transfer crawled data to another server keeping existing data & settings
User avatar
mark
Site Admin
Posts: 5513
Joined: Tue Apr 25, 2000 6:56 pm

export a profile

Post by mark »

Assuming the same platform you can copy over the testdb directory and all of it's contents and the dataspace directory and it's contents.

Otherwise, if you have full texis, you can use cpdb to copy those databases over.

Otherwise you'll need to recreate the walk profile and do a new walk.
rajesh11
Posts: 52
Joined: Fri Dec 16, 2005 7:41 am

export a profile

Post by rajesh11 »

cpdb not working:
i have run 2 command and it have following output respectively
cpdb -d /data/morph3/texis/newstestd -h 81.22.242.34 -r /mnt/mylocal/morph3/texis/newstestd
002 can't open /data/morph3/texis/newstestd/: no SYSTABLES in the function ddopen
100 Could not open local database

cpdb -d /data/morph3/texis/newstestd/db1 -h 81.22.242.34 -r /mnt/mylocal/morph3/texis/newstestd/db1
000 connect: Connection refused in the function ezclientsock
100 Could not connect

could you suggest what problem may be?
User avatar
John
Site Admin
Posts: 2597
Joined: Mon Apr 24, 2000 3:18 pm
Location: Cleveland, OH
Contact:

export a profile

Post by John »

You need to run cpdb on the remote server as well to listen for the connection.
John Turnbull
Thunderstone Software
rajesh11
Posts: 52
Joined: Fri Dec 16, 2005 7:41 am

export a profile

Post by rajesh11 »

i run at source: (81.22.242.35)
cpdb
000 bind: Address already in use in the function ezserversock
200 cpdb server pid 3338 started. This should be stopped when no longer needed
and destination :(81.22.242.31)

cpdb -d /mnt/mylocal/morph3/texis/newstestd/db1 -h 81.22.242.35 -r /data/morph3/texis/newstestd/db1
176 Table vortex already exists in data dictionary
in the function createdbtb
000 cpdb (3126) ABEND: signal 6 (SIGABRT); exiting

Please suggest what's the prob.
rajesh11
Posts: 52
Joined: Fri Dec 16, 2005 7:41 am

export a profile

Post by rajesh11 »

/mnt/mylocal/morph3/texis/newstestd/db1 is blank profile i ahve created via webinator
User avatar
John
Site Admin
Posts: 2597
Joined: Mon Apr 24, 2000 3:18 pm
Location: Cleveland, OH
Contact:

export a profile

Post by John »

If the tables already exist then cpdb can't create them, which is the error you are getting. You need to start with an empty database, just the system tables.
John Turnbull
Thunderstone Software
Post Reply