Problem with Post Backup

ewsystems

New Member
Jun 5, 2013
2
0
0
I get this at the end of the backup process. It appears that the S3 Backup portion is not working:

[cpbackup] The following backups were already up to date: weekly,monthly
[cpbackup] Executing user defined post backup script (/usr/local/cpanel/scripts/postcpbackup).
Can't modify constant item in scalar assignment at /usr/local/cpanel/scripts/postcpbackup line 3, at EOF
Execution of /usr/local/cpanel/scripts/postcpbackup aborted due to compilation errors.
[cpbackup] Completed at Tue Jun 11 03:35:35 2013
 

adam

Administrator
Staff member
Dec 5, 2009
2,043
108
63
Hi,

It sounds like your postcpbackup script may have an error in it. Could you open it and ensure the content is just this:

Code:
#!/usr/bin/perl
system("/usr/local/cpanel/whostmgr/docroot/cgi/s3backup/s3cfg/s3backup.sh");
Regards,
Adam.
 

adam

Administrator
Staff member
Dec 5, 2009
2,043
108
63
If that doesn't work try this instead (cPanel moved the perl path in recent versions)

Code:
#!/usr/local/cpanel/3rdparty/bin/perl
system("/usr/local/cpanel/whostmgr/docroot/cgi/s3backup/s3cfg/s3backup.sh");
Thanks for the note Si...

Adam.