Docs · Guides

How Reaver Backup finds every site on your server

The agent on each host reads the same Nginx or Apache configs your web server already uses. It picks up WordPress installs and other document roots, shows them in one dashboard, and lets you add any folder that is not in those configs as a path.

The agent on each host reads the same Nginx or Apache configs your web server already uses. It picks up WordPress installs and other document roots, shows them in one dashboard, and lets you add any folder that is not in those configs as a path.

You do not maintain a handwritten site list, and you do not install a plugin inside each site.

What “discovery” means here

Reaver Backup has two parts. The dashboard is the control plane you host. A small agent runs on each web server you protect. The agent polls the dashboard for jobs. Nothing listens for inbound backup traffic on the agent.

Discovery is the inventory step. The agent looks at how Nginx or Apache is set up on that host, reports what it finds, and the dashboard turns those into sites you can schedule, back up, and restore. Backups still go to storage you control — local disk, S3-compatible storage, Backblaze B2, or another machine over SSH.

What the agent looks at

For each enabled virtual host, the agent reads roughly what the web server reads:

  1. The enabled site configs (commonly sites-enabled).
  2. The server_name (the hostname people type in a browser).
  3. The document root (root / document root — the folder with the site files).

Paths are normalized so the same directory is not listed twice.

If your panel or layout does not use a normal Nginx or Apache enabled-sites layout on that host, discovery may miss a site. That is when you add a custom path. Odd panel layouts (Plesk, cPanel, and similar) often need that step — see Agents & sites.

WordPress sites, Web sites, and paths you add

Discovery can produce more than one kind of site. Treat them as the same inventory from the operator’s point of view: same schedules, same site quota, same restore tools.

WordPress

If the document root looks like WordPress, the agent treats it as a WordPress site and reads wp-config.php for the database. That is how the dump ends up in the same snapshot as the files, without you pasting credentials by hand for every install.

Other document roots (Web sites)

A vhost that is not WordPress still has a document root. Recent agents report those too. The dashboard can add them as Web sites, with the hostname from server_name when it is available. On the first backup of a Web site, Reaver Backup asks whether you want files only, a MySQL or MariaDB dump, or an SQLite file outside the path — because there is no wp-config.php to read.

That covers static sites, custom apps, and other stacks that sit behind Nginx or Apache like any other site.

Paths you point at

Some things never show up as a clean vhost: an app under a subdirectory, a database-backed tool with files outside the web root, or a layout the scanner does not understand. On Agents, open Custom path backup and register an absolute path under a web root (for example /var/www/... or a public_html tree). You can attach an optional MySQL or MariaDB dump, and an optional SQLite file that lives outside that tree. Custom paths keep their display name; after a rescan they can still pick up a hostname when the root matches a vhost. For the full custom-path walkthrough, see Back Up Any Website, App, or Database You Host Yourself.

Discovery does not mark custom paths unreachable just because a WordPress-style scan did not list them. Dashboard cards show a Path badge for those rows.

How sites show up in the dashboard

Sites appear after install or pair discovery, or on the agent’s normal scan cycle. If the list looks empty, refresh Agents and wait a short while. You can also run Rescan sites from the dashboard; that uses the same inventory path as the periodic scan.

Default discovery timing is controlled by REAVER_DISCOVERY_INTERVAL in /opt/reaver-agent/data/agent.env (restart the agent after you change it). If a site is missing, check that the agent is online and look at journalctl for reaver-agent on the host — details in Agents & sites.

A failed scan does not wipe the inventory. When a full successful scan no longer sees a WordPress or Web site that used to be there, the dashboard can mark it unreachable (schedules and history stay; it is not hard-deleted). Manual custom paths are left alone. Empty successful scans can mark that agent’s sites stale so you notice something is off.

A normal day with discovery

You pair an agent on a server that already hosts several sites. Discovery lists the WordPress installs and the other document roots it can see. You attach storage, run one backup by hand, then set schedules.

A new client site lands on a server that already has an agent. You wait for the next scan, or hit Rescan. If it is WordPress or a normal Web root, it should appear. If it is only a folder you care about, you add the path once.

You manage a fleet across many hosts. One agent per server, one dashboard, site packs instead of logging into every control panel. Discovery is what keeps that inventory from becoming a spreadsheet.

What discovery does not do

  • It does not write Nginx or Apache configs, issue certificates, or change DNS.
  • It does not install the database server or the web server. Those must already be there if you plan to restore onto a new machine.
  • It does not replace a careful first backup. Always run one by hand and confirm a snapshot you could restore before you trust a schedule.
  • It does not mean every folder on the disk is backed up. Only discovered sites and paths you register count toward backups and your site quota.

When you should still add a path by hand

Add a custom path when:

  • The app is not behind a standard vhost on that host.
  • You need a MySQL, MariaDB, or SQLite dump that discovery cannot infer.
  • The files you care about are not the document root the vhost points at.
  • A panel layout hides the real root from a simple sites-enabled read.

After that, treat the path like any other site: destination, schedule, one manual backup, then retention.

Short answers

How does Reaver Backup find my sites?
The agent reads Nginx or Apache enabled sites for server_name and the document root. WordPress roots also get database details from wp-config.php. Other roots can show up as Web sites. Anything else, you add as a custom path.

Does it only find WordPress?
No. WordPress is found automatically when the root looks like WordPress. Other document roots can be discovered as Web sites, and any directory you point at can be registered as a path. All of them use the same schedules and site quota.

How often does the agent look again?
On its discovery interval (see REAVER_DISCOVERY_INTERVAL on the agent), and whenever you run Rescan sites from the dashboard. Pairing or installing also triggers inventory.

What if my site is not in sites-enabled?
Add it under Custom path backup on the Agents page. Give an absolute path under a web root, and optional database details if you need a dump in the same snapshot.

What happens if a site disappears from the server?
After a full successful scan, a missing WordPress or Web site can be marked unreachable so you notice. History and schedules remain. A failed scan does not clear the list. Manual custom paths are not marked stale by discovery.

Do discovered sites count on my plan?
Yes. Managed sites — WordPress, Web, or custom path — count toward your site pack. Agents themselves are not the limit.

Next step

Pair an agent (or upgrade one you already have), wait for discovery or run Rescan, then take one backup by hand before you lean on a schedule. For inventory details, custom paths, and agent env vars, read Agents & sites.

More guides