Results 1 to 14 of 14
  1. #1

    what is the best way to move data from server to server?

    my server A have 160G HD, and it already have 130G data with a lot of small files.
    now i have a new server B with 1TB HD
    what is the best way to move the data from server A to B?
    tks.
    Last edited by very; 05-07-2010 at 11:43 PM.

  2. #2
    Join Date
    Jan 2008
    Location
    Europe
    Posts
    779
    What kind of data is it (databases? lots of small files?)? Are server A and B in the same datacenter? Is the data mission critical or can you suffer some downtime?

  3. #3
    Quote Originally Posted by sam250 View Post
    What kind of data is it (databases? lots of small files?)? Are server A and B in the same datacenter? Is the data mission critical or can you suffer some downtime?
    a lot of small files.
    server A & B not same datacenter, but i test download speed is 10MB/s.
    i can suffer downtime < 2 hours.
    thank you.
    Last edited by very; 05-07-2010 at 11:50 PM.

  4. #4
    Depends on what kind of data it is. Could be just as simple as tar/gzip the old server data, and scp it to the new one.

  5. #5
    Quote Originally Posted by Senator B View Post
    Depends on what kind of data it is. Could be just as simple as tar/gzip the old server data, and scp it to the new one.
    this way not work, because the HD only 160gb and the data is 130gb

  6. #6
    Join Date
    Jan 2008
    Location
    Europe
    Posts
    779
    If you're on linux, try rsync, probably alternatives or ports on Windows as well.

  7. #7
    Quote Originally Posted by sam250 View Post
    If you're on linux, try rsync, probably alternatives or ports on Windows as well.
    thank u, the OS is centos

  8. #8
    Join Date
    Jan 2003
    Location
    Chicago, IL
    Posts
    6,957
    Rsync has always worked well. First sync might take awhile, but then you can always refresh the data with further syncs, until you're ready for a full switch.
    Karl Zimmerman - Founder & CEO of Steadfast
    VMware Virtual Data Center Platform

    karl @ steadfast.net - Sales/Support: 312-602-2689
    Cloud Hosting, Managed Dedicated Servers, Chicago Colocation, and New Jersey Colocation

  9. #9
    Join Date
    Mar 2003
    Location
    /root
    Posts
    23,990
    Moved > Hosting Security and Technology.

    Specially 4 U
    Reseller Hosting: Boost Your Websites | Fully Managed KVM VPS: 3.20 - 5.00 Ghz, Pure Dedicated Power
    JoneSolutions.Com is on the net 24/7 providing stable and reliable web hosting solutions, server management and services since 2001
    Debian|Ubuntu|cPanel|DirectAdmin|Enhance|Webuzo|Acronis|Estela|BitNinja|Nginx

  10. #10
    Join Date
    Apr 2010
    Location
    India
    Posts
    47
    Quote Originally Posted by very View Post
    a lot of small files.
    server A & B not same datacenter, but i test download speed is 10MB/s.
    i can suffer downtime < 2 hours.
    thank you.
    Well if you do well planing, you can minimize downtime to time that DNS propagation takes.
    First of all move Database,
    Set your site in read-only mode with big display on site for it.
    Once DB is transferred change your site code to use db on new server and remove read only banner
    Start moving site data with rsync for Linux and Robocopy in Windows.
    Set schedule Sync from A server to B every half hour.
    Change DNS.
    All done

    Migration is never easy as it sounds, consider all granularity about configuration.
    Eukhostsupport
    24/7 Proactive support, Outsource
    Email- ContactUs@eukhostsupport.com

  11. #11
    Yes, If you are using linux as a both server then rsync is a good options for files like (php, html). If you are using windows their are rsync ports to windows.
    SUPPORT FACILITY | 24/7 TECH SUPPORT
    SERVER MANAGEMENT | WEB HOSTING SUPPORT | WP EXPERTS

  12. #12
    Quote Originally Posted by very View Post
    this way not work, because the HD only 160gb and the data is 130gb
    So I guess you wouldn't want to do it all in one big file, obviously.

  13. #13
    Join Date
    Apr 2010
    Posts
    44
    Hello,

    Rsync lets you copy files and directories between a local host and a remote host (source and destination can also be local if you need.) Rsync is widely used for backups and mirroring and as an improved copy command for everyday use. The main advantage of using Rsync is that rsync can use SSH as a secure channel, send/receive only the bytes inside files that changed since the last replication. You can use rsync here to transfer the files/folders.

  14. #14
    You could just do a

    tar cfvz - files | ssh user@host cat ">" destination

Similar Threads

  1. How to move MSSQL Server data folder
    By hrockvn in forum Hosting Security and Technology
    Replies: 4
    Last Post: 08-19-2009, 01:58 AM
  2. How to move 60GB data from windows server to linux
    By angelsp in forum Dedicated Server
    Replies: 5
    Last Post: 07-29-2008, 12:31 AM
  3. using rsync to move web data from one server to another server?
    By surfmanjoe in forum Dedicated Server
    Replies: 6
    Last Post: 06-19-2007, 08:39 AM
  4. move data to new server ?
    By constantine in forum Web Hosting
    Replies: 1
    Last Post: 04-07-2005, 02:51 AM
  5. Move MySQL data to another server
    By giza in forum Dedicated Server
    Replies: 2
    Last Post: 06-04-2002, 12:14 PM

Posting Permissions

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