As you are probably aware, DVI allows you to keep some backups locally on your server. This makes it a snap to restore to a known checkpoint.
However, those backups take disk space. And, sometimes you might want to know which site backups are using the most space.
Here is how you can get this information:
Step 1: SSH Into Your Server #
You need to run the linux du command directly on the server which means SSH.
So, login to your server as root/sudo via ssh.
Learn more about ssh logins for DevelopVIDeploy servers
Step 2: Navigate To The DVI Backups Folder #
cd ~/wp-backup
If you get an error try one of the following instead:
cd /root/wp-backup
or
sudo cd /root/wp-backup
Step 3: Run This DU Command #
sudo du -sh *
The output should look something like this:
1.7G domain1.com 8.8G domain2.com 3.6G domain3.com 129M domain4.com 21G domain5.com 5.0G domain6.net 18G domain7.com 5.9G domain8.com
The first column contains the size of the folder – in the above example domain1.com is using 1.7 gigabytes of backup space and domain2.com is using 8.8 gigabytes [of backup space]. Domain4.com is only using 129 megabytes.
You’ll notice that the output isn’t sorted by size. To get a sorted output, use this instead:
sudo du -sh * | sort -h
More Topics In Articles #
- A Guide to SPF, DMARC & DKIM for WordPress
- WordPress POST Object Attributes and Variables
- Our Release Cycle: Fast Ring & Slow Ring Releases
- Sizing Your WordPress Servers
- Deployment Options For DVI
- Add Your Existing SSH Key To A Root User Account
- All About WP Crons
- Setup Low Disk Space Alerts
- Identify The Largest Files In The WordPress Uploads Folder
- Identify The Largest Sites On Your Server
- SSL Rate Limits
- Unable To Create Files (Even With Available Diskspace)
- Managing Linux Updates
- How To Lock A Linux User
- All About Ubuntu LTS Versions
- Rapid Reset HTTP/2 & DevelopVIDeploy