Get The Most Affordable Hosting in the World!
Starting at just $1.87/month, Vercaa offers unbeatable pricing for world-class web hosting services.
Fast, reliable, and secure hosting to power your website without breaking the bank. Plus, enjoy a free CDN for faster loading times worldwide!
Get Started Now!In the realm of web hosting, safeguarding your data against loss or corruption is paramount. cPanel's WebHost Manager (WHM) provides a robust platform for managing backups, and one of the most versatile methods to achieve this is through Rsync. In this comprehensive tutorial, we'll walk you through the process of setting up Rsync backups in WHM. By the end of this guide, you'll have a reliable and efficient backup solution in place, helping you protect your critical data effortlessly.
Prerequisites
Before diving into the Rsync backup setup, make sure you have the following prerequisites:
- Access to WHM: You should have administrative access to your WHM control panel.
- Basic Understanding of Rsync: Familiarize yourself with the basics of Rsync, including its functionality and usage.
Step 1: Log in to WHM
-
Open your web browser and navigate to your WHM login URL (usually
https://your-server-ip:2087
). -
Enter your WHM username and password to log in.
Step 2: Access Backup Configuration
-
In the WHM dashboard, locate and click on "Backup Configuration" or use the search bar to find it.
-
The "Backup Configuration" interface allows you to configure various backup settings.
Step 3: Configure Rsync Backup Settings
-
In the "Backup Configuration" interface, scroll down to the "Additional Destinations" section.
-
Click on "Additional Destinations" to expand the section.
-
Select "Rsync" as your backup destination.
-
Enter the Rsync server's hostname or IP address in the "Rsync Destination" field.
-
Specify the Rsync username in the "Rsync User" field.
-
If necessary, enter the SSH port number in the "SSH Port" field. The default SSH port is 22.
-
Choose whether you want to enable or disable SSL encryption for Rsync transfers.
-
Enter the path on the remote server where you want to store the backups in the "Backup Directory" field.
-
Provide the Rsync password or configure SSH key-based authentication for added security.
-
Click the "Save Configuration" button to save your Rsync backup settings.
Step 4: Test the Rsync Configuration
-
To ensure that your Rsync backup configuration works correctly, click the "Test Configuration" button.
-
WHM will perform a test to verify the connectivity and authentication to the Rsync server. Check the results for any errors or warnings.
Step 5: Enable Rsync Backups
-
Return to the "Backup Configuration" interface.
-
In the "Backup Status" section, set "Backup Status" to "Enabled."
-
Click the "Save Configuration" button to apply the changes.
Conclusion
Setting up Rsync backups in WHM provides a reliable and efficient way to protect your critical data. With this configuration, your data is securely synchronized to a remote server, ensuring that you have a dependable off-site backup. Regularly review and update your backup settings to meet your evolving data protection needs. Rsync backup setup in WHM simplifies the process of safeguarding your server's data, offering peace of mind and ensuring that your hosting services remain reliable and resilient.