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!

[Case 158681] Transfer tool leaves files behind and shows success

Discussion in 'Data Protection' started by kabatak, Mar 30, 2015.

  1. kabatak

    kabatak Well-Known Member

    Jun 10, 2009
    Likes Received:
    Trophy Points:
    While migrating some accounts, I noticed that when Cpanel gets "permission denied" error it skips the file and continues the transfer and it even says 100% success. If I hadn't checked the logs and accounts individually and just relied on the "100% success" message, I would have lost files during the transfer.

    Here's an example snippet of the log:

    Streaming Homedir from source server…
    receiving incremental file list
    …6 % …
    rsync: send_files failed to open "/home/xxx/public_html/file1.php": Permission denied (13)
    rsync: send_files failed to open "/home/xxx/public_html/file2.php": Permission denied (13)
    rsync: send_files failed to open "/home/xxx/public_html/file3.php": Permission denied (13)
    …100 % …
    sent 357.26K bytes received 660.11M bytes 5.62M bytes/sec
    total size is 658.88M speedup is 1.00
    rsync error: some files/attrs were not transferred (see previous errors) (code 23) at main.c(1505) [generator=3.0.6]
    Homedir restored

    I believe the solution to this is simply halt the transfer when Cpanel encounters permission denied error.
  2. cPanelMichael

    cPanelMichael Technical Support Community Manager Staff Member

    Apr 11, 2011
    Likes Received:
    Trophy Points:
    cPanel Access Level:
    Root Administrator

    Internal case number 158681 is currently open to address the issue where these types of warnings are presented in an easy to see format after the transfer. There's currently no time frame on the implementation of this feature. Feel free to monitor our change log for this case number in the future to determine when it's included.

    Thank you.
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...

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