How to backup websites data on WHM/cPanel using Rsync

Mujkanovic

Well-known member
Collaborate
Registered
Joined
Apr 24, 2016
Messages
424
Points
18
To backup a website on WHM/cPanel using rsync, you can follow these steps:
  1. Log in to your WHM/cPanel account.
  2. Click on the "Backup" icon.
  3. Select "Configure Backup" option.
  4. Choose "Remote FTP Backup" and enter your remote server's FTP details.
  5. Save your configuration.
  6. Log in to your remote server using SSH.
  7. Run the rsync command, specifying the source directory and the destination directory.
For example, the command may look like this:

Code:
rsync -avz /home/username/public_html/ username@remote_server:/backup/website_name/
This will copy the website files from your cPanel account to the specified remote server directory.

To backup a website from your current server to another server using rsync in WHM, you can follow these steps:
  1. Log in to your WHM/cPanel account.
  2. Click on the "Backup" icon.
  3. Select "Configure Backup" option.
  4. Choose "Additional Destinations" and then "Add a Backup Destination".
  5. Select "Rsync" as the backup type.
  6. Enter the remote server's hostname or IP address, SSH port, remote username and remote backup directory.
  7. Click the "Save Configuration" button.
  8. Return to the "Backup Configuration" page, select "Backup User Selection" and choose the user account(s) you want to backup.
  9. Click "Save Configuration" again to save your changes.
  10. Finally, click the "Backup Now" button to start the backup process.
This will backup your website files and data to the specified remote backup directory using rsync.

Hope it helps!
 
Recommended Threads

Latest Hosting OffersNew Reviews

Sponsors

Tag Cloud

You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an alternative browser.

Top