cPanel & WHM Version 80 has been released, and brings a slew of great updates. Take a look at what is included, and then upgrade today!
 

cPanel UI to configure remote backups

John Carne shared this idea 23 months 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

Comments (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.