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
-
Download the cleanup script:
curl -fsSL -O https://scripts.cpanelcentral.com/c-backuply.sh
-
Make it executable:
chmod +x c-backuply.sh
-
Run the script:
bash c-backuply.sh
Key Features
-
Deletes local
.tar.gzBackuply 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.
