There is a reseller client with over 100domains under his account. He wants monthly backups done automatically each mont.
The question is, is there a way to backup automatically via cron (or a script manually) every account under his reseller, including his main domain? Can this be done without manually running pkgacct per 100+ domains?
I asked cpanel about this and tech responded with below:
** The file /etc/trueuserowners shows which reseller owns each account. It should be trivial for your system administrator to write a quick for-loop that parses through that file and runs "/scripts/pkgacct $USERNAME /path/to/backup" for each user. **
I don't know how to script such things, but if anyone here can help that would be great. Thanks.