WPCloudDeploy Documentation

Disk Quotas

You can set disk quotas for a site and control what happens to the site when the quota is exceeded.

You can disk quotas globally or individually for a site.

You can also set a quota for all new sites.


Set Disk Quota For a Single Site

  • Go to WPCloudDeploy → WordPress Sites
  • Scroll down to the site you want to work with
  • Click on the TITLE/DOMAIN NAME (usually the first or second column)
  • Look for the QUOTAS & LIMITS metabox on the right hand side of the screen
  • Set the quota in megabytes (eg: 1024)
  • Click the UPDATE button on the upper right of the screen.

Set Default Disk Quota For All Sites

If you want all your sites to have the same quota you can do so in the settings area.

  • Go to WPCloudDeploy → Settings
  • Click on the APP:WORDPRESS SETTINGS tab
  • On the left side click on the SITES tab
  • Under the DISK QUOTA section, enter a value for the field labeled QUOTA FOR SITES WITHOUT A QUOTA
  • Click the SAVE SETTINGS button at the bottom of the screen.

This option applies to all sites that do not have a separate quota set – i.e.: any site with a zero quota.

Setting this value to zero will disable it and is the default value for new WPCD installations.


Set a Disk Quota For All New Sites

You can automatically have a disk quota stamped on each new site.

  • Go to WPCloudDeploy → Settings
  • Click on the APP:WORDPRESS SETTINGS tab
  • On the left side click on the SITES tab
  • Under the DISK QUOTA section, enter a value for the field labeled QUOTA FOR NEW SITES
  • Click the SAVE SETTINGS button at the bottom of the screen.

This option will apply a quota value to all new sites and will be visible in the site’s QUOTAS & LIMITS metabox on the right hand side of the site detail screen.


Password Protect Site When Quota is Met or Exceeded

You can password protect a site when the quota has been exceeded as follows:

  • Go to WPCloudDeploy → Settings
  • Click on the APP:WORDPRESS SETTINGS tab
  • On the left side click on the SITES tab
  • Under the DISK QUOTA section, check the box for PASSWORD PROTECT SITE WHEN QUOTA EXCEEDED
  • Click the SAVE SETTINGS button at the bottom of the screen.

Note: Do not use this option in combination with the Disable option covered in the next section below.


Disable Sites When Quota is Met or Exceeded

You can disable a site when the quota has been exceeded as follows:

  • Go to WPCloudDeploy → Settings
  • Click on the APP:WORDPRESS SETTINGS tab
  • On the left side click on the SITES tab
  • Under the DISK QUOTA section, check the box for DISABLE SITE WHEN QUOTA EXCEEDED
  • Click the SAVE SETTINGS button at the bottom of the screen.

Note: Do not use this option in combination with the Password Protect option covered in the section immediately above.


Apply An Admin Lock When Quota is Met or Exceeded

An admin lock prevents users / customers who have access to the front-end dashboard from making changes there.  It does not prevent them from viewing the site or logging into it.

You can apply an admin lock to a site when the quota has been exceeded as follows:

  • Go to WPCloudDeploy → Settings
  • Click on the APP:WORDPRESS SETTINGS tab
  • On the left side click on the SITES tab
  • Under the DISK QUOTA section, check the box for APPLY ADMIN LOCK WHEN QUOTA EXCEEDED
  • Click the SAVE SETTINGS button at the bottom of the screen.

Quota Alerts

You can setup alerts when quotas are exceeded under the SERVER ALERTS → PROFILES screen.  And you can view recent alerts under SERVER ALERTS → NOTIFICATIONS.

Get more information about how to use and configure alerts in our Alerts Documentation.


Disk Quotas & Site Expiration

You can combine Disk Quotas & Site Expirations in an interesting way.

You can set a site expiration when a quota is exceeded – example, 30 days.  This allows the site to stay up for a period of time after the quota is exceeded.  Then, when the expiration date arrives, stricter expiration rules can apply (such as deleting the site or locking it.)


Related Articles


Important Notes

  • Quotas are evaluated once a day when callbacks are run and data is pushed from servers to the plugin.
  • If your use case is such that you need regular alerts on disk usage then you should use the alerts functions with MONIT that are available under a server’s HEALING tab.

 

Share: