new server old data

Discussion in 'Installation/Configuration' started by fisherofer, Jan 24, 2012.

  1. fisherofer

    fisherofer New Member

    i need help and Please

    my old server crushed
    i mange to save all the files from the old server

    i just finished to configure the new server centos 6 with the latest ISPCONFIG

    i need help to import mysql old files and to move the old www files into the new location

    so please help me how to import old data into new mysql :confused:
    for the www files i will c&p them
     
  2. till

    till Super Moderator

    If the ispconfig version on the old server was not the latest release, then follow these steps:

    1) Make a backup of the ispconfig database.
    2) Replace the ispconfig database with the ispconfig database from your backup.
    3) Edit the file /usr/local/ispconfig/server/lib/config.inc.php and set the ispconfig version number in that file to the version number of the old ispconfig system.
    4) Run the ispconfig update so that ispconfig updates the database structures.

    Regarding the website databases, just restore them from your backup. One thing that you have to do afterwards is that you copy the mysql users and databaserecords that are in the mysql.user and mysql.db database tables to the same tables in the new mysql installation.
     
  3. fisherofer

    fisherofer New Member

    many thanks for the support
    the hdd from my old server is connected as 2 in my new

    where are ispconfig database files?

    and the ispconfig version is same
     
  4. falko

    falko Super Moderator

    Usually they are in /var/lib/mysql/.
     
  5. fisherofer

    fisherofer New Member

    i just received the bad news i lost all the www folder and mysql files on the old server
    and the backup's dont include them
    so please help me to know how to create a script from ispconfig
    to backup all myssql and www folder and send them by email or to ftp folder

    i dont wish to lost the data again
     

Share This Page