Back to Main Site

Cloud Backup Manager Extension (Backup Manager)

Last updated on Jul 10, 2026 4:20 AM

Background & Limitations

  • No Flexible Cloud Sync: CyberPanel's default backup tools offer limited third-party support and complex configurations. Resellers and clients often need Google Drive, OneDrive, Amazon S3, Backblaze, or custom SFTP backups via rclone.
  • Disk Overflows: Without local or remote backup retention policies, backup files accumulate and fill system partitions, causing database crashes and VPS downtime.
  • Lack of Real-time Monitoring: Backup processes run silently in the background via Cron. If permission issues, cloud network errors, or disk quota failures occur, administrators remain unaware until they attempt disaster recovery.

Solution

The Backup Manager extension is an independent module that integrates deeply into the VPS scheduler to provide secure, transparent backups:

A. Flexible Rclone Integration

  • Configure cloud storage remotes directly via the GUI.
  • Package website source code, data directories, and configuration files into high-quality compressed archives.
  • Automatically upload backups to remote clouds using background runner scripts optimized for bandwidth.

B. Smart Retention Policy

  • Define retention policies by days (e.g., keep backups for only the last 7 days).
  • Automatically scan and clean up temporary archives on both local disks and cloud storage after successful uploads.

C. Multi-Channel Telegram Reports

  • Integrate Telegram Bots to send real-time notification alerts.
  • Configure unique Telegram Chat IDs for different backup tasks or website groups.
  • Report detailed stats: Backup filename, archive size (Bytes/MB/GB), task completion time, and execution status (success or failure with error codes).

Security Capabilities & Utility Value

Security Features:

  • Data Transfer Security: Leverage rclone's encrypted remotes and secure protocols (HTTPS, SFTP, SSH) to transfer files, preventing eavesdropping.
  • Zero On-Premise Waste: Delete temporary ZIP/Tar files immediately after uploading. If an attacker gains access to the VPS, they cannot find pre-packaged backups containing the database and source files.
  • Closed-loop Monitoring: Real-time alerts are sent via Telegram API rather than email (which is vulnerable to spam filters and mailbox snooping).

Utility & Operational Value:

  • Prevents Disk Bloat: The Retention Cleaner controls disk usage proactively, eliminating server crashes caused by cache or log buildup.
  • Reliable Disaster Recovery: Storing backups across independent cloud environments ensures absolute data safety in case of hardware failures or account locks.

Background Task Management

All backup tasks are scheduled periodically via Linux Cron and monitored using the core background script:

/usr/local/CyberCP/whiteLabel/extensions/poly_backup/templates/sh/backup_runner.sh

Execution logs, runtimes, and history are synchronized centrally to the system database for easy monitoring from the Settings panel.