How to migrate files from Old to New Server?

Discussion in 'Web Hosting' started by sweatlana, Jun 25, 2011.

  1. #1
    Hello friends,
    I need your help , If any one can tell me How to migrate files from Old to New Serve. I have 20 wordpress blogs on my old host and I want to transfer all at my new host. so please share your experience with me.

    thanks
     
    sweatlana, Jun 25, 2011 IP
  2. cripperz

    cripperz Active Member

    Messages:
    83
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    91
    #2
    are you using cpanel or directadmin on your old host ? Please share what is your old hosting like and what is the new hosting on
     
    cripperz, Jun 26, 2011 IP
  3. cripperz

    cripperz Active Member

    Messages:
    83
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    91
    #3
    Hi lana,

    responded to you pm =P cheers
     
    cripperz, Jun 26, 2011 IP
  4. friendlymentor

    friendlymentor Peon

    Messages:
    177
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #4
    ask your host :).
    They would do it for you.
     
    friendlymentor, Jun 26, 2011 IP
  5. Dominatos

    Dominatos Member

    Messages:
    229
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    40
    #5
    here are commands:
    1. make dump of files:
    tar -cvf dumpnew.tar /home/www/YOUR_USERNAME
    2. dump mysql-dbs:
    mysqldump --all-databases -p | bzip2 -c > databasebackup.sql.bz2

    3. Transfer to another server:
    scp dumpnew.tar :/home/dir
    scp databasebackup.sql.bz2 :/home/dir

    4. Unpack dump:
    tar xf dumpnew.tar
    5. Restore mysq dbs:
    mysql -p < databasebackup.sql

    Hope this will help you! :)
     
    Dominatos, Jun 27, 2011 IP
  6. sweatlana

    sweatlana Well-Known Member

    Messages:
    2,086
    Likes Received:
    11
    Best Answers:
    0
    Trophy Points:
    180
    #6
    I am sorry to say but I dont need your advice rather I need help regarding my question. so if you dont know then please dont spam here.
     
    sweatlana, Jun 27, 2011 IP
  7. WSWD

    WSWD Well-Known Member

    Messages:
    1,420
    Likes Received:
    65
    Best Answers:
    1
    Trophy Points:
    175
    #7
    Sweatlana, are you running a control panel on your old and/or new host? If so, which one?
     
    WSWD, Jun 27, 2011 IP
  8. sweatlana

    sweatlana Well-Known Member

    Messages:
    2,086
    Likes Received:
    11
    Best Answers:
    0
    Trophy Points:
    180
    #8
    Yes I have cpanel in both old and new servers.
     
    sweatlana, Jun 28, 2011 IP
  9. HurleyInternet

    HurleyInternet Peon

    Messages:
    21
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #9
    HurleyInternet, Jun 28, 2011 IP
  10. Dominatos

    Dominatos Member

    Messages:
    229
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    40
    #10
    If you have both cpanel servers it's quite easy task. Just follow the instructions:
    make a full backup from account on old server and transfer it to /home/ location on new server. After that log to new server's ssh and run the commands:
    /scripts/restorepkg YOUR_USERNAME
     
    Dominatos, Jun 29, 2011 IP
  11. тнє Sufi

    тнє Sufi Peon

    Messages:
    391
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #11
    You can do it from backups of cPanel. Download full backup and upload it to your new server using the cpanel Backups.
    Better option is SSH. You need to transfer all databases and files, and then need to update all 20 wp-config.php files with new db info.
    I provide professional support for this kind of work. If you are interested, you can PM me.
     
    тнє Sufi, Jul 6, 2011 IP