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!

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
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    43,711
    Likes Received:
    1,791
    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.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  4. Jcats

    Jcats Well-Known Member

    Joined:
    May 25, 2011
    Messages:
    702
    Likes Received:
    113
    Trophy Points:
    168
    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?
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  5. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    43,711
    Likes Received:
    1,791
    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.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  6. Jcats

    Jcats Well-Known Member

    Joined:
    May 25, 2011
    Messages:
    702
    Likes Received:
    113
    Trophy Points:
    168
    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!
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
    cPanelMichael likes this.
  7. alekstrust

    alekstrust Registered

    Joined:
    Feb 23, 2017
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Meh
    cPanel Access Level:
    Root Administrator
    Sorry for the necro again, but what about the deleted files?

    Will the Overwrite option delete the files that doesn't exist anymore in the source?
     
  8. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    43,711
    Likes Received:
    1,791
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    No, it won't remove files new files that have been created on the destination server, but don't exist on the source server.

    Thank you.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
    alekstrust likes this.
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice