Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

restoreaccount API not working with directory backups?

Discussion in 'cPanel Developers' started by zingiri, Oct 21, 2011.

  1. zingiri

    zingiri Registered

    Oct 21, 2011
    Likes Received:
    Trophy Points:
    cPanel Access Level:
    Root Administrator
    I'm using the restoreaccount API in a WHMCS addon to restore an account from the WHMCS administration panel. This seems to work fine if the account backup exists in the format of a tar/zip file.

    However when the account backup is in the form of a directory, the restore doesn't work.

    Is that normal? Should I specify different parameters or use another API for this case?

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice