Wondershare UBackit

File Backup

  • Backup files, partitions, NAS disks, hard drives, effectively, incrementally and automatically.
  • Provides many features, such as, disk clone, Outlook backup, scheduled auto backup, and more.
  • Supports 1000+ file formats backup, including JPEG, PNG, AVI, M4V, MOV, MP4, DOC, XLS, PST, etc.
Free Download Free Download Learn More >
data backup

How to Take cPanel Backup to Dropbox

Wondershare Recoverit Authors

Jan 27, 2024 • Filed to: Take Data Backup • Proven solutions

Q: How to backup your cPanel accounts to Dropbox?

"Hello webmasters, I run a couple of websites using the same hosting provider. I know it's a good idea to backup cPanel accounts. But how can I do so? Is there any way to backup cPanel accounts to dropbox?"

If you own a website, it is paramount you back it up regularly, and this is something you can do yourself. You can find a backup function in most of the hosting control panels such as cPanel, Plesk, and DirectAdmin. It will help you backup the site as the domain owner or webmaster. You should rely entirely on web hosting providers because they do regular backups but mostly for disaster recovery purposes.

As we know, to store backup remotely, sometimes an FTP server will come in handy. Nevertheless, how do you automate your backup when the FTP server is down and access it anytime? Cloud storage, such as Dropbox, helps in this case. Although with some limitations, it is an excellent way to store files and is free of charge.

Part 1: Backing up cPanel Accounts to Dropbox - Prerequisites

When you want to sync data in multiple virtual and physical locations, Dropbox is an excellent tool. It comes with more benefits, such as allowing you to set up your WHM server. You can set it up to sync your backups to your Dropbox account.

1. A Dropbox Account

If you are a first time user, the first thing that you need to do is create a Dropbox account.


2. WHM Server With Root Access

With the WebHost Manager (WHM), you have administrative control over your VPS or server. A hosting provider uses WHM to manage a customer's account.

Part 2: How to Quickly Backup Your cPanel Accounts to Dropbox?

To sync your files from CPanel account and Dropbox and to undertake cPanel backup to Dropbox, you must set this up first. You can do so using the below steps that can also be used with other storage locations.

1. Creating a New cPanel Account

Well, creating a cPanel account is the first thing that you need to do. You are at full liberty to choose your preferred domain and username, but in this case, we are using dropbox here.


2. Disabling the Backups for That Account

Make sure that the Dropbox is not backed up in the user selection interface.


3. Installing and Configuring Dropbox

On the created cPanel user's account, install the Dropbox client via the SSH cPanel dropbox user. Do not use the root user. Next, you need to download 'tarball,' change into that directory and run the daemon.

Part 3: Top 10 Ways to Enhance Your cPanel Security

With a few simple steps, improving software security should not be a challenge. Despite this, the subject is still considered to be complicated. With cPanel, a web hosting administration system, there are a few options you can use. Also, cPanel provides additional security applications and plugins.

The following ten tips give more insight on how you can take advantage of the security enhancement features of cPanel.

1. Create a Strong and Secure Password

Change passwords as necessary — Passwords must be strong to protect the account against hacking. cPanel gives suggestions when you use the Password Generator tool. The default password configuration uses the same password and user ID for an FTP or User account. It should be avoided and prevented by defining different passwords.

In the 'Server Configuration,' you should enable SSL to access cPanel via 'Tweak Settings.' It will prevent snooping around the created password. It is crucial that the hacking of user-level accounts is prevented. Thus, to do so, user password strength should be configured, which will examine that users create strong passwords.

2. You Must Have Anti-Virus, Anti-Rootkit, and Firewall Protection

Whatever the probability of getting hacked is or the cPanel installation being attacked by a virus, you must work on improving security. A firewall application for cPanel servers will help, although there are other options.

ClamAV is an anti-virus plugin available for cPanel servers. It helps to install the Rootkit Hunter Software to detect malicious programs running in stealth mode (rootkit).

3. Secure SSH

If you want to access the server running cPanel, you should use SSH (Secure Shell). Although it has a primary command-line interface, it is excellent in fixing, updating, and configuring. Most users know the SSH's default port number 22; thus, it should be redefined to a number such as 1967. Redefine it to a unique number to prevent intruders from gaining access.

Since version 2 of Secure Shell is more secure than version 1, you should modify the system configuration to use the former.

But how can you make these two SSH changes? Well, edit SSH daemon configuration file at /etc/ssh/sshd_config:. Here you need to replace the reference to Port 22 to Port 1967 (This should be any number of your choice) and Protocol 2.1 to Protocol 2.

4. cPanel Must Be Up-to-Date

There is a reason why you should use the latest version of cPanel. It helps you fix bugs and also improves the overall security. You can find an option that reads "Upgrade to Latest Version" somewhere on the homepage.

Moreover, the server will automatically be updated daily, which you can achieve by clicking on 'Server Configuration' then 'Update Preferences.'

5. Use Brute-Force Protection

Once this is set, if an IP address repeatedly tries to access the server unsuccessfully, it will automatically be blocked. The specific address is logged into the cPanel database. You probably tried this, but you forgot your password. So, after some time, the blocked IP address will be unblocked in the cPanel.

These are settings that you can make yourself. To do so, go to 'Security Center,' click 'CPHulk Brute-Force Protection,' and then click on 'Enable.' For a website managed with cPanel, you can specify a domain name or IP address that you want to block from accessing the site. The option 'IP Deny Manager will be handy.

6. Disabling Anonymous FTP

You can disable any anonymous FTP in "FTP Server Configuration." You can find it below the "Service Configuration." Besides, you should also set "Allow Anonymous Logins" to "NO."

Hackers are smart, and they can upload content to access your account when your Anonymous FTP is open. To prevent this and enhance security, disable the Anonymous FTP, and specify SSL for access.

7. Check the Security of Websites

Checking on the nature of websites is as important as shaping and limiting access to cPanel managed sites and cPanel itself. If Google Safe Browsing or a similar tool identifies a potential domain threat, this gives your organization a bad reputation. That, in turn, affects its revenues and profitability.

To confirm whether any of the domain names linked to the site has been identified as potential threats, cPanel uses the "Site Security Check."

8. Securing Apache and PHP

"EasyApache" is a utility in cPanel. Its work is to build and compile Apache server new versions and PHP scripting language. Using the latest versions enhances security. To prevent malicious PHP scripts from opening files elsewhere, you should contain them in their home directory. You can do it quickly by clicking on the 'Security Center,' in the PHP open_basedir Tweak command, check 'Enable PHP open_basedir Protection' and save.

9. The Tweak Settings Checklist

There are more security options when you check on 'Server Configuration' and then 'Tweak Settings.' They are such as the use of security tokens to access cPanel. Besides, it also limits the risk from hackers since they cannot capture cPanel session cookies. The server is protected well against any e-mail or other form of attack.

10. The Security Center Checklist

Besides containing PHP scripts with open_basedir and ensuring passwords are strong, there are ways security can be enhanced. They are, such as; limiting the use of the SU command to become the root user, unspecified users' compiler access is disabled, and to prevent users' unlimited access to server resources, the; Shell Fork Bomb Protection' is defined.

cPanel gives more ways to enhance security. These options have instructions that you should read to understand the functions of the options and how useful they are. It is crucial if you are to run a secure and effective cPanel server.


As a website owner, it is critically important that you backup your site regardless of how reliable your cloud services are. While some site owners use cPanel to backup content manually, others opt for plugins. By using cloud storage such as Dropbox, you get to enjoy various solutions.

With the above steps, performing a cPanel backup to dropbox should not be a challenge. The steps are simple and straightforward; thus, you do not need to be an expert to perform it. By completing them, you will have successfully backed up your cPanel.

Recoverit author

Amy Dennis

staff Editor

Home > Resources > Take Data Backup > How to Take cPanel Backup to Dropbox