Platform/OS
Linux / Cross-platform (Server)
Category
Web Hosting & Control Panels

cPanel Backup

cPanel Backup is a simple built-in feature in cPanel that creates safety copies of your website files, databases, and emails. It’s like taking a snapshot of your entire online home so you can quickly restore everything if something gets deleted or broken. It automatically packs up your data and sends it to secure cloud storage instead of just keeping it on the same server. The tool uses S3-compatible object storage as a reliable, inexpensive vault that can hold unlimited copies without filling up your hosting space. This means your backups stay safe even if your main server crashes, and you can grab them from anywhere whenever you need to recover your site fast.

Connection / Setup

  1. Create an account and log in to DiskSpace
  2. Click I'm ready to set up my storage
  3. Enter Bucket Name following the instructions
  4. Click Create Bucket and wait for it to be generated
  5. Find your Endpoint URL, Access Key, and Secret Key in the S3 Client Configuration section for use below

Connect cPanel Backup to DiskSpace.sh

DiskSpace.sh is a fully S3-compatible object storage service. Follow the steps below to configure cPanel Backup using path-style requests.

Connection Steps
  1. Log in to your cPanel account and navigate to Backup > Backup Configuration.
  2. Select Custom Destination as the backup destination.
  3. Choose Amazon S3 (or S3-compatible) from the destination type.
  4. Fill in the credential fields exactly as shown below.
  5. Save the configuration and run a test backup.
Required Credentials
Use this exact endpoint (path-style requests required)
Can be left empty or set to us-east-1
Path Style Requirement
Important: DiskSpace.sh requires path-style requests. The tool must use URLs in this format:
https://s3.diskspace.sh/bucket-name/key

Do not use virtual-hosted style (bucket.s3.diskspace.sh). cPanel will automatically use path-style when the endpoint is configured as shown.

Example Configuration
Endpoint: https://s3.diskspace.sh
Access Key: AKIAXXXXXXXXXXXXXXXX
Secret Key: ****************************************
Region: us-east-1
Bucket: your-backup-bucket
Path Style: Enabled (required)
Troubleshooting
  • Connection Error: Verify you are using the exact endpoint https://s3.diskspace.sh and that path-style requests are enabled.
  • Permission Denied: Ensure your Access Key has full S3 permissions (s3:PutObject, s3:GetObject, s3:ListBucket) on the target bucket.
  • SSL/TLS Issues: Make sure your cPanel server can reach s3.diskspace.sh on port 443.
  • Region Problems: Try leaving the region field blank or explicitly set it to us-east-1.