Skip to main content

Step-by-Step Guide to Deleting WHM Backups using PuTTY

Deleting backup files from the /backup directory on a VPS server through the WHM Control Panel is a simple process when using an SSH client such as PuTTY. This task is often necessary when utilizing a VPS server. To successfully delete the server backups in WHM or cPanel, it is important to use the appropriate commands. In this article, we will delve into the process of deleting the WHM Weekly/Monthly backups.

Recently, I was searching for information on how to delete the /backup folder backups from a WHM server or cPanel. Despite searching for 30 minutes, I was unable to find a satisfactory solution for my issue of limited server space. Upon examining my WHM Control Panel, I realized that I had only 10% of my 400 GB SSD space remaining.

Thus, the question arises, how can we delete the backups for all the clients and customers on the server? I investigated the issue and was unable to find a solution.

If you are looking to delete backup files from the /backup folder or the sda2 and sda3 partitions in WHM, follow these steps:

Download an SSH client, such as PuTTY. This will allow you to access your server through the SSH client.

Connect to the WHM Server using PuTTY

The following steps outline how to connect to the WHM server using PuTTY:

a. Install PuTTY and launch it.

b. Enter the hostname or IP address of your server and click "Open" to start the connection. You can keep the default options. If this is the first time connecting to the server, you will need to accept its SSH certificate.

c. Enter either "root" (if you have root access to your server) or your cPanel username.

d. Enter your password.

After logging in to your server, you can now check the disk availability in on your server using the command 

# df -h

The “df” command displays the information of device name, total blocks, total disk space, used disk space, available disk space and mount points on a file system and the df command provides an option to display sizes in Human Readable formats by using '-h' (prints the results in human-readable format (e.g., 1K 2M 3G)).


Popular posts from this blog

Cara Disable Antimalware Service Executable di Windows 10

Disadari atau tidak, Windows 10 (dan juga windows-windows lainnya) hadir dengan banyak sekali aplikasi bloatware (aplikasi yang tidak perlu-perlu amat dimiliki oleh end user). Contohnya, adalah aplikasi yang seharusnya sudah tergantikan fungsinya oleh antivirus, seperti Antimalware Service Executable . Aplikasi ini dicurigai membuat Windows 10 mengalami inefisiensi memori/RAM, memakan resource yang tinggi, dengan Load yang tinggi (tanpa limit terkadang). Nah, berikut adalah cara men-disable nya: Tekan tombol Windows + I untuk membuka apliaksi Windows Setting. Pilih icon menu Update and Security Pilih lagi menu disamping kiri Windows Security Pada jendela baru yang muncul, ada pilihan Virus & Threat protection Klik ini Lalu matikan proses Real-time protection tersebut. Dengan Regedit. Buka dialog regedit, Windows + R dan ketik ‘regedit’ Cari Folder regedit ini HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows Defender Buat sebuah DWORD baru dengan klik kanan

Setup Debian 11 Official Repository In sources.list (/etc/apt/sources.list)

When you install Debian 11 using a DVD, the OS installer sets the DVD as the source for getting packages for your system if you didn't choose to scan for network mirrors. Due to this reason, the system would ask you to insert a DVD if the disc is not present in the DVD drive when you try to install any software.  Also, the packages on DVD may not be the latest release.  So, we need to get the packages from the Internet. Media change: please insert the disc labeled 'Debian GNU/Linux 11.0.0 _Bullseye_ - Official amd64 DVD Binary-1 20210814-10:04' in the drive '/media/cdrom/' and press [Enter] The /etc/apt/sources.list file with DVD as a source would look something like below. # deb cdrom:[Debian GNU/Linux 11.0.0 _Bullseye_ - Official amd64 DVD Binary-1 20210814-10:04]/ bullseye contrib main deb cdrom:[Debian GNU/Linux 11.0.0 _Bullseye_ - Official amd64 DVD Binary-1 20210814-10:04]/ bullseye contrib main deb bullseye-security

Cara Membuat Live USB VMWare ESXi 6.7 di Linux (Debian/CentOS)

VMWare ESXi 6.7 menyediakan satu installer dalam format CDROM ISO. Dalam tutorial kali ini kita akan membuat sebuah live USB dengan menggunakan sistem Linux, misalnya Debian dan CentOS. Untuk keperluan tutorial kali ini silakan pastikan sudah ada download installer ISO ESXi 6.7 dari Siapkan satu USB Flashdisk dengan kapasitas lebih dari 1GB. Format dalam satu partisi dengan tool yang biasa dipakai dalam format partisi FAT32. Misal dengan FDISK: [sourcecode] fdisk /dev/sdX [/sourcecode] format ke FAT32: [sourcecode]mkfs.fvat -F 32 -n USB /dev/sdX1[/sourcecode] selanjutnya, kita buat USB tersebut bootable dengan syslinux. Bagi linuxnya belum ada syslinux, silakan install dulu (apt-get install syslinux atau yum install syslinux).