Cleanup Backuply Local Backups to Free Disk Space

Problem:
Backuply occasionally keeps local .tar.gz backup files even after uploading them to a remote destination. Over time, this can fill up server storage, causing Backuply to stop functioning properly.

Solution:
The c-backuply.sh script safely removes these local backups to free up disk space and restore normal Backuply operation.


Steps to Clean Up Backups

  1. Download the cleanup script:

curl -fsSL -O https://scripts.cpanelcentral.com/c-backuply.sh
  1. Make it executable:

chmod +x c-backuply.sh
  1. Run the script:

bash c-backuply.sh

Key Features

  • Deletes local .tar.gz Backuply backups larger than 10MB.

  • Displays a progress bar and filenames while deleting.

  • Reports freed disk space only if files were removed.

  • Restarts the web server (LiteSpeed, Apache, or Nginx) only if backups were deleted.

  • Ensures safe execution on cPanel, DirectAdmin, or Webuzo servers as root.

This cleanup prevents storage overflow, ensuring Backuply continues to run reliably.

  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

How to Install Backuply Server on RHEL/Ubuntu

Overview Backuply Server is a modern backup utility designed to simplify the process of backing...

How to Disable the VirtIO Balloon Driver on a KVM VPS

Overview The VirtIO Balloon driver (virtio_balloon) is a memory management component used by...

The PACKAGE Could Not Be Found - Error in Softaculous

Overview When attempting to install WordPress through Softaculous, you may encounter the...