The Cpremote Hooks are avilable for thirdparty integrations . Every job will have a pre or post hook sections. These hooks will be executed during the backups time.
The location of hook folder is /usr/local/cpremote/jobbhooks/ followed by the schedule type and a pre or post folder
The hooks location and details are given below
JOBID is the schedule ID . Your hook files /scripts must need execute permission. Customize the backup jobs as you wish.
Hooks File Location | Description | TYpe (pre or post job hook) |
---|---|---|
/usr/local/cpremote/jobbhooks/default/pre/default | Default shcedule default pre hook | pre |
/usr/local/cpremote/jobbhooks/default/post/default | Default shcedule default post hook | post |
/usr/local/cpremote/jobbhooks/default/pre/JOBID | Default schedule job pre hook | pre |
/usr/local/cpremote/jobbhooks/default/post/JOBID | Default schedule job post hook | post |
/usr/local/cpremote/jobbhooks/cpuser/pre/default | User backup defaule pre hook | pre |
/usr/local/cpremote/jobbhooks/cpuser/post/default | User backup default post hook | post |
/usr/local/cpremote/jobbhooks/cpuser/pre/JOBID | User backup schedule pre hook | pre |
/usr/local/cpremote/jobbhooks/cpuser/post/JOBID | User backup schedule post hook | post |
/usr/local/cpremote/jobbhooks/usermysql/pre/default | User mysql default backup default hook | pre |
/usr/local/cpremote/jobbhooks/usermysql/post/default | User mysql default backup default hook | post |
/usr/local/cpremote/jobbhooks/usermysql/pre/JOBID | User mysql job specific hook | pre |
/usr/local/cpremote/jobbhooks/usermysql/post/JOBID | User mysql job specific hook | post |
/usr/local/cpremote/jobbhooks/fullmysql/pre/default | Full mysql backup default hook | pre |
/usr/local/cpremote/jobbhooks/fullmysql/post/default | Full mysql backup default hook | post |
/usr/local/cpremote/jobbhooks/fullmysql/pre/JOBID | Full mysql per job hooks | pre |
/usr/local/cpremote/jobbhooks/fullmysql/post/JOBID | Full mysql per job hooks | post |
/usr/local/cpremote/jobbhooks/useremail/pre/default | User email backup default hook | pre |
/usr/local/cpremote/jobbhooks/useremail/post/default | User email backup default hook | post |
/usr/local/cpremote/jobbhooks/useremail/pre/JOBID | User email per job hook | pre |
/usr/local/cpremote/jobbhooks/useremail/post/JOBID | User email per job hook | post |
/usr/local/cpremote/jobbhooks/fullemail/pre/default | Full email backup default hook | pre |
/usr/local/cpremote/jobbhooks/fullemail/post/default | Full email backup default hook | post |
/usr/local/cpremote/jobbhooks/fullemail/pre/JOBID | Full email backup per job hook | pre |
/usr/local/cpremote/jobbhooks/fullemail/post/JOBID | Full email backup per job hook | post |
/usr/local/cpremote/jobbhooks/dns/pre/default | User DNS backup default hook | pre |
/usr/local/cpremote/jobbhooks/dns/post/default | User DNS backup default hook | post |
/usr/local/cpremote/jobbhooks/dns/pre/JOBID | User DNS backup per job hook | pre |
/usr/local/cpremote/jobbhooks/dns/post/JOBID | User DNS backup per job hook | post |
/usr/local/cpremote/jobbhooks/fulldns/pre/default | Full DNS bakcup default hook | pre |
/usr/local/cpremote/jobbhooks/fulldns/post/default | Full DNS backup defaul hook | post |
/usr/local/cpremote/jobbhooks/fulldns/pre/JOBID | Full DNS backup Job hook | pre |
/usr/local/cpremote/jobbhooks/fulldns/post/JOBID | Full DNS backup Job hook | post |
/usr/local/cpremote/jobbhooks/cron/pre/default | User cron backup default hook | pre |
/usr/local/cpremote/jobbhooks/cron/post/default | User cron backup default hook | post |
/usr/local/cpremote/jobbhooks/cron/pre/JOBID | User cron per job hook | pre |
/usr/local/cpremote/jobbhooks/cron/post/JOBID | User cron per job hook | post |
/usr/local/cpremote/jobbhooks/fullcron/pre/default | Full cron job backup default hook | pre |
/usr/local/cpremote/jobbhooks/fullcron/post/default | Full cron job backup default hook | post |
/usr/local/cpremote/jobbhooks/fullcron/pre/JOBID | Full cron job backup per job hook | pre |
/usr/local/cpremote/jobbhooks/fullcron/post/JOBID | Full cron job backup per job hook | post |
/usr/local/cpremote/jobbhooks/folderbackup/pre/default | Default Folder backup hooks | pre |
/usr/local/cpremote/jobbhooks/folderbackup/post/default | Default Folder backup hooks | post |
/usr/local/cpremote/jobbhooks/folderbackup/pre/JOBID | Default folder backup per job hook | pre |
/usr/local/cpremote/jobbhooks/folderbackup/post/JOBID | Default folder backup per job hook | post |
/usr/local/cpremote/jobbhooks/domain/pre/default | Domain backups default hook | pre |
/usr/local/cpremote/jobbhooks/domain/post/default | Domain backups default hook | post |
/usr/local/cpremote/jobbhooks/domain/pre/JOBID | Domain backup per job hook | pre |
/usr/local/cpremote/jobbhooks/domain/post/JOBID | Domain backup per job hook | post |