danilonet

Registered
Mar 22, 2014
1
0
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
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,913
2,201
363
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.