EKSNEKS
Article

Best Practice to Do Backup on Your VPS Server

By EKSNEKS Engineering June 2026

Introduction

Running a VPS gives you full control over your infrastructure. You decide how your server is configured, how your applications are deployed, and how your data is managed. However, this freedom comes with a critical responsibility: you are fully accountable for your data.

When One Password Destroyed a 158-Year-Old Company

In 2025, a real-world case shocked the cybersecurity and business world.

A 158-year-old UK transport company, KNP, collapsed after a ransomware attack. The cause was not a complex exploit or advanced zero-day vulnerability.

It was something much simpler.

A single weak password.

According to a BBC investigation, attackers gained access to the company’s systems by guessing an employee’s password. Once inside, they executed a ransomware attack that:

  • Encrypted critical company data
  • Locked internal systems
  • Disrupted operations completely

Within days, the company was unable to function.

The result was devastating:

  • The company shut down
  • Around 700 employees lost their jobs
  • Decades of business history disappeared

No recovery. No rollback. No second chance.

Why?

Because there was no reliable backup strategy capable of restoring operations quickly.


The Brutal Reality

This story is not about hacking sophistication.
It is about operational negligence.

The attack vector was simple. The consequences were irreversible.

If KNP had implemented a proper backup strategy:

  • Systems could have been restored within hours or days
  • Operations could have resumed
  • The company could have survived

Instead, the lack of resilient backups turned a security incident into a business-ending catastrophe.


What This Means for Your VPS

If you run:

  • A SaaS
  • A WordPress site
  • A car rental platform
  • An IPTV business
  • Any production system

You are exposed to the exact same risk.

Attackers don’t care about your size.
They care about your vulnerabilities.

And most of the time, the weakest link is not infrastructure.

It’s:

  • Passwords
  • Access control
  • Missing backups

Key Lesson

Cybersecurity is not only about preventing attacks.

It is about surviving them.

And survival depends on one thing:

Your ability to restore your system fast and completely.


Many developers and business owners focus on performance, features, and scalability. They deploy fast, iterate quickly, and grow their projects. But one essential pillar is often ignored: backup strategy.

Everything works perfectly… until it doesn’t.

A single mistake, a cyberattack, or a hardware issue can erase years of work in minutes. Without a proper backup system, recovery becomes impossible.

In this article, you will learn the best VPS backup practices, understand real-world risks like ransomware, and discover how to build a resilient system that protects your business.

When One Password Destroyed a 158-Year-Old Company

In 2025, a real-world case shocked the cybersecurity world. A 158-year-old UK transport company was forced to shut down after a ransomware attack. The cause was not a sophisticated exploit or a complex vulnerability.

It was a weak password.

Attackers gained access by guessing an employee’s credentials. Once inside, they encrypted critical systems, locked internal infrastructure, and made operations impossible.

The consequences were brutal:

  • The entire company shut down
  • More than 700 employees lost their jobs
  • All operations stopped permanently

The most important detail is not the attack itself. It is what happened after.

There was no reliable backup strategy to restore the system.

No rollback. No recovery. No second chance.

This is the difference between a company that survives and a company that disappears.

Why VPS Backups Are Critical

If you run a VPS, you must assume failure will happen at some point. The real question is not “if” but “when”.

Here are the most common risks:

  • Human error (accidental deletion of files or databases)
  • Bad deployments or corrupted updates
  • Server misconfiguration
  • Hardware failure from the provider
  • Cyberattacks and ransomware

Without backups, any of these events can destroy your system permanently. With backups, they become manageable incidents.

The 3-2-1 Backup Rule

One of the most reliable strategies in IT is the 3-2-1 rule:

  • Keep 3 copies of your data
  • Use 2 different storage types
  • Store 1 copy offsite

Applied to a VPS, this means:

  • Primary data on your VPS
  • Secondary backup on another server or disk
  • Offsite backup in cloud storage

This structure ensures that even if your VPS is completely compromised, your data remains safe.

What You Must Backup on a VPS

A common mistake is backing up only part of the system. To ensure full recovery, you must include:

  • Databases (MySQL, PostgreSQL)
  • Application files and source code
  • User uploads and assets
  • Configuration files (.env, nginx, system configs)
  • SSL certificates
  • Cron jobs and scripts

Missing even one component can make recovery incomplete or impossible.

Automation Is Mandatory

Manual backups fail over time. People forget, scripts break, and priorities shift.

The only reliable approach is automation.

Use cron jobs and automated scripts to run backups on a fixed schedule:

  • Database backups daily or hourly
  • File backups daily
  • Full system snapshots weekly

Automation ensures consistency and removes human error from the process.

Offsite Backup: Your Real Protection

If your backups are stored on the same VPS, they are not safe.

In a ransomware attack, the first thing attackers do is delete or encrypt backups.

That is why offsite storage is essential.

Recommended solutions include:

  • AWS S3
  • Backblaze B2
  • Google Cloud Storage
  • Remote secured servers

Your backups must be physically and logically separated from your main server.

Encryption and Security

Backups contain sensitive data. If exposed, they can create serious security risks.

Best practices include:

  • Encrypt backups before storing them
  • Use secure transfer protocols (SSH, HTTPS)
  • Restrict access with proper permissions
  • Rotate credentials regularly

Security must be integrated into your backup strategy, not added later.

Snapshot Strategy

Most VPS providers offer snapshot features. These are useful but not sufficient alone.

Snapshots are often stored within the same infrastructure, which means they can be lost or compromised.

Use snapshots as an additional layer, not your primary backup.

Backup Frequency Strategy

Not all data needs the same frequency.

Recommended approach:

  • Databases: every hour or daily
  • Application files: daily
  • Full system: weekly

Adjust frequency based on how much data you can afford to lose.

Testing Your Backups

A backup that has never been tested is unreliable.

Many companies discover corrupted backups only when it is too late.

Best practices:

  • Regularly restore backups in a staging environment
  • Verify data integrity
  • Simulate real recovery scenarios

Testing ensures your backups will actually work when needed.

Disaster Recovery Plan

Backup alone is not enough. You need a recovery strategy.

Define:

  • RTO (Recovery Time Objective)
  • RPO (Recovery Point Objective)
  • Step-by-step recovery process
  • Responsible team members

Without a plan, recovery becomes slow and chaotic.

Common Mistakes to Avoid

  • Storing backups on the same server
  • Not automating backups
  • Never testing backups
  • Overwriting old backups without versioning
  • Ignoring encryption

Cost vs Risk

Many businesses avoid backup solutions to save money.

This is a critical mistake.

  • Backup cost: a few euros per month
  • Data loss cost: entire business

The return on investment for backups is extremely high.

Conclusion

A VPS gives you power, flexibility, and control. However, it also requires responsibility.

Backup is not optional. It is the foundation of system reliability and business continuity.

The story of companies disappearing due to lack of backups is real and ongoing.

By implementing proper VPS backup best practices, you ensure that your business can survive any incident.

At the end, the difference between failure and recovery is simple:

Do you have a working backup or not ?

About EKSNEKS

We're a software engineering company building AI systems, custom software and cloud infrastructure. Articles like this come from real client work — anonymized and generalized.