Our features site is undergoing a refresh! Be sure to explore the revamped site and discover our latest product roadmap launching here on Monday, March 18th.

cPanel UI to configure remote backups

John Carne shared this idea 7 years ago
Open Discussion

As a server administrator I would like to allow my cPanel users to define a remote backup schedule (daily, weekly, monthly), retention types (incremental, compressed, and uncompressed) and retention schedules (keep 2 dailies, 2 weekly, 1 monthly, etc.) for their account inside the cPanel interface, giving users control over their own account backups and destinations.

Best Answer
photo

While this is not currently possible in the cPanel UI, you can use the command line utilities coupled with the Fullbackup cPaneil API1 call to run a backup as a cronjob:


The call would look like this:

  1. cpapi1 Fileman fullbackup dest server remoteuser password email port remotedirectory


For example, when run as the user:

  1. cpapi1 Fileman fullbackup passiveftp 127.0.0.1 benny password benny@cpanel.net 21 .


If it's run as root, it will need to include the --user flag:

  1. cpapi1 --user=LocalcPanelUser Fileman fullbackup dest server remoteuser password email port remotedirectory

Replies (3)

photo
1

It would be good to have a selectable limit in WHM on how frequent the backups could be scheduled. For shared hosting servers for example, I would not want to allow every account to schedule daily backups due to the added impact but weekly would be ok.

photo
2

While this is not currently possible in the cPanel UI, you can use the command line utilities coupled with the Fullbackup cPaneil API1 call to run a backup as a cronjob:


The call would look like this:

  1. cpapi1 Fileman fullbackup dest server remoteuser password email port remotedirectory


For example, when run as the user:

  1. cpapi1 Fileman fullbackup passiveftp 127.0.0.1 benny password benny@cpanel.net 21 .


If it's run as root, it will need to include the --user flag:

  1. cpapi1 --user=LocalcPanelUser Fileman fullbackup dest server remoteuser password email port remotedirectory

photo
1

Alot of our customers already do backups to Dropbox with Installatron. However Installatron backups only work for a list of scripts and not for any custom websites and don't backup e-mail.

Having this feature for tools like Google Drive or Dropbox for end users would be great.

Leave a Comment
 
Attach a file