Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

WHM Transfer Tool - overwrite option - does it rsync?

Discussion in 'Data Protection' started by Valetia, Jan 24, 2017.

Tags:
  1. Valetia

    Valetia Well-Known Member

    Joined:
    Jun 20, 2002
    Messages:
    213
    Likes Received:
    1
    Trophy Points:
    168
    cPanel Access Level:
    Root Administrator
    When using the "Overwrite" option in WHM Transfer Tool for an account that has the same username, does it rsync the data in the home directory, or does it perform a full deletion and rewrite from scratch?
     
  2. NOC_Serverpoint

    NOC_Serverpoint Well-Known Member

    Joined:
    Jul 3, 2016
    Messages:
    102
    Likes Received:
    6
    Trophy Points:
    18
    cPanel Access Level:
    Website Owner
    Hi,

    The "Overwrite" option rsync the modified files. But if you do a transfer, and it transfers 100 files, which is for example 100MB, and then 1 of those files changes on the source and you do another transfer, it only copies over that 1 file, which is for exampe 1MB.

    However, before it transfers that 1MB file, it checks the destination to make sure it has at least 100MB free, If the destination has 99MB available, it will not copy that 1MB file because "insufficient disk space".

    Thanks
     
  3. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    38,658
    Likes Received:
    1,425
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Hello,

    The use of the "overwrite" option won't terminate the existing account on the destination server, but matching files are replaced with the data from the account on the source server.

    Thank you.
     
  4. Jcats

    Jcats Well-Known Member

    Joined:
    May 25, 2011
    Messages:
    599
    Likes Received:
    92
    Trophy Points:
    153
    Location:
    New Jersey
    cPanel Access Level:
    DataCenter Provider
    Sorry to bring up an old thread but just to clarify using the overwrite option will migrate the entire account over again regardless if the data on the destination server hasn't changed? Meaning even though cPanel transfer uses rsync, it will still transfer ALL data, not just what changed?
     
  5. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    38,658
    Likes Received:
    1,425
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Yes, it will transfer all of the data again. For instance, let's say you have the following file on the source server:

    Code:
    /home/username1/public_html/123.php
    If you transfer this account to a destination server where "username1" already exists, and select "Overwrite" in "WHM >> Transfer Tool" as part of the account selection page, then "123.php" is overwritten with the contents of that file on the source server. This occurs even if the copy of "123.php" is newer on the destination server.

    Thank you.
     
  6. Jcats

    Jcats Well-Known Member

    Joined:
    May 25, 2011
    Messages:
    599
    Likes Received:
    92
    Trophy Points:
    153
    Location:
    New Jersey
    cPanel Access Level:
    DataCenter Provider
    So, if you overwrite an account and exclude the home directory it just leaves the home directory on the destination server as is which means I can easily just rsync the home directory, not sure why I never tried that in the past... doh!
     
    cPanelMichael likes this.
Loading...

Share This Page