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.

Api and Backup

Discussion in 'cPanel Developers' started by danilonet, Mar 22, 2014.

  1. danilonet

    danilonet Registered

    Joined:
    Mar 22, 2014
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    Hello everybody,
    i'm creating my custom management interface calling JSON apis.
    Now i need to create an user interface for Manually Backup and Restore.

    I found these api calls for restore db and home directory
    ap1: Fileman::restoredb
    ap1: Fileman::restorefiles

    But I do not found their counterparts to make db backup and home directory backup
    Can anyone tell me what calls I need to do for create a partial backup?

    Best regards
     
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,811
    Likes Received:
    672
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Hello :)

    This document for the "Fileman::fullbackup" function might be helpful:

    Fileman::fullbackup

    As for the databases, you may want to consider implementing the mysqldump utility from shell.

    Thank you.
     
Loading...

Share This Page