[Case 76993] Backup destination verification - Couldn't setstat remote file: No such file

nacholibrev

Registered
Feb 20, 2014
3
0
1
cPanel Access Level
Root Administrator
Hello,

I'm having some troubles adding additional destination for cPanel backups. This error pops when I try to validate:

Code:
Error: Validation for transport “*” failed: Could not upload test file: Couldn't setstat remote file: No such file
When I log into the server I can see the actual validate file validate.tmp-24936-1392903255.txt

Any suggestions?

Regards
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,880
2,258
463
Hello :)

Are you using SFTP for the "Destination Type"? The reason I ask is because we do have an internal case open (#76993) where SFTP transport validation fails with the same error message that you reported.

Thank you.
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,880
2,258
463
Internal case number 76993 is open with our development team to address this issue. There is currently no specific time frame available on when a resolution might be pushed out. The current workaround is to use an alternative destination type such as FTP.

Thank you.
 

samheather

Registered
Apr 11, 2013
1
0
1
cPanel Access Level
Root Administrator
Internal case number 76993 is open with our development team to address this issue. There is currently no specific time frame available on when a resolution might be pushed out. The current workaround is to use an alternative destination type such as FTP.

Thank you.
Is this fixed yet? It's extremely annoying have to go to these extra lengths to ensure the transmission of our backups are secure.
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,880
2,258
463
The case is still open and under testing at this time. I have no new information to report as far as a time frame is concerned, but I do see active discussion of this case as recently as last week.

Thank you.
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,880
2,258
463
There is currently no specific time frame available on the release date, but the resolution itself has now been marked for inclusion in a future public build.

Thank you.
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,880
2,258
463
Yes, the resolution was included in cPanel version 11.46:

Fixed case 76993: Don't fail backup validation with broken SFTP servers.

Thank you.
 

000

Well-Known Member
Jun 3, 2008
533
29
78
Today SEPTEMBER 26 I have identic problem.

bug no is fixed
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,880
2,258
463

Kevin Andrews

Member
Mar 18, 2016
5
2
53
California
cPanel Access Level
Root Administrator
It's
Yes, the resolution was included in cPanel version 11.46:

Fixed case 76993: Don't fail backup validation with broken SFTP servers.

Thank you.
I'm using WHM version 54 and still having this identical problem. I notice you reference cPanel version 11.46. This problem occurs within the WHM backup module. Adrive support says it is a cPanel problem. Yes, FTP works but we are not excited about doing insecure file transfers of our backup files.
 

Kevin Andrews

Member
Mar 18, 2016
5
2
53
California
cPanel Access Level
Root Administrator
Please review the thread linked below and provide us with the updated information about your particular issue:

Guide To Opening An Effective Forums Thread

Thank you.
My issue is identical to the one reported by the OP. Specifically, I am using the WHM backup (not legacy) to create backups, with the idea to transfer them securely to a remote location for safekeeping, as required to have a reasonably safe backup protocol in place.

When attempting to "validate" the remote location using the WHM backup configuration, the cPanel server successfully connects with the remote server, but is unable to complete the validation, returning an error message:

Error: Validation for transport “Adrive SFTP” failed: Could not upload test file: Couldn't open remote file '/validate.tmp-13869-1458784036.txt': Permission denied

I am attempting to transfer to my account at Adrive.com, which is configured for SFTP, and to which I have been able to successfully transfer backups from WHM cPanel using regular FTP. I had trouble connecting using password authentication, but as Adrive supports key authentication, I used that and connected successfully, but unable to "validate" so that WHM would begin to use the Adrive for backup storage.

I've consulted with Adrive support about this, and after investigating, they referred me to this thread, indicating that it is a cPanel bug.
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,880
2,258
463
I am attempting to transfer to my account at Adrive.com, which is configured for SFTP, and to which I have been able to successfully transfer backups from WHM cPanel using regular FTP. I had trouble connecting using password authentication, but as Adrive supports key authentication, I used that and connected successfully, but unable to "validate" so that WHM would begin to use the Adrive for backup storage.
Hello :)

Have you tried manually connecting to the remote backup server via SFTP from your server's command line and then uploading/downloading a test file? This will help determine if the issue is with how cPanel makes the connection or the server connection itself.

Thank you.
 

kiti

Member
Sep 16, 2015
19
3
53
france
cPanel Access Level
Root Administrator
It's

I'm using WHM version 54 and still having this identical problem. I notice you reference cPanel version 11.46. This problem occurs within the WHM backup module. Adrive support says it is a cPanel problem. Yes, FTP works but we are not excited about doing insecure file transfers of our backup files.
For the folder field of the backup configuration:

  • /yourdirectory => WRONG
  • /yourdirectory => WRONG
  • yourdirectory/ => GOOD!

Try in your terminal:

sftp '[email protected]'@ftp.adrive.com:yourdirectory/

to see whether it works or not
 
  • Like
Reactions: WizardOfYonder