jvriends Posted March 13, 2012 Share Posted March 13, 2012 Attached is an add-on module that I developed to allow cPanel Resellers to backup their client's files by selecting the domains and clicking Backup Domains. I have tested it however, if someone finds some bugs or is willing to help by adding some more error checking that would be great. cprbackup.zip 0 Quote Link to comment Share on other sites More sharing options...
altomarketing Posted March 13, 2012 Share Posted March 13, 2012 any screenshot to see before install ? 0 Quote Link to comment Share on other sites More sharing options...
jvriends Posted March 14, 2012 Author Share Posted March 14, 2012 any screenshot to see before install ? Attached is a screenshot. Once you enter in your information into the add-on, the domains box will populate with your domains. 0 Quote Link to comment Share on other sites More sharing options...
Snowman Posted March 15, 2012 Share Posted March 15, 2012 How are the backups handled? is this just connecting to the cpanel backup function where a backup is sent to the home directory of the account? or ftp or similar? 0 Quote Link to comment Share on other sites More sharing options...
jvriends Posted March 15, 2012 Author Share Posted March 15, 2012 It uses the xmlapi.php cPanel API. Right now it is just configured to FTP (passive or active) but would not be hard to add to the dropdown box scp or homedirectory. 0 Quote Link to comment Share on other sites More sharing options...
Alanx Posted March 16, 2012 Share Posted March 16, 2012 Hello, Good idea this module, I had to create manually the directory cprbackup and under this I have moved the other directory and file cprbackup.php, because the files unzipped from your .zip in the root of the addons...but most important is the error that comes out when you try to setup the addon: Fatal error: Cannot redeclare class xmlapi in /home/netlan/public_html/clienti/modules/addons/cprbackup/xmlapi/xmlapi.php on line 129 The domain related to the reseller account is found looking where is pointed in A ? I ask you this, because it will useful to reach and manage more whm account using the ip of the main domain of the reseller, instead to use only the domain. If a reseller have same domain shared between more server ? Regards 0 Quote Link to comment Share on other sites More sharing options...
jvriends Posted March 20, 2012 Author Share Posted March 20, 2012 I updated the zip file and posted it on the website listed in the readme. This should correct it unzipping until another cprbackup folder. Do you still get the Cannot redeclair error? I am running the same copy and don't receive this error. I tested the script on a hostgator reseller account, but instead of the reseller domain you can put the IP. The script is looking for the WHM port on the IP you provide. 0 Quote Link to comment Share on other sites More sharing options...
likerise Posted May 9, 2012 Share Posted May 9, 2012 Hi jvriends, I have a small suggestion regarding your script. Sometimes backup can make a lot of load on the server so our provider do not allow us to performance more than 2 backup at the same time. If we choose to backup all of our sub-domains and if the scripts send request to cPanel and starting backup all accounts at the same time, I think it really could cause some trouble. Could you considering add something like queue and backup accounts one by one? Is it possible? And one step further, it would also be great if we can setup cronjob and call the addon to auto backup. Thank you very much for your script and great job! 0 Quote Link to comment Share on other sites More sharing options...
postcd Posted September 19, 2013 Share Posted September 19, 2013 Please anyone have experience with this module? How are the reseller sub-accounts accessed to be made ftp backup? 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.