How to Set Up and Restore Remote Backups in CloudPanel
2025-03-23 04:19:44
#1
I want to back up my CloudPanel-hosted websites to an external storage provider like Amazon S3 or Dropbox. How can I set up Remote Backups, and how do I restore a site from a backup file?
2025-03-23 04:20:58
#2
CloudPanel includes a Remote Backup feature that allows you to store your site backups on external storage services such as Amazon S3, Wasabi, Dropbox, Google Drive, DigitalOcean Spaces, SFTP, or any service supported by Rclone.

🔸 Step 1: Set Your Instance Timezone



Before scheduling backups, make sure your server’s timezone is correctly configured. This ensures your backup jobs run at the expected times.

🔸 Step 2: Configure Remote Backup Storage


  1. Go to CloudPanel → Backups → Remote Backups
  2. Select a Storage Provider from the list:
    [LIST]
  3. Amazon S3
  4. Wasabi
  5. DigitalOcean Spaces
  6. Dropbox
  7. Google Drive
  8. Hetzner Storage Box
  9. SFTP
  10. Custom Rclone Config

[*]Follow the on-screen instructions based on the selected provider.
[/LIST]
Example (Amazon S3):
  • Log in to your AWS Console
  • Create an S3 bucket
  • Generate Access Key and Secret Key
  • Enter the credentials in CloudPanel and click Save

  1. Click “Create Backup” (top right) to run your first manual backup and verify that it's uploaded successfully.

🔸 Step 3: Exclude Files or Sites from Backups


By default, CloudPanel includes:
  • Entire home directory of each site
  • Excludes: .ssh, logs, and tmp folders

To exclude specific paths, add them to the Excludes field:

/home/$site-user/


This will completely exclude a site from the backup.

🔸 Step 4: Restoring from a Backup


🗂️ Method 1: File Manager (Recommended for 2 GB)


  1. Upload the backup.tar file to your site’s tmp folder via SFTP.
  2. SSH into the server as the site user😖sh site-user@your-server-ip
  3. Extract the backup file:tar xf ~/tmp/backup.tar
  4. Manually copy and overwrite the files you need.



Summary:


  • Remote Backups are flexible and support many providers via Rclone.
  • You can run backups manually or rely on CloudPanel’s scheduled tasks.
  • Use File Manager for small restores, SSH for large files.
  • Always test your backups periodically to ensure reliability.
Yazdığımız şeyler bizi temsil eder, Efendilik iyidir.
Please Login or Register.
Currently 1 people reading this topic. (1 guest(s))
Currently reading 0
Reacted 1
Nemesis