Our features site is undergoing a refresh! Be sure to explore the revamped site and discover our latest product roadmap launching here on Monday, March 18th.
This object is in archive! 

Arguments for postcpbackup

Sajan Parikh shared this idea 11 years ago
Already Exists

Can we get some arguments passed into postcpbackup? Would make scripting a ton easier if it was passed things like the account username that was just backed up, or the full path to the produced backup file.


Thanks.

Replies (1)

photo
1

postcpbackup is not processed per account, it is processed after everything is backed up. For processing events after an account is backed up, you'll want to reference our standardized hooks documentation for pkgacct events: http://docs.cpanel.net/twiki/bin/view/SoftwareDevelopmentKit/StdPackageAcctsFunctions

Leave a Comment
 
Attach a file