About Backup Additional Destinations

Operating System & Version
Centos 7
cPanel & WHM Version
v88.0.5

pasargad

Member
May 29, 2009
18
1
53
Iran
Hello
I would like to use the Backup Configuration > "Additional Destinations" option.
But after set all options in this part and Enable it, it's ok but after click on validate show error: Error: Validation for transport “BACKUPS” failed: Could not upload test file: Can't exec "/": Permission denied at /usr/local/cpanel/Cpanel/SafeRun/Object.pm line 391.
What is the problem?
thank you
 

quietFinn

Well-Known Member
Feb 4, 2006
1,281
115
193
Finland
cPanel Access Level
Root Administrator
Hello
I would like to use the Backup Configuration > "Additional Destinations" option.
But after set all options in this part and Enable it, it's ok but after click on validate show error: Error: Validation for transport “BACKUPS” failed: Could not upload test file: Can't exec "/": Permission denied at /usr/local/cpanel/Cpanel/SafeRun/Object.pm line 391.
What is the problem?
I would guess that when you fill in the "Backup Directory" you added a path starting with "/".
Do as the hint says:
"Specify the path, relative to the account’s home directory, where the system stores backups. "
 

quietFinn

Well-Known Member
Feb 4, 2006
1,281
115
193
Finland
cPanel Access Level
Root Administrator
Seems the Destination Type is Custom, change it to FTP or SFTP.
SFTP is better if you can use it.
 

cPanelLauren

Product Owner
Staff member
Nov 14, 2017
13,296
1,266
313
Houston
If you don't have a custom script you shouldn't be using the script section. The / in the custom section implies that there is a script but even then you're not declaring the script name so it wouldn't function even if you were since it needs the absolute path meaning the full path to the script
 

pasargad

Member
May 29, 2009
18
1
53
Iran
I Change Destination Type to FTP and set information of FTP and it working and validating.
Thank you for helping me to fix this problem.
Have grate time
 
  • Like
Reactions: cPanelLauren