Skip to content
AutoRPO

Installation

AutoRPO runs on its own standalone Proxmox VE 9 host: a small dedicated server, or a VM on your existing hardware with nested virtualisation turned on. It restores your backups there, so test copies never appear in your production cluster.

Before you start #

You need a standalone Proxmox VE 9 host, root access to it, and Proxmox Backup Server 3 or 4 reachable on port 8007 (or a Hyper-V share; see Hyper-V sources). The full list of minimum and recommended specs, network ports and what can be tested is on Requirements.

Install the package #

AutoRPO is a Debian package from the AutoRPO apt repository. On the Proxmox host, as root:

mkdir -p /etc/apt/keyrings
curl -fsSL https://apt.autorpo.com/autorpo.gpg -o /etc/apt/keyrings/autorpo.gpg
printf 'Types: deb\nURIs: https://apt.autorpo.com\nSuites: stable\nComponents: main\nSigned-By: /etc/apt/keyrings/autorpo.gpg\n' > /etc/apt/sources.list.d/autorpo.sources
apt update
apt install autorpo

Each line pastes cleanly into the Proxmox web interface's Shell. The Download page shows how to check the signing key.

If apt update fails with a 401 error for enterprise.proxmox.com, the host has the Proxmox enterprise repository turned on without a subscription. Turn it off, or switch to the no-subscription repository, under Updates → Repositories in the Proxmox web interface. This has nothing to do with AutoRPO.

The package installs:

Path What it is
/opt/autorpo/ The program (compiled; no source code)
/etc/autorpo/config.toml Listening address, port and data folder only
/var/lib/autorpo/ Database, keys, screenshots, Restore Evidence Reports and nightly backups of AutoRPO
autorpo user and two services The web interface runs as the unprivileged autorpo user; a separate root service does the restores and has no network port

It also installs cifs-utils and ntfs-3g if they're missing (used only for Hyper-V shares).

Both services start straight away, and apt install ends by printing a one-time setup link. Everything AutoRPO adds to the host and to PBS is listed in What AutoRPO changes on your host.

Finish setting it up in a browser:  https://<host IP>:8443/setup?token=<one-time token>

Web access settings: address, port, HTTPS certificate and sign-in timeoutSettings → Security: web address, port and certificate

The link uses the host's IP address, so it works even if your DNS doesn't know the host's name. Only someone with that token can create the first admin account, so the setup page is never open to whoever finds it first. If you lose the link, print a new one on the host:

autorpo setup-token

AutoRPO serves the host's Proxmox certificate on port 8443, so your browser shows the same certificate warning (or not) as it does for the Proxmox web interface. You can upload your own certificate in Settings → Security once setup is finished.

Keep AutoRPO off the internet. The host holds full copies of the servers it tests, including domain controllers and databases, and the keys for any encrypted backups you upload. Reach it from your own network or over a VPN. Don't forward a port to it or publish it through a reverse proxy, and limit who can reach port 8443 with your firewall.

Continue with the setup wizard.

Useful commands on the host #

Command What it does
autorpo check Host safety checks and connectivity
autorpo setup-token Prints a fresh setup link
autorpo support-bundle AutoRPO's own recent errors and its version for support, with your systems' names, addresses and paths taken out
autorpo web-reset Returns to the config file's address, port and certificate if a change locks you out; then run systemctl restart autorpo-web
autorpo user reset-password <email> A one-time password for a locked-out account
autorpo update Installs the newest release your licence covers; AutoRPO switches to it once no restore is copying

Removing AutoRPO #

apt remove autorpo removes the program and keeps your settings and history; apt purge autorpo removes those too. Test copies, the isolated bridge, the arpo- storage entries, the PBS user and the autorpo user are left in place; What AutoRPO changes on your host shows how to remove them.