Edit the Backup Destination Path from the command line Print

  • 0

Symptoms

Additional backup destinations cannot be configured to use absolute file paths via the user interface.

 

Description 

There have been some instances when the remote backup server cannot validate due to the path is not valid.

 

An example of a failure that has been seen that need the path to be adjusted from a relative to absolute path or vice-visa: 

 

"Validation for transport “$BACKUP_NAME” failed: Could not delete the file we had uploaded onto the server: Couldn't delete remote file: Permission denied"

 

Workaround

 

You will need to be able to SSH as root or sudo to root to perform these changes on the command line.

 

The backups configuration files are found in: 

 

/var/cpanel/backups/

 

You will use your preferred editor (nano, vi, vim, etc.) to open the file. The file name is normally: 

 

$BACKUP_NAME_UID_$BACKUP_IP.backup_destination

 

 

*Warning*

These changes can impact the backup GUI interface's functionality and make the settings uneditable from the interface. Reverting these changes will allow the interface to function once more.

Manually Adding Absolute Path To /var/cpanel/backups/*.backup_destination Makes "WHM > Backups > BackUp Configuration > Additional Destinations > Edit" Interface Uneditable


Was this answer helpful?
Back

Send Message