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.

[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

    Joined:
    Jun 10, 2009
    Messages:
    80
    Likes Received:
    1
    Trophy Points:
    8
    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:

    ---------------------------
    Homedir
    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
    Homedir restored
    ---------------------------


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

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,787
    Likes Received:
    665
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Hello,

    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.
     
Loading...

Share This Page