The call for the new backup system originates at /usr/local/cpanel/bin/backup
The new backup system uses the standard hook system we introduced in 11.32 (Getting Started). Through that, bin/backup exposes both a pre and a post hook event.futher info that may help you...
I would love to have the Prebackup and postbackup working.
On version 11.36 All was working i had 2 files under the /usr/local/cpanel/scripts
For item number one, please read System BackupsA couple of issues with the new backup system.
1. System backups will not be uploaded to any remote destinations - Kind of hard to restore a system without them, yet if on the failed machine you have lost access in most cases. These to to sent to remote destinations.
2. Due the above, no backups are done to the remote destination is you have backup system files enabled. Would be nice if that is noted when configuring the backup system.
You need to switch to the Standard Hook system, as I mentioned earlier. The hook event you want is System::Backup. There is both a pre and post stage, which roughly approximates precpbackup and postcpbackup. The System::Backup event is in the process of being documented, it was overlooked.Could you let us know how to enable the precpbackup and postcpbackup?
Hello!You need to switch to the Standard Hook system, as I mentioned earlier. The hook event you want is System::Backup. There is both a pre and post stage, which roughly approximates precpbackup and postcpbackup. The System::Backup event is in the process of being documented, it was overlooked.
This feature will be included in cPanel version 11.38.1 per internal case number 70329. In the meantime, the following API calls can be made as a workaround:So, am I missing something here or do you have to manually select EVERY use account you want to back up? Is there not an option to select all?!
|Thread starter||Similar threads||Forum||Replies||Date|
|S||Backup configured but can't find directory or how to force backup||Backups||1|
|A||Force Only Backup Destination||Backups||1|
|Any way to force backup and upload only specific accounts?||Backups||7|
|Force the monthly backup to run?||Backups||4|
|D||Daily backup, when run backup is upto date shown - force||Backups||1|