Skip to main content

UAPI +PHP. Backup from array list From server to Server

Comments

3 comments

  • cPanelMichael
    Hello @Cassiano Aquino, You can use JSON output in place of the XML-like output. We document how the data is returned on the link below: UAPI - Return Data - Developer Documentation - cPanel Documentation Thank you.
    0
  • Cassiano Aquino

    Hello, i managed to build what i wanted, i will post a pastebin link in case someone needs. But basicly it runs an array with FTP servers and fires a Fullbackup of them to another server. The access is made with Cron. In case someone finds out my code sucks, and wish to contribute, no problem, i don"t mind....My code is missing some things that i can"t deal right now. Thanks to N1ghteyes, he made a class that helped me alot to get what i wanted. PS: Sorry for any bad writing, my english kinda sucks :P My code N1ghteyes (cpanel-UAPI-php-class): https://github.com/N1ghteyes
    0
  • cPanelMichael
    Hello, i managed to build what i wanted, i will post a pastebin link in case someone needs.

    Thanks for sharing the example! You should consider creating a public repo for the script on GitHub if you have the time. Even if you choose not to maintain it, it makes it easier for others to submit changes, discuss concerns, or fork it to their own repo. Thank you.
    0

Please sign in to leave a comment.