backups not uploading to remote destination

daveyb17

Member
Apr 29, 2013
9
0
1
cPanel Access Level
Root Administrator
Hi all,

well the subject pretty much says it all really, i have an error showing in my cpbackup logs as per below:-

[backup] System backups will not be uploaded to any remote destinations

I have tried this on all domains on the VPS (about 35) and even just one very small account with a smal wordpress site (less than 100MB in total) and i still get the error.

I can validate the remote destination and all is ok, i have checked the firewall on both servers and they are white listed respectively.

The VPS backs up fine to it's self but i have to have it go to a remote destination for redundancy. does any one have any ideas on what could be causing the issue?

cheers
Dave
 

cPanelMichael

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

Review the /usr/local/cpanel/logs/cpbackup_transporter.log file and let us know if you see any specific error messages related to the upload failure.

Thank you.
 

cPanelPeter

Senior Technical Analyst
Staff member
Sep 23, 2013
585
25
153
cPanel Access Level
Root Administrator
Hello,

Just to clarify, the message you see pertains only to System Backup files, (/etc/ /var/cpanel/* etc..). Not to accounts.
There is an option in the new backup system to backup system files (this is usually off by default). If you did not turn it on, you will see that message in the log file each time.
 

daveyb17

Member
Apr 29, 2013
9
0
1
cPanel Access Level
Root Administrator
thats strange i have system backups turned on and i still see the error message.

however it is now backing up accounts to the remote server. The only setting i changed was passive mode, ran validate, then switched it back again and ran validate again.

i'll see how i get on with it.

thanks for your help! :)
Dave
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,880
2,261
463
The backup of system files to remote destinations must be enabled manually at this time. Instructions on this can be found at:

System Backups

Feel free to vote and add your input to the feature request that allows system backups to be enabled through WHM:

System File Backups through WHM

Thank you.
 

kjg

Well-Known Member
Mar 2, 2004
180
8
168
Hi
When using the manual method and setting "upload_system_backup: 1" in the backup conf file the system files are uploaded to the remote server as they should.
But, if we uncheck "Retain backups in the default backup directory", the system files are kept in the local backup directory anyway. The accounts are not kept, only the system files.
Is this a bug, a feature request or just a handling error from us and we are to change something else manually as well?

edit: we are using 11.42.0 build 17

// kjg
 
Last edited:

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,880
2,261
463
Per our documentation:
Retain backups in the default backup directory

Select the Retain backups in the default backup directory option to retain each account backup in the default local backup directory after the backups have been transferred to another destination.

If this option is not selected, account backup files will be deleted from the local destination only after the following:

The system successfully transfers the backup file to at least one additional destination.
The system attempts to transfer the backup file to all of your additional destinations.

Note:

System backup files, directories, and any other files will not be removed.

Warning:

The backup process and the transfer process use separate queues. If each backup happens much faster than each transfer, backup files can accumulate on the server and fill up the hard drive.

If you do not select Retain backups in the default backup directory and do not define a destination in Additional Destinations, backups will not be saved.
Also, here is a quote from a previous inquiry about this:

If the retain backups setting is not selected, the account backup files are deleted from the local server after the transfer is complete, but the directories and any other files are not removed. The system backup files are indeed transfered to the remote server, but they are not removed from the local server even once the transfer is complete.
Thanks.