XFileSharing Pro - Server move (what to change in database?)

Message
Author
Guneyd
Posts: 68
Joined: Mar 11, 2011 4:30 pm

Server move (what to change in database?)

#1 Postby Guneyd » Jun 30, 2012 9:50 pm

Hello,

I've just manually (rsync) moved all of my files from one server to another and now I'd like to input that change in the sql database as well. I've tried to change the srv_id, but that didn't work

The only line that I'm able to change that includes srv_id is the following line:

?mass_search=&srv_id=5&per_page=100&op=admin_files&sort_field=file_size&sort_order=down

other than that there is nothing :(. What do I need to change to make my change visible in the system? Any help would be appreciated!

I've got version 1.9 btw.

ankurs
Posts: 1054
Joined: Mar 10, 2009 2:34 am

#2 Postby ankurs » Jul 02, 2012 6:22 am

run a database query to set server id to B, where sever id is A

a = old
b = new

Guneyd
Posts: 68
Joined: Mar 11, 2011 4:30 pm

#3 Postby Guneyd » Jul 02, 2012 7:03 am

ankurs wrote:run a database query to set server id to B, where sever id is A

a = old
b = new
Thanks a lot ankurs! You made my day :D.
I tried changing it in the SQL file itself before, didn't run a query through command. Now it works :)!