I have CENTOS 6.4 x86_64 virtuozzo installed with WHM 11.36.1 (build 8).
I am trying to rotate my cPanel/WHM backups using the script from https://github.com/tripflex/postcpbackup. However, when the script executes nothing happens.
a. I have set the correct permissions
[email protected] [/scripts]# ls -al | grep postcpbackup
-rwxr-xr-x 1 root root 3625 Jun 8 15:42 postcpbackup*
b. cpanel backup calls it, i can see it in logs (/usr/local/cpanel/logs/cpbackup).
[cpbackup] The following backups were already up to date: weekly,monthly
[cpbackup] Executing user defined post backup script (/usr/local/cpanel/scripts/postcpbackup).
[cpbackup] Completed at Sat Jun 8 15:45:00 2013
c. No output shows up when I execute test=echo /scripts/postcpbackup
[email protected] [/scripts]# test=echo /scripts/postcpbackup
[email protected] [/scripts]#
Please help what I am doing wrong.
I am trying to rotate my cPanel/WHM backups using the script from https://github.com/tripflex/postcpbackup. However, when the script executes nothing happens.
a. I have set the correct permissions
[email protected] [/scripts]# ls -al | grep postcpbackup
-rwxr-xr-x 1 root root 3625 Jun 8 15:42 postcpbackup*
b. cpanel backup calls it, i can see it in logs (/usr/local/cpanel/logs/cpbackup).
[cpbackup] The following backups were already up to date: weekly,monthly
[cpbackup] Executing user defined post backup script (/usr/local/cpanel/scripts/postcpbackup).
[cpbackup] Completed at Sat Jun 8 15:45:00 2013
c. No output shows up when I execute test=echo /scripts/postcpbackup
[email protected] [/scripts]# test=echo /scripts/postcpbackup
[email protected] [/scripts]#
Please help what I am doing wrong.