Payments are experiencing issues due to temporary restrictions in Russia. If your payment does not go through, please submit a support request.Our support team is available 24/7 — we are always here to help with hosting and server issues.We are now accepting requests for dedicated server rental and colocation services in our data center.Reminder: we recommend enabling backups for additional data protection.A new VPS/VDS lineup with NVMe storage and improved performance is now available.Maintenance work on some servers has been completed. All services are operating normally.
Article6 min readViews2

The site occupies 16 GiB, but updates require more: how to calculate disk space reserves

Site size does not equal the space needed for updates. I show which volumes to measure separately, how to sum two thresholds, and when it is better not to start an update.

Comments 0

Illustration: a woman checks a removable drive and an empty bay before updating the site
In this article

Do not look at site size alone; look at two thresholds. For an in-place update, the minimum working reserve can be calculated as: F₁ = B + P + U + W + M. If you need to deploy a test copy nearby or keep a working area for rollback, the second threshold is higher: F₂ = F₁ + R.

Here, B is the local footprint of the new backup, P is the update package, U is temporary and unpacked files, W is site records written during the maintenance window, M is the chosen operational buffer, and R is space for a simultaneous test copy. This is not a 1C-Bitrix formula nor a universal standard for CMS platforms. It is a method to ensure you do not forget the components and can substitute measurements from your own system.

Why site size is not the answer

Suppose files and the database occupy 16 GiB, and 20 GiB is free on the partition. You cannot conclude that the update will fit. The archive may be smaller than the original data due to compression, but it appears alongside the update package, temporary files, and new data the site continues to write. If a test copy is deployed simultaneously, part of the data must be stored again.

The reverse error also occurs: taking the site file size, adding the database size, and then adding the ready archive size again, even though in the accepted model B already denotes the entire local footprint of the new copy. First, agree on what each addend measures, and do not add the same volume twice.

The vendor recommends ensuring you have a backup of the database, core, and service area before updating. The reason is practical: an update changes core files and may alter the database structure. A successfully loaded homepage after a partial update does not replace a complete copy and verification of critical scenarios.

What quantities to measure

  • B — the size of the new comparable backup that will actually take space on the server. Take the size of the completed archive, not a generic compression percentage.
  • P — the size of the uploaded update package, if it is stored locally separately.
  • U — the maximum local volume for unpacking and temporary files. If the product or provider does not report it, find out during a test run or with support; an unknown value must not be silently replaced with zero.
  • W — data growth during the maintenance window: user uploads, logs, caches, new orders, and database changes.
  • M — a buffer for measurement errors and administrative operations. It is chosen explicitly, not presented as a manufacturer coefficient.
  • R — the full working volume of a simultaneous test copy: files, database, and its temporary area. Add it only when such a copy is actually created.

In the list of 1C-Bitrix backups, the archive size and its location are shown. For the local variant, files are in the /bitrix/backup directory. This is more reliable than estimating based on the original site size: the archive already accounts for the selected components and compression.

Cloud storage does not automatically set B = 0. The documentation on backup storage specifically notes that creating a cloud backup may also generate a local copy. Check the deletion settings and the actual location of the completed archive. Deleting an old copy before the new one appears and is verified is a poor way to free up space for verifying the new copy.

Calculate for each section separately

Free space matters on the specific file system where the data will reside. GNU df reports available space on the file system containing the specified path. If the site, backup directory, and temporary area are on different partitions, a single total is insufficient: calculate a separate sum for each partition.

Here is the interesting part: a large free volume does not help if update temporary files are created on a nearly full system partition. Conversely, a local archive on a separate storage should not reduce the partition's free space for site files a second time. The path map matters more than a pretty total figure in the dashboard.

Educational calculation

Assume that site files and a logical database dump together yield 16 GiB of uncompressed data. The last comparable completed archive occupies B = 9 GiB. Other measured values are: update package P = 0.4 GiB, temporary area peak U = 1.2 GiB, expected records for the work window W = 2 GiB, and selected buffer M = 3 GiB.

For an in-place update, F₁ = 9 + 0.4 + 1.2 + 2 + 3 = 15.6 GiB. If a test copy with a working volume of R = 16 GiB must be kept nearby, the second threshold becomes F₂ = 15.6 + 16 = 31.6 GiB.

With 20 GiB of free space, the first model passes, but the second does not. This does not mean that 15.6 GiB is sufficient for a specific site: all numbers are for educational purposes. The conclusion itself is useful—the word "free" decides nothing until a scenario and measurable components are selected.

When it is better not to start an update

  • The new backup is still being created, has failed with an error, or its size and location are unknown.
  • It is unclear where the product stores the package and temporary files, and there is no support or test environment available for measurement.
  • Free space on one of the involved partitions is below the calculated threshold.
  • After the backup was created, the reserve dropped below F₁, although the update itself has not yet started.
  • The plan requires a simultaneous test backup, but the reserve passes the check only against the first threshold.
  • There is no verifiable access to the archive, password, or instructions from the responsible administrator for recovery.

The readiness criterion sounds boring but is verifiable: a fresh backup is completed and available, each local path is bound to its partition, values B, P, U, and W are taken from this environment, the selected operational reserve M is explained, and free space after creating the backup remains above the required threshold. If a simultaneous test backup is needed, the reserve also passes the check against the second threshold with R.

What to do about the lack of space

The safe procedure is to reduce the scenario itself, not remove protection. Move a verified copy to an allowed external storage and verify that the local file is actually deleted according to settings; free up space from explicitly outdated copies per the retention policy; move the test copy to a separate partition; agree on a window with a smaller W. Perform any deletion only after identifying the files and having a verified current copy.

I would start with a simple question to the administrator or hosting provider: 'Show me the five measured components for an in-place update and separately the volume of the test copy.' A response like 'there should be enough space' cannot be verified. A sum with paths and units is already grounds to make a decision or move the work.

Discussion 0

Share your experience and ask questions. Comments without links appear after editorial review.

No comments yet. Start the discussion.