Community Forums Today's Posts     Member List     Archive    
Page 1 of 3 123 LastLast
Results 1 to 15 of 33
  1. #1
    Join Date
    May 2010
    Location
    Poland
    Posts
    2

    Solved TS3 BDD move Windows to Linux - Linux to Windows

    Hi,
    is there any way to move all configuration of TS3 on windows server to linux server ??
    I found in faq that i can export user to other pc but what with all other configs like for example channel list ??
    In other words i wanna export all configs.

    PS. Sorry for my english.

  2. #2
    Join Date
    May 2007
    Location
    Eastern NC
    Posts
    1,378
    NOTE: Moving a database from one OS to another should no longer require the following process: See here


    Not exactly just coping the database. You would want the files folder also for the avatars and any files uploaded to channels.

    You also need to fix the pathing in the db from using windows standard of "\" to the Linux standard of "/". I used the follow script for moving from windows to Linux when I just tested when my database. Other things to check before starting the server is the file permissions, may need to run chmod.

    For Windows to Linux
    Code:
    update channel_properties set value = REPLACE(value, "\", "/") where ident = "channel_filepath";
    update server_properties set value = REPLACE(value, "\", "/") where ident = "virtualserver_filebase";
    For Linux to Windows
    Code:
    update channel_properties set value = REPLACE(value, "/", "\") where ident = "channel_filepath";
    update server_properties set value = REPLACE(value, "/", "\") where ident = "virtualserver_filebase";
    Please note :
    When logged in to SSH needed "\\" in place of "\" makes since when it is processing \ as some break or command character. I was running the commands in a SQLite database browser program in windows and my commands work fine then.


    This would be easy to make part of the teamspeak server if the devs wanted to. The database would just need to check/update the platform the server is running on to a record in the instance_properties table, if current platform does not match the last one stored run a few sql commands like above to address the pathing as needed.
    Last edited by Screech; 26-02-2013 at 15:57. Reason: Updated with note that this should not be required to prevent the error

  3. #3
    Join Date
    Jul 2007
    Location
    Germany
    Posts
    73
    Quote Originally Posted by Screech View Post
    Not exactly just coping the database. You would want the files folder also for the avatars and any files uploaded to channels.

    You also need to fix the pathing in the db from using windows standard of "\" to the Linux standard of "/". I used the follow script for moving from windows to Linux when I just tested when my database. Other things to check before starting the server is the file permissions, may need to run chmod.

    Code:
    update channel_properties set value = REPLACE(value, "\", "/") where ident = "channel_filepath";
    update server_properties set value = REPLACE(value, "\", "/") where ident = "virtualserver_filebase";
    This would be easy to make part of the teamspeak server if the devs wanted to. The database would just need to check/update the platform the server is running on to a record in the instance_properties table, if current platform does not match the last one stored run a few sql commands like above to address the pathing as needed.

    Thank you!
    This has fixed my problem

  4. #4
    Join Date
    Feb 2010
    Location
    Vila Real
    Posts
    8
    I want to put Ts3 Windows Server in Linux too, can any one show who it's done pls...

  5. #5
    Join Date
    May 2007
    Location
    Eastern NC
    Posts
    1,378
    The way I run the command is in a database browser that supports running SQL commands.

    I updated the database on the windows machine before uploading to the Linux box so I used SQLite Database Browser.

    My steps were:
    1. Download SQLite Database Browser
    2. Stop my server
    3. make a backup of the server
    4. open the database with SQLite Database Browser
    5. run the SQL commands
    6. save the changes to the database
    7. close SQLite Database Browser
    8. upload the server files to the linux box
    9. download and install the latest Linux build
    10. start the server on linux.

  6. #6
    Join Date
    Feb 2010
    Location
    Vila Real
    Posts
    8
    Thanks it works..

  7. #7
    Join Date
    Mar 2011
    Posts
    9

    windows server to linux

    hi i think it may have been answered before but i have had a look did not find
    i have a current ts3 server for windows i would like to put that on my linux server but keep my database so how would i copy my virtual server and place on the linux server i do have the linux server and windows server running the linux server has only been installed and not touched.

    the files that i think the database or vitual server is kept looks different to the linux ones and it does make some sence but to me i should be able to just import them with no problems.

    Anythoughts?
    Thanks in advanced.

  8. #8
    Join Date
    Mar 2011
    Posts
    9
    thank you so much for your reply. this helps alot.

  9. #9
    Join Date
    Mar 2010
    Location
    Norway
    Posts
    13
    Code:
    update channel_properties set value = REPLACE(value, "\", "/") where ident = "channel_filepath";
    update server_properties set value = REPLACE(value, "\", "/") where ident = "virtualserver_filebase";
    I'm trying to send these from mysql server logged in with ssh, but never seems to work. Its like mysql expert something more.
    When I type these lines I get these Picture here(70K png file] and the only way to get out is ctrl+c.

    Any idea what I do wrong?
    I have mysql 5.5.014 / Centos 5.6x64

  10. #10
    Join Date
    Mar 2010
    Location
    Norway
    Posts
    13
    Tried this aswell.

    update channel_properties set value = REPLACE(value, "\", "/") where ident = "channel_filepath";

    Same result.

  11. #11
    Join Date
    Mar 2010
    Location
    Norway
    Posts
    13
    Got it working... Had to fix it like this;
    Code:
    update channel_properties set value = REPLACE(value, '\\', '/') where ident = "channel_filepath";
    update server_properties set value = REPLACE(value, '\\', '/') where ident = "virtualserver_filebase";
    value, '\' had to be value, '\\'

  12. #12
    Join Date
    May 2007
    Location
    Eastern NC
    Posts
    1,378
    When logged in to SSH needed "\\" in place of "\" makes since when it is processing \ as some break or command character. I was running the commands in a SQLite database browser program in windows and my commands work fine then.

  13. #13
    Join Date
    Mar 2010
    Location
    Norway
    Posts
    13
    Oki, It was something like that a buddy said too. I never heard that SSH was different from normal shell..

    I do all my stuff on the Linux box thru SSH. Since its sitting without any keyboard, monitor or mouse.

  14. #14
    Join Date
    Aug 2005
    Location
    UK
    Posts
    6

    Transfer from windows to linux

    Ive been running my TS3 server on a windows box for ages but im looking to shift it onto linux now. Ive had no problems setting up and getting everything set up and working with a blank setup, but i want to transfer my database over.

    It seems to work ok untill i try and use the file browser, which just gives 'file not found' on every channel. Works fine on my blank setup, can upload/download files no problem. Newly created channels also have this problem.

    Any ideas?

    Edit by mod
    Thread merged, next time use the search function
    Last edited by florian_fr40; 18-08-2011 at 21:52.

  15. #15
    Join Date
    Oct 2011
    Posts
    2

    Unable to remove virtualserver filebase

    Code:
    2011-10-01 19:33:47.925737|ERROR   |ServerParser  |   | unable to remove virtualserver filebase, path: files\virtualserver_44
    Got this error when deleting the server via TCADMIN on our server after we just moved our ts3 server over to linux from windows.

    Any ideas on how to correct this so it deletes and does not error?

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Avatar bug after move windows to linux
    By dragokazov in forum Server Support
    Replies: 8
    Last Post: 15-12-2010, 14:58
  2. Von Windows zu Linux
    By BattleAngelLoki in forum [TeamSpeak 2] Server Support
    Replies: 1
    Last Post: 24-07-2006, 19:21
  3. from windows to linux
    By jaydee in forum [TeamSpeak 2] Server Support
    Replies: 2
    Last Post: 11-04-2005, 02:16

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •