pre-backup hook for specific accounts
Supported through Custom Hook
ability to create a pre-backup hook only for specific account and not for all accounts (eg run a custom script only for user XX)
ability to create a pre-backup hook only for specific account and not for all accounts (eg run a custom script only for user XX)
Hello Simone,
Thank you for opening up you're feature request with us! Just to clarify, you should be able to achieve this with our "Pre Backup Account Hook" which passes the following arguments:
So for your custom script, you should be able to add logic that checks for either the Account ID or Account Username that gets passed from our hook and execute your script accordingly.
For more information regarding Hook Positions and Arguments that get passed, please CLICK HERE.
Thank You,
JetApps Team.
Hello Simone,
Thank you for opening up you're feature request with us! Just to clarify, you should be able to achieve this with our "Pre Backup Account Hook" which passes the following arguments:
So for your custom script, you should be able to add logic that checks for either the Account ID or Account Username that gets passed from our hook and execute your script accordingly.
For more information regarding Hook Positions and Arguments that get passed, please CLICK HERE.
Thank You,
JetApps Team.
Hello, the fact is that i have opened a ticket about this exact request, and someone from Support told me that it was not possibile to do it , so they suggested me to open a request here :)
anyway, glad to know that i can but documentation is a little bit odd. can you please help me to create a simple script example?
here are the variables:
username: USER01
script to run: /home/user01/scripts/scripttorun.sh
i would like that only for this user to run the script (/home/user01/scripts/scripttorun.sh) before the jetbackup starts backing up files on cpanel
thank you
simone
Hello, the fact is that i have opened a ticket about this exact request, and someone from Support told me that it was not possibile to do it , so they suggested me to open a request here :)
anyway, glad to know that i can but documentation is a little bit odd. can you please help me to create a simple script example?
here are the variables:
username: USER01
script to run: /home/user01/scripts/scripttorun.sh
i would like that only for this user to run the script (/home/user01/scripts/scripttorun.sh) before the jetbackup starts backing up files on cpanel
thank you
simone
Replies have been locked on this page!