cPanel & WHM Version 98 has been released, and brings a slew of great updates. Take a look at what is included, and then upgrade today!
This object is in archive! 

Arguments for postcpbackup

Sajan Parikh shared this idea 8 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