On all but one of my servers I have, under Backup > Configure Backup:
Execute Pre/Post Backup Script
[x] /scripts/precpbackup
[x] /scripts/postcpbackup
On one server, those checkboxes are missing. I read somewhere that if I create /scripts/precpbackup and /scripts/postcpbackup that it will then magically show up, but after touching both files, then going back to the Configure Backup screen, those checkboxes are not there.
Further, I added some commands to /scripts/postcpbackup, and after the nightly backup last night, it did not fire (based on looking in the backup log at /usr/local/cpanel/logs/cpbackup.
Clearly I'm missing something, but I don't know what it is. Thoughts?
- Scott
Execute Pre/Post Backup Script
[x] /scripts/precpbackup
[x] /scripts/postcpbackup
On one server, those checkboxes are missing. I read somewhere that if I create /scripts/precpbackup and /scripts/postcpbackup that it will then magically show up, but after touching both files, then going back to the Configure Backup screen, those checkboxes are not there.
Further, I added some commands to /scripts/postcpbackup, and after the nightly backup last night, it did not fire (based on looking in the backup log at /usr/local/cpanel/logs/cpbackup.
Clearly I'm missing something, but I don't know what it is. Thoughts?
- Scott