how to export character database to new server

Results 1 to 5 of 5
  1. #1
    SON OF MARFEL hrace009 is offline
    MemberRank
    Apr 2009 Join Date
    Pekanbaru, IndoLocation
    1,035Posts

    config how to export character database to new server

    -----------------------------
    Last edited by hrace009; 27-11-14 at 06:19 AM. Reason: change title


  2. #2
    Account Upgraded | Title Enabled! ronny1982 is offline
    MemberRank
    Jan 2010 Join Date
    744Posts

    Re: i'am stuck

    To locate where the character data is stored, open the following file on your old server:

    "/PWServer/gamedbd/gamesys.conf"

    Search for the Blocks:

    Code:
    [storage]
    homedir			=	dbf/dbhome
    datadir			=	dbdata
    logdir			=	dblogs
    backupdir		=	dbf/backup
    ...
    and

    Code:
    [storagewdb]
    homedir			=	dbf/dbhomewdb
    datadir			=	dbdata
    logdir			=	dblogs
    backupdir		=	dbf/backup
    ...
    In the first lines you can see some entries for directories, set to ".../dbf/..."

    The dbf directory is the servers database where the character data is stored. Now you know where the dbf is located, simply replace the dbf in your new server with the dbf from your old sever

    To change the location of dbf, modify the paths in gamesys.conf, as you can see in my conf the path is relative to gamedbd directory, so database is directly stored in "/.../PWServer/gamedbd/dbf/"



    If you're sick of the server storing its data & configs elsewhere you can take a look in my server backup, it stores as many data as possible in the PWServer dierectoy

    ---------- Post added at 10:53 AM ---------- Previous post was at 10:46 AM ----------

    It would be nice if you rename the thread to "how to export character database to new server" or something like that, this makes it easier for people with the same problem to find it
    Last edited by ronny1982; 27-02-10 at 10:49 AM.

  3. #3
    SON OF MARFEL hrace009 is offline
    MemberRank
    Apr 2009 Join Date
    Pekanbaru, IndoLocation
    1,035Posts

    Re: how to export character database to new server

    thx ronny i'l try it ..

    EDIT:

    ok i understand now, when i backup from pwAdmin, it's only back up the configure on PWServer directory only, but it's not put the home dbf that containt all the character's database.

    so i must do it manual
    Last edited by hrace009; 28-02-10 at 08:18 AM.

  4. #4
    Robb rbb138 is offline
    MemberRank
    Jan 2009 Join Date
    London, EnglandLocation
    1,241Posts

    Re: how to export character database to new server

    transfer the uniquename database and the gamedbd database to your new server. and tada, all done.

  5. #5
    Account Upgraded | Title Enabled! ronny1982 is offline
    MemberRank
    Jan 2010 Join Date
    744Posts

    Re: how to export character database to new server

    Quote Originally Posted by hrace009 View Post
    thx ronny i'l try it ..

    EDIT:

    ok i understand now, when i backup from pwAdmin, it's only back up the configure on PWServer directory only, but it's not put the home dbf that containt all the character's database.

    so i must do it manual

    Yes thats right, pwAdmin didn't parse all your config files to search for etc's, dbf, ... outside of your PWServer directory.
    I recommend to change all the configs to put dbf, etc's, ... into your PWServer directory, like it's done in the server example that i've posted in my previous post
    Last edited by ronny1982; 01-03-10 at 01:41 AM.



Advertisement