TechBuzzPro

How to Set Up a Dedicated Server for Backups

· 7 min read · Apps & Browsers

In this article
  1. What You'll Need
  2. Step-by-Step
  3. Common Mistakes
  4. Tips
  5. Troubleshooting
  6. Frequently Asked Questions

You set up a dedicated server for backups by installing a backup application on the server, pointing it at the machines or folders you want to protect, storing the data on a separate disk or volume from the operating system, and scheduling automatic jobs with retention rules. The short version: prepare the server (updates, static IP, separate storage), install the backup software, create a repository, add clients, run a first full backup, then schedule incrementals and test a restore. Nothing here is exotic, but the order matters: storage and networking first, software second, and a verified restore before you trust any of it.

This guide assumes a Linux server (Debian or Ubuntu family) because that is the most common choice for a self-hosted backup target, but the same logic applies to Windows Server. Menu and dialog labels differ slightly between versions and distributions, so treat exact wording as a guide rather than gospel.

What You'll Need

  • A dedicated server with root or administrator access, and a static IP or a reserved DHCP lease so clients can always find it.
  • A separate disk or volume for backup data, ideally at least twice the size of the total data you plan to protect (full backups plus retention plus growth).
  • A backup application. Common self-hosted choices are Restic, BorgBackup, Veeam Agent, UrBackup, Duplicati and Proxmox Backup Server; pick one and stick with it rather than stacking several.
  • SSH keys or credentials for each client machine you will back up.
  • An off-site copy destination (another server, object storage, or rotating external drives) because a backup that lives only on the same server is not a backup.
  • A firewall you control, and a maintenance window when backups will not compete with production work.

Step-by-Step

  1. Update the server and set the basics. Run the package manager's update and upgrade commands, set the correct timezone and enable time synchronisation (systemd-timesyncd or chrony). Correct time matters because backup schedules and retention windows depend on it. Set a strong root password or, better, disable password logins over SSH and use keys only.
  2. Mount and format the backup disk. Identify the extra disk, format it with a modern filesystem, and mount it at a fixed path such as /srv/backup. Add it to /etc/fstab using the UUID rather than the device name so it survives reboots. Verify with df -h that the mount is present and has the expected capacity. Never let backup data sit on the same partition as the operating system.
  3. Create a dedicated backup user and directory layout. Make a non-root user for the backup service and give it ownership of the backup path. Use one subdirectory per client machine, for example /srv/backup/laptop-anna and /srv/backup/desktop-office. Clear naming saves hours later when you are hunting for a specific file.
  4. Install the backup application. Install it from the distribution's official repository or the vendor's official download page, not from a random mirror. Check the service starts and that its configuration file lives where the documentation says. If the tool has a web interface, bind it to localhost and reach it through an SSH tunnel until you have set up authentication.
  5. Create the backup repository. Initialise a repository on the backup disk and set a strong passphrase. Store that passphrase somewhere other than the server itself, because an encrypted repository without its key is unrecoverable. Write down the repository path and passphrase in your password manager immediately.
  6. Configure the firewall. Allow only the ports the backup software needs, and only from the addresses that need them. If clients connect over the internet rather than a VPN, put the backup service behind a VPN or an authenticated reverse proxy. Exposing a backup daemon directly to the open internet is how repositories get wiped.
  7. Add your first client and run a full backup. Install the client agent or configure the command-line client on one machine, point it at the repository, and start a manual full backup. Watch the job to completion and read the log rather than assuming success. A first full backup of a few hundred gigabytes can take hours, so start it when you have time to monitor it.
  8. Verify by restoring a file. Restore a single known file to a temporary directory and open it. This is the step almost everyone skips and the only one that proves the setup works. Do it now, while the data is fresh in your mind, not during an emergency.
  9. Schedule automatic jobs. Use the system's scheduler (cron or a systemd timer on Linux, Task Scheduler on Windows) to run incremental backups daily and a full backup weekly or monthly depending on your software's model. Stagger client start times so ten machines do not all begin at midnight and saturate the link.
  10. Set retention and pruning. Configure a retention policy such as keeping 7 daily, 4 weekly and 6 monthly snapshots, and enable automatic pruning so the disk does not fill silently. Add a check job that verifies repository integrity on a schedule, and make sure alerts go somewhere you actually read.
  11. Add the off-site copy. Sync or replicate the repository to a second location on a schedule. If your software supports it, use append-only or immutable mode on the remote copy so ransomware that reaches the server cannot delete the off-site history.
  12. Document and monitor. Write down the repository path, passphrase location, schedule, retention policy and restore procedure. Set up a simple check that emails or messages you when a job fails or when free space drops below a threshold.

Common Mistakes

The most frequent failure is storing backups on the same disk as the operating system, which means a disk failure takes both the system and its backups. The second is never testing a restore; a repository that has never been read from is an assumption, not a backup. Others include using a weak or unrecorded passphrase, exposing the backup service to the internet without a VPN, letting retention run unchecked until the disk fills and jobs start failing quietly, and backing up only one machine while assuming the schedule covers everything. Finally, many people set up backups and never check whether the jobs actually ran, so a silent failure goes unnoticed for months.

Tips

Keep the backup server minimal: fewer installed services means a smaller attack surface and fewer things to patch. Use encryption at rest for the repository even on a private network. Test a full restore to a spare machine once or twice a year, not just a single file. Label your snapshots with the client name and date so pruning decisions are obvious. Keep at least one copy offline or immutable, because a backup server that is reachable from a compromised client is itself at risk. And keep the server's own configuration in version control or a documented text file so a rebuild takes minutes rather than days.

Troubleshooting

If a job fails, start with the log: most failures are permission errors, a full disk, or a client that cannot reach the server. Check free space with df -h and confirm the backup mount is actually mounted rather than sitting empty after a reboot. If clients cannot connect, verify the firewall rules and that the service is listening on the expected interface. If a restore produces corrupt files, run the repository's integrity check before assuming the data is lost; many tools can repair metadata. If jobs are slow, check whether the first full backup is still running, whether the link is saturated, and whether compression or encryption settings are too heavy for the hardware. If the server reboots and the backup directory is empty, your fstab entry is wrong; fix it with the UUID and remount. When in doubt, restart the service, confirm the version is current, and re-read the vendor's documentation for your exact release.

Frequently Asked Questions

Do I need a separate disk for backups?

Yes, in practice. A separate disk or volume protects you from operating system corruption and lets you size storage independently, and it makes recovery far simpler.

How much storage should I plan for?

At least twice your total protected data, more if you keep long retention or many full backups. Incremental and deduplicating tools need less, but headroom prevents silent failures.

Can I back up over the internet?

Yes, but put the backup service behind a VPN or an authenticated proxy. Never expose a backup daemon directly to the open internet.

How often should I test a restore?

Restore a single file after setup and after any major change, and do a full restore to spare hardware once or twice a year.

What if I lose the repository passphrase?

The data is unrecoverable by design. Store the passphrase in a password manager and a sealed offline copy, separate from the server.

Is one backup copy enough?

No. Keep at least one off-site or immutable copy so a fire, theft, ransomware or a bad delete cannot take every copy at once.