The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

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