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

kabatak

Well-Known Member
Jun 10, 2009
148
8
68
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.
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,909
2,228
463
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.