New on LowEndTalk? Please Register and read our Community Rules.
All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.
All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.
cPanel remote backup script (works with new versions)
Hello,
Yesterday I rewrote a part of my cPanel backup script which wasn't working due to removal of old and depreciated cPanel api in newer version (74 to be specific).
I have some resellers with a total of dozen accunts, I guess? I can't move them to dedi due to some reasons. So, just sharing a part of it.
Features:
- Creates array of failed and success ones
- Notifies user through emailing (sendgrid)
- Works with multiple servers
Link: https://github.com/jetchirag/remote-backup-cpanel-php
TBH, it's a lazy day and I don't have much to do! Let me know if you have any other recommendation.
Thanks
Comments
Good job
Francisco
Do you work for JetBackup?
haha nope, any reason to believe so?
is it compressed as backup.tar.gz per account ?
Yes, it'll use date to create a directory on remote ftp server and send that path as parameter to cpanel server.