After the update to 11.48, fullbackup changed

nunoleite

Well-Known Member
Jun 4, 2007
68
4
158
Hi!

After the update to 11.48 i notice this changes do script dofullbackup in cPanel...

I have a script that runs this:
PHP:
$params = "dest=$ftpmode&email=$notifyemail&server=$ftphost&user=$ftpuser&pass=$ftppass&port=21&rdir=/&submit=Generate Backup";
fputs($socket,"POST /frontend/".$skin."/backup/dofullbackup.html?".$params." HTTP/1.0\r\n");
Where $notifyemail is empty, to not send a notify email. But now the script started to send notifyemails of the backups made to the user email registered in the account. How to correct this?

Another change is that i noticed a test file is being uploaded to the ftp server. This doesn't happend before. How to correct this?
example:
name: 276300._USR_LOCAL_CPANEL_BIN_FTPPUT__.kNWrRUm6x3bmiAVq.tmp
content: This is a test file for ftpput
Thanks
Nuno Leite
 

cPanelMichael

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

The custom script you are using falls outside our scope of support, however you may find the following thread helpful, as there's discussion of a similar topic with links to potential solutions:

Backing Up cPanel Accounts

The test file verifies that uploads will work successfully. Could you elaborate on the problem this causes?

Thank you.
 

nunoleite

Well-Known Member
Jun 4, 2007
68
4
158
Hi!

I already opened a ticket and i can confirm that this is a bug from this form.

If you try to disable the notification email it still send the notification email, and the temp file is created in the destination ftp.

So, it's not my script but the form in cPanel that has these 2 bugs.

Thanks
Nuno Leite
 

cPanelMichael

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

1. Internal case number 164889 is open to address an issue where the backup option in the user's cPanel account emails the address in /home/USER/.contactemail regardless of the setting when running the backup.

2. Internal case number 164321 is open to address an issue where the cPanel account backup option creates a .tmp file when using FTP as the destination.

Feel free to monitor our change log to see when resolutions have been released:

cPanel - Change Logs

Thank you.