Security & Backups9 min read•Last updated: •By SkyRain Cloud Team

How to Set Up Automated Backups on a Dedicated Server

Everybody agrees backups matter, and most small businesses still discover too late that theirs were incomplete, out of date or impossible to restore. A deleted folder, a ransomware infection or a bad update can wipe out years of orders and customer data in minutes. Setting up dedicated server automated backups properly is the cheapest insurance your business will ever buy.

The short answer: follow the 3-2-1 rule, back up databases with proper dumps or snapshots, automate everything with a scheduler, encrypt and send copies off the server, keep a sensible retention history and test restores regularly. This guide walks through planning, tools, a sample setup and the monitoring that tells you backups are actually working.

Quick answer

To set up automated backups on a dedicated server: list what to protect (databases, files, configuration), dump databases consistently, use a backup tool such as restic or BorgBackup to create encrypted, deduplicated snapshots, schedule them with cron or systemd timers, store copies off the server (ideally in two places), apply a retention policy, alert on failures, and test restores monthly. Remember that RAID and snapshots on the same server are not backups.

Why RAID and local copies are not enough

RAID protects you when a drive fails. It does nothing when someone deletes a table, an update corrupts files or ransomware encrypts the disk, because the damage is copied to every drive instantly. A backup copy on the same server is lost if the server is lost or compromised. Real backups live somewhere else. Our guide to RAID levels explains the difference.

Dedicated server automated backups – SkyRain Cloud bare metal servers in India

The 3-2-1 rule

  • 3 copies of your data (the live data plus two backups).
  • 2 different storage types or systems.
  • 1 copy off-site, in a different location from the server.

Many businesses add one more rule: at least one copy that cannot be modified or deleted for a period (immutable or append-only), which protects against ransomware that tries to destroy backups too.

What to back up

DataExamplesHowTypical frequency
DatabasesMySQL, PostgreSQL, SQL ServerConsistent dumps or database-native backupsDaily or more, plus logs for point-in-time
Application files and uploadsWeb roots, user uploads, mediaFile-level snapshotsDaily
Configuration/etc, web server, cron, firewall rulesFile snapshots and version controlDaily and on change
EmailMailboxesFile-level or mail-aware toolsDaily
ContainersVolumes, compose filesVolume backups plus config in GitDaily
Virtual machinesProxmox/KVM guestsHypervisor backup toolsDaily or weekly

You usually do not need to back up the operating system itself if you can rebuild it from a script; back up the configuration that makes it yours. Also export anything that lives outside the server but matters for recovery, such as DNS zone files, SSL certificate details, cron schedules and the list of installed packages, so a rebuild does not depend on memory.

Backing up databases correctly

Copying database files while the database is running can produce a corrupt backup. Use the right method:

  • MySQL/MariaDB: mysqldump --single-transaction for InnoDB, or a physical backup tool for large databases.
  • PostgreSQL: pg_dump for logical backups, or base backups plus WAL archiving for point-in-time recovery.
  • Large or busy databases: back up from a replica to avoid loading the primary.

For database-heavy setups, see NVMe dedicated servers for databases.

Choosing a backup tool

Modern open-source tools make encrypted, deduplicated backups straightforward. restic and BorgBackup both create snapshots that only store changed data, encrypt everything before it leaves the server, and support many storage targets such as object storage, SFTP servers and backup services. Control panels and hypervisors often include their own backup features too.

Dedicated server automated backups: a sample setup

  1. Create a backup destination off the server, such as an object storage bucket or a second server, with credentials limited to that purpose.
  2. Install the backup tool and initialise an encrypted repository; store the encryption password in your team password manager.
  3. Write a backup script that dumps databases to a local folder, then snapshots the dump folder, application files and configuration.
  4. Schedule it with cron or a systemd timer at a quiet hour.
  5. Apply retention, for example: keep 14 daily, 8 weekly and 12 monthly snapshots.
  6. Send alerts on failure to email or chat, and a heartbeat to a monitoring service so silence is noticed too.
  7. Add a second copy in another location or provider for critical data.
  8. Test a restore on day one, then monthly.

Securing your backups

  • Encrypt backups before they leave the server.
  • Use credentials that can write new backups but not delete old ones, where your storage supports it.
  • Enable object locking or append-only mode for at least one copy.
  • Keep the encryption key somewhere other than the server, such as a team password manager and a sealed offline copy.
  • Restrict who can read backups; they contain the same sensitive data as the live server.
  • Review access to the backup destination whenever staff change.

How much data can you afford to lose?

Backup frequency should follow a business decision, not a default. Ask: if the server failed right now, how many hours of orders, bookings or edits could we afford to re-enter or lose? That number is your recovery point objective. If the answer is "a day", nightly backups are enough. If it is "an hour", you need hourly database backups or continuous log archiving. If it is "nothing", you need replication to a second server in addition to backups. Write the answer down for each system, because a blog and a payment ledger rarely deserve the same treatment.

What backups cost

Backup storage is usually inexpensive compared with the data it protects. Deduplication means daily snapshots only store what changed, so a few hundred gigabytes of live data might need only modestly more in the backup repository even with months of history. The larger cost is the time to set it up properly once and to test restores each month. Put both in your hosting budget; our list of hidden costs of dedicated hosting includes backup storage for this reason.

Test restores, or you do not have backups

A backup is only proven when you restore from it. Each month, restore a random file and a full database to a test location and check they work. Once or twice a year, rehearse a full server rebuild from backups and time it. That number is your real recovery time, and it feeds directly into disaster recovery planning.

A hypothetical rescue

A small online retailer's developer runs a migration script against the live database instead of staging, wiping three months of order notes. The nightly restic snapshot includes a consistent database dump from 2 a.m. The team restores it to a separate database, exports the missing notes and merges them back in under an hour. Because the restore had been tested the month before, nobody had to work out the steps under pressure. Afterwards they add a rule: migration scripts must run against a fresh copy of production on staging first.

Backup mistakes

  • Backups stored only on the same server or disk.
  • Copying live database files instead of proper dumps.
  • No alert when a backup job fails silently for days or weeks.
  • Encryption keys stored only on the server being backed up.
  • Never testing a restore, so the first real attempt happens during an emergency.
  • Retention so short that a slowly noticed problem is copied into every backup.

Backups also belong in your first-day setup; see how to secure a dedicated server.

Why businesses choose SkyRain Cloud dedicated servers

SkyRain Cloud dedicated servers give your backup plan a solid source to protect:

  • Indian data centers, Indian latency. Intel Xeon dedicated servers are hosted in Mumbai and Delhi, close to customers across India.
  • The whole machine is yours. 100% unshared hardware: no other tenants competing for CPU, memory or disk.
  • DDoS protection included on the network, so a flood aimed at your IP does not have to become your problem alone.
  • Full control. Root or Administrator access plus iLO/IPMI out-of-band management to reboot, reinstall or mount your own ISO.
  • Real support channels. 24/7 support tickets, WhatsApp and a Discord community, plus a public status page.
  • Simple billing. Monthly billing in rupees with UPI, net banking and cards.

Frequently Asked Questions

How often should I back up a dedicated server?
Most businesses back up databases and files at least daily. Busy stores and SaaS products often add more frequent database backups or continuous log archiving for point-in-time recovery.
Is RAID a backup?
No. RAID protects against drive failure, but deletions, corruption and ransomware affect all drives at once. Keep separate off-site backups.
Where should I store server backups?
Somewhere other than the server: object storage, a second server in another location, or a backup service. Keep at least one copy off-site and ideally one that cannot be deleted for a period.
What is the best backup tool for Linux servers?
Popular open-source choices include restic and BorgBackup, which offer encryption and deduplication. Control panels and hypervisors also include backup tools.
How do I know my backups work?
Restore from them. Test restoring a file and a database monthly, and rehearse a full rebuild once or twice a year. Also alert on failed or missing backup jobs.
Does SkyRain Cloud back up my dedicated server?
SkyRain Cloud dedicated servers are unmanaged, so backups are set up by you. You get full root access to run any backup tool and send copies to the storage of your choice.

Conclusion

Dedicated server automated backups are simple once planned: follow 3-2-1, dump databases properly, use an encrypted snapshot tool, schedule and monitor it, store copies off the server and test restores regularly. Do it this week, before you need it.

Start with fast, reliable hardware in the plans below, or read the full specs on our dedicated server page.

SkyRain Cloud Dedicated Server Plans

Unshared Intel Xeon bare-metal servers in Mumbai and Delhi data centers with 1 Gbps connectivity. Every plan includes iLO / IPMI out-of-band management, DDoS protection, Full root / Administrator access, Additional IPv4 addresses available and Billed monthly.

PlanCores / ThreadsRAMStorageNetworkPriceGood forBuy
Business
2× Intel Xeon E5-2699 v4 (Mumbai / Delhi)
44 / 88 (2.2 GHz base, 3.6 GHz turbo)128 GB DDR4 ECC1 TB NVMe SSD1 Gbps₹17,999/monthBusiness websites, stores, databases, ERP and many client sitesOrder
Enterprise
2× Intel Xeon Platinum 8269CY (Mumbai / Delhi)
52 / 104 (2.5 GHz base, 3.8 GHz turbo)128 GB DDR4 ECC1 TB NVMe SSD1 Gbps₹19,999/monthVirtualization hosts, large databases, SaaS and container platformsOrder
CustomMore RAM or storage, a second server for failover, or several servers for a cluster: quoted by the team.Clusters, failover pairs, unusual specsAsk

Prices are monthly in INR as listed on the SkyRain Cloud store (verified 2026-11-23). Live stock and final price are shown at checkout.

Instant UPI • ₹649/mo
Fast KVM Cloud Provisioning