← Blog · Guides

Your Rollback Has Preconditions: Check Them Before You Need It

November 30, 2026

On 30 November 2026 Hostinger announced instant rollback for Node.js applications in its week 48 product update. In Hostinger's words: "Instant rollback switches a Node.js application back to an earlier deployment in a few seconds, without rebuilding it."

That is the headline. The sentence that follows it matters more to anyone planning for a bad release: "Hostinger keeps up to two earlier deployments available, as long as your disk and inode usage (the number of files) stay below 80%."

So, on Hostinger's own description, the fast path has two conditions: at most two earlier deployments, and a capacity line. Both figures are Hostinger's, about Hostinger's product. This article is not about their numbers. It is about the shape, which every rollback has on every platform: a rollback is a feature with preconditions, and the time to check them is before a release breaks.

A safety net that depends on the state of the account

Disk and inode usage are not settings you choose once. They move with every upload, log file, cache and build. A release that goes wrong can move them quickly: a loop that writes files, a log that grows without limit, a cache that never empties.

Hostinger's post does not say what happens to the kept deployments when usage goes above 80%, and we will not guess. The point for a buyer is the question itself. If a recovery path is only there while the account is healthy, you need to know which side of the line you are on today, and what the plan is if a bad release pushes you over it.

The preconditions every rollback has

Whatever your host calls the button, a fast rollback rests on answers to the same questions.

  • How many earlier deployments are kept? If the answer is two and you shipped three quick fixes this afternoon, the last version that really worked may already be gone.
  • How long are they kept? Some platforms put a time limit on deployment history. We covered that gate in Deploy history has a retention clock now: check yours.
  • What capacity does the mechanism need? Keeping earlier builds takes disk space and files. Ask whether there is a usage line, and what happens at it.
  • What does it bring back, and what does it leave? A rollback of application code does not undo a database migration, a changed environment variable or files your users uploaded since. Old code running against a new schema can fail in new ways.
  • Which deployment types does it cover? Hostinger says its feature works for both GitHub-based and ZIP-based deployments. Check the same for the way you deploy.

What to check on a calm day

None of this takes long when nothing is on fire.

  1. Open the deployments screen and count. How many earlier versions can you select right now? Is the last one you trust among them?
  2. Read the documentation for the conditions. Look for words like "up to", "as long as" and "for N days". Those are the preconditions.
  3. Look at your usage against any stated line. If your host gives you a shell, two commands show disk and file usage:
    df -h .    # disk space used on this filesystem
    df -i .    # inodes (number of files) used
    If it does not, the dashboard usually shows the same two figures.
  4. Mark the last release you know was good. A tag costs nothing and removes the guessing later:
    git tag -a good-2026-12-01 -m "known good in production"
    git push origin good-2026-12-01
  5. Time a full rebuild. If the fast path is missing, the slow path is a fresh build of an older commit. Know whether that takes two minutes or twenty.
  6. Write down which migrations cannot be reversed. A dropped column or a rewritten table means code rollback alone will not bring the site back.

When a release breaks production

With the checks above done, the bad day is a short list.

  1. Stop shipping. Every extra deploy can push a good version out of a short history.
  2. Decide: roll back or fix forward. If the release changed the database in a way old code cannot read, rolling back the code can make things worse. In that case a small forward fix is the safer move.
  3. Use the fast path if it is there. Pick the version you tagged as good, not simply "the previous one".
  4. If it is not there, use the manual path. Revert the commit and deploy the result as a normal release:
    git revert --no-edit <bad-commit>
    git push origin main
    This costs a full build, which is why step 5 of the calm-day list matters.
  5. Check what the release left behind. Free disk space, file counts, queued jobs and half-applied migrations do not roll back with the code.
  6. Afterwards, look at your history again. The broken release may now be one of your kept deployments. Make sure the next rollback target is a good one.

The short version

A rollback button is worth having. Read the sentence after the headline, on any host: how many versions, for how long, under what conditions, and what it brings back. Then keep a manual path you have timed, so that the day the conditions are not met is slower, not stuck.

Source, read 1 December 2026: Hostinger, "Hostinger weekly product updates: Week 48, 2026" (published 30 November 2026). The quoted sentences and the figures of two earlier deployments and 80% are Hostinger's description of its own product.