cPFence v4 is now stable.

Explore v4
Enhance CP Tutorials

How to Set Up Your Enhance Server Backup VPS

Backup Vps conceptual feature illustration

Note: This guide is now outdated as Enhance v12 has been released. For the updated method to transition your backup server, follow this new guide: From BTRFS to Ext4 – A Smooth Backup Server Transition Without the Pain.

Since Enhance v12, the Backup role uses a directory on a local filesystem that supports hard links; Ext4 is suitable. New installs do not need the old raw-device formatting flow. See Enhance’s current installation instructions before preparing storage. Keep an existing backup copy until you have checked your replacement.

Enhance’s backup system makes a dedicated storage VPS useful for keeping incremental website backups. Whether you plan daily backups or a more frequent window, leave room for your retained history and check that backups actually finish. We covered the setup of the backup role in a previous post, which you can check out here.

But How Do You Prepare Your VPS Drive for Enhance Backups?

This guide walks through the VPS installation, from the provider console to the backup partition. You’ll need control of a new or disposable VPS, its console, and an administrator account. Reinstalling and repartitioning erase data—do not follow these steps on a server holding your only backups. The Btrfs backup role required a raw block device, which could be:

  • A RAID array, a single disk, an SSD, a SAN, an iSCSI volume, or a partition of any of these.
  • For that historical flow it had to be unmounted, because Enhance formatted it with Btrfs and deleted existing data. This is not the current directory-based setup.

We used AlphaVPS for this example. In November 2024 they offered a 1TB storage VPS for €4 a month; check the provider’s current plans, bandwidth and locations before ordering. The same preparation ideas apply to another provider with a console and ISO support.

Steps to Set Up Your Enhance Server Backup VPS:

The screenshots are the November 2024 AlphaVPS and Ubuntu installer screens; today’s labels and available images may differ.

  1. Order Your VPS from AlphaVPS. This example uses the 1TB plan. Size your server for the actual data, retention, growth and backup workload; a site count alone is not a reliable capacity estimate. Larger plans may be needed.
  2. Choose Location: Choose a location with suitable latency and transfer capacity for your cluster. This example uses Dallas, USA with a 10GB link. AlphaVPS storage server configuration with the location selector highlighted.
  3. Set Up DNS Records: Once you receive your VPS details, log in to your client area, retrieve your IPv4/IPv6, and set up your A/AAAA records with your hostname (e.g., bkpsrv1.yourdomain.com). You can grab the ips in the AlphaVPS client area by navigating to Product Details > Server Information > Edit Hostname.
  4. Mount the ISO: In your client area, go to Server Information > ISO. Choose an available Ubuntu 22.04 or 24.04 Server ISO and click Mount. The screenshot shows the older Ubuntu 22.04 option. Confirm the selected ISO is mounted before rebooting; no success message does not prove it worked.AlphaVPS Change ISO dialog with an Ubuntu Server image and Mount button highlighted.
  5. Set Boot Order: Go to Boot Order, select “1. CDROM 2. Hard Disk,” and save the changes. AlphaVPS boot order with CDROM before Hard Disk.
  6. Reboot and Open Console: Click Reboot, then open the noVNC Console.
  7. Language Selection: When Ubuntu Live Server starts, confirm English by pressing Enter. Ubuntu Server installer language selection with English highlighted.
  8. Installer Update: Choose “Update to the new installer” and press Enter.
  9. Keyboard Layout: Confirm the default English keyboard layout and press Enter.  Ubuntu Server installer keyboard layout settings with Done highlighted.
  10. Installation Base: Select “Ubuntu Server” and press Enter. Ubuntu installer with the Ubuntu Server installation type selected.
  11. Network, Proxy, and Mirror Configurations: Check the network matches the provider’s assigned addresses. Keep the proxy and mirror defaults if appropriate for your network, then continue. Ubuntu Server installer network configuration showing a DHCP interface.
  12. Storage Layout: On the “Guided Storage Configuration” page, choose “Custom Storage layout” by navigating with the down arrow and selecting it with the spacebar. Ubuntu Server installer with Custom storage layout selected.
  13. Format the Device: On the new or disposable VPS only, identify the installation disk (the example is /dev/vda), then choose “Reformat”. This erases the selected disk, including any existing backup data; stop if you are unsure which disk it is. Ubuntu storage configuration with the disk Reformat option highlighted.
  14. Reformat Confirmation: Confirm reformatting (this will delete all partitions). Ubuntu installer confirmation that reformatting removes all partitions from the selected disk.
  15. Partitioning: You should now see the disk as free space. Select “Add GPT Partition” for /, using 60G for the example system partition. Adjust this to your needs, select Create, and press Enter. Ubuntu storage configuration with free space selected and Add GPT Partition highlighted. Ubuntu installer creating an ext4 partition mounted at the filesystem root.
  16. Add the Backup Partition: The historical example added a second partition with the remaining space, formatted it as Btrfs and left it unmounted. For a fresh Enhance v12+ Ext4 setup, do not copy that Btrfs choice. Use a mounted Ext4 filesystem and a backup directory, following the current Enhance instructions linked above. Ubuntu installer creating a Btrfs partition with Leave unmounted selected.
  17. Review and Confirm: Double-check your settings to ensure everything matches, then confirm. Ubuntu storage summary showing the root partition and an unmounted Btrfs partition. Ubuntu installer warning that continuing will erase data on disks selected for formatting.
  18. Profile Configuration: Enter your details and make sure you save your username and password for future access. Ubuntu Server profile setup with user, server name and password fields.
  19. Skip Ubuntu Pro: Choose “Skip for now” on the “Upgrade to Ubuntu Pro” page. Ubuntu Pro setup with Skip for now selected.
  20. SSH Configuration: Select “Install OpenSSH Server” to enable SSH. Ubuntu SSH setup with Install OpenSSH server selected.
  21. Feature Server Snaps: Don’t select any options on this page and press Enter.
  22. Complete Installation: Wait for Ubuntu to install. When prompted, select “Reboot now.” Ubuntu Server installation complete with Reboot Now highlighted.
  23. Unmount the ISO: In the AlphaVPS client area, go to ISO and unmount it. AlphaVPS Change ISO dialog with Unmount highlighted.
  24. Set Boot Order: Change the boot order to “1. Hard Disk 2. CDROM,” then reboot. AlphaVPS boot order with Hard Disk before CDROM.
  25. Log In and Verify Partitions: Log in with the username and password you created. Confirm the partitions with the command below.

lsblk -f

The Btrfs installation produced output like this. Your device names, identifiers and filesystem will differ; an Ext4 setup should not match the final Btrfs line:

root@bkpsrv2:~# lsblk -f
NAME FSTYPE FSVER LABEL UUID FSAVAIL FSUSE% MOUNTPOINTS
loop0 0 100% /snap/lxd/22923
loop1 0 100% /snap/core20/1587
loop2 0 100% /snap/snapd/16292
sr0
vda
├─vda1
├─vda2 ext4 1.0 6c346889-3267-43aa-a967-c91f49ad34fa 50.5G 9% /
└─vda3 btrfs 8964c862-c31e-4cd6-9434-910e0db52248
root@bkpsrv2:~#

Recommended Optional Steps :

Enable root account (optional)

To enable root access, run:

sudo passwd root
# Set a root password, then run:
sudo sed -i '/^#\?PermitRootLogin/c\PermitRootLogin yes' /etc/ssh/sshd_config
sudo systemctl restart ssh

Add SSH key and disable password authentication

To enhance security, add your SSH key to the server and disable password authentication:

sudo sed -i '/^#\?PasswordAuthentication/c\PasswordAuthentication no' /etc/ssh/sshd_config
sudo systemctl restart ssh

Note: Add your SSH key before disabling password authentication to avoid being locked out!

Upgrade to latest Ubuntu LTS

Run these commands to upgrade to Ubuntu 24:

apt update && sudo apt -y upgrade
reboot
sudo ufw allow from YOUR_ADMIN_IP to any port 1022 proto tcp
sudo apt install update-manager-core
sudo do-release-upgrade

Replace YOUR_ADMIN_IP with your own public address, and remove the rule after the upgrade with sudo ufw delete allow from YOUR_ADMIN_IP to any port 1022 proto tcp. For the full steps, see our Ubuntu 22.04 to 24.04 upgrade guide.

Verify swap space

On systems with limited RAM, check whether swap is configured:

swapon --show
# Example only; your swap device and size may differ:
NAME      TYPE SIZE USED PRIO
/swap.img file   2G   0B   -2

An empty result means no active swap was listed. Check the provider’s setup and your workload before deciding whether to add it.

Ready to Back Up!

Once Ubuntu, access and storage are ready, add the server to Enhance and choose Add role → Backup. For the current flow, select the backup directory; the image below shows the historical Btrfs device form. Do not treat the device fields as current Ext4 instructions.

Enhance Add new role dialog with Backup selected and the device path highlighted.

You can follow our Backup role walkthrough for the historical steps and current setup pointers. Assign the intended websites and check their completed backups before relying on the new server.

Protect Your Enhance Servers with cPFence

Add cPFence v4+ server protection alongside your Enhance backup plan. Explore the Pay-Per-Website option and choose what fits your setup.

Start free trial
← Back to all articles
KEEP EXPLORING
All articles