Advent Calendar Day 6: Can Claude Explain Last Night's Backup Failures?

// Table of Contents

Advent Calendar Day 6: Can Claude Explain Last Night’s Backup Failures?

Disclaimer: I’m not a professional developer, and this content is intended to demonstrate the “art of the possible” rather than serve as production-ready guidance. Use these features with caution, and test thoroughly in your environment before relying on them for critical tasks.

Welcome back to Day 6 of our Veeam Blog Advent Calendar! Yesterday we gave Claude read-only eyes on VBR with the new Backup & Replication MCP server from 13.2, and today we’re bringing in its sibling.

Remember how there are two servers in Veeam’s repo? Yesterday’s one hands Claude the REST API itself (jobs, sessions, backups and the rest) and lets Claude work it out. Today’s one hands the question to Veeam Intelligence on the VBR server and lets it do the thinking. So which one’s better at the classic morning question: what failed last night, and why?

Here’s the thing, any assistant can say something that sounds plausible. The useful test is whether it can point me to the failed session, so I can go and verify it myself.

Both of them stay read only, too. Yesterday’s server keeps its Backup Viewer account, and today’s one follows the Veeam Intelligence mode you pick in VBR, so in Advanced mode it can look but not touch. Actions like starting a job need a different mode and come with an approval step, and we’ll get to those on Day 13.

Grab your morning coffee, maybe with a shot of Bourbon, because that’s exactly where this one starts.

Two Servers, Two Approaches

  • Backup & Replication MCP server: Claude gets REST API tools for jobs, sessions, backups, restores, infrastructure and licensing, and decides which ones to call. It runs on your machine and talks straight to the REST API.
  • Veeam Intelligence MCP server: Claude asks the question, and Veeam Intelligence answers it. Veeam Intelligence is trained on Veeam’s own documentation, and in Advanced mode it can look at your backup infrastructure as well.

Yesterday’s server hands Claude 49 tools. Today’s one hands it three, and two of those are only there for approving actions. The one that matters is veeam-question-answering, and its description even tells Claude to pass your question along word for word. So with one of them Claude picks the API calls itself, and with the other it asks Veeam Intelligence and builds on the answers.

Here’s how I think of it. One’s like asking the Veeam expert on your team what happened last night. The other’s like giving someone sharp a read-only login and letting them dig through the sessions themselves. You’d trust either of them with the question, they just go about it differently!

Setting Up the Veeam Intelligence Server

Picking the Mode

First up, the mode. This one’s in the VBR web UI:

  • Log into the VBR web UI as a Backup Administrator
    • Click Configuration in the top bar, then Veeam Intelligence
    • Under Veeam Intelligence Mode, select Advanced
    • Leave Enable full administrative access unticked, and click Save

Advanced is what lets it look at your own jobs and sessions, instead of only answering questions about the product. The tick box underneath is the one that opens up the privileged operations, so for today it stays off. The MCP server reads the mode from VBR on every question, so there’s nothing to set on its side.

VBR web UI Veeam Intelligence page with the mode set to Advanced, Enable full administrative access unticked, and the message Your changes have been saved

Creating the Account

Same drill as yesterday, in Host Management on port 10443:

  • Log into Host Management as a Host Administrator
    • Navigate to Users and Roles and click Add
    • User: the name mcp-vi, a password and a description
    • Role: User
    • VBR Role: Backup Administrator

The README asks for an administrator login for this one, so it’s the Veeam Intelligence mode that keeps it read only, and not the role. Then sign in to the VBR web UI once as mcp-vi to set its password.

Here they are side by side in the VBR web UI, one for each server:

VBR web UI Users and Roles page filtered to mcp, listing mcp-vbr as Backup Viewer and mcp-vi as Backup Administrator, both with MFA Disabled

Running the Server

It’s in the same repo we cloned yesterday, so it’s just another Docker build:

bash
cd veeam-mcp-server/servers/vi-mcp
docker build -t veeam-intelligence-mcp-server .

The credentials go in their own file in ~/.config/veeam-mcp/, readable only by me, right next to yesterday’s:

ini
PRODUCT_NAME=vbr
WEB_URL=https://192.168.20.55/
ADMIN_USERNAME=mcp-vi
ADMIN_PASSWORD=<redacted>
ACCEPT_SELF_SIGNED_CERT=true

This one talks to the web UI’s address rather than the REST API port, and PRODUCT_NAME is how you’d point it at Veeam ONE or the Service Provider Console instead.

Connecting Claude

It gets a folder of its own too, with its own .mcp.json, so each session only ever has one of the two in it:

json
{
  "mcpServers": {
    "veeam-intelligence": {
      "command": "/usr/local/bin/docker",
      "args": [
        "run", "-i", "--rm",
        "--env-file", "/Users/<you>/.config/veeam-mcp/vi-mcp.env",
        "-e", "TZ=Australia/Perth",
        "-e", "NODE_OPTIONS=--network-family-autoselection-attempt-timeout=2000",
        "veeam-intelligence-mcp-server"
      ]
    }
  }
}

Two of those lines are mine, and you might not need either. TZ tells the container where I am, because containers run in UTC unless you say otherwise, and the server passes its time zone along with each question. If I’m going to ask about “since midnight”, I’d like it to be my midnight! Which being based in Australia is a real problem, as UTC midnight is 8AM my time. Now I know Perth is a bit slow, but not that slow.

The NODE_OPTIONS one is a Perth problem. My first question just sat there, and this one had me scratching my head for a minute. Opening a connection to Veeam Intelligence from here takes around 0.3 seconds, and Node only gives each address a quarter of a second before it moves on to the next one. So it never got through. Giving it two seconds sorted it straight away. Again, I know Australia is on the other end of the planet, but come on Node!

Open a session in that folder, approve the server when it asks, and that’s it.

The Morning Check

The idea’s simple: we ask both servers the same question, word for word, and see what comes back.

Which backup jobs have failed since midnight, and why did each one fail?

Veeam Intelligence went first. Claude asked before using the tool, and it showed me exactly what it was about to send:

Claude asking to use the veeam-question-answering tool, showing the question it will send: Which backup jobs have failed since midnight, and why did each one fail?

There’s my question, word for word!

And here’s what came back:

Claude's answer through Veeam Intelligence: two backup jobs failed twice each since midnight (UTC+8), Incident-Demo-VM and Incident-Demo-Priority-Zero, at 05:24 and 12:55, with the 05:24 runs put down to the VBR update and the 12:55 runs cancelled by veeamadmin

Four failed runs across two jobs, and all four match VBR: the right jobs, the right times, and my midnight. Claude asked Veeam Intelligence six times to get there. The first answer found the failures, and the rest was it working out why.

The 05:24 ones are my favorite, because I was patching the lab to 13.2 at the time, because you know YOLO, patching servers whilst jobs are actively running. Please don’t do this in Prod. The session log for those two ends with “Task failed unexpectedly”. Claude found the component upgrade that started at 05:42, saw both jobs end at the same moment at 05:44, and called the update the most likely cause. Services restart during an update, as you’d expect, and those two jobs were still running. It also told me that was its own inference, that it couldn’t confirm the restart, and where to look if I wanted to. That’s exactly what I’d want from a colleague!

Right, same question, over to the Backup & Replication server:

Claude's answer through the Backup and Replication MCP server: the same four failed runs since midnight, with the 05:24 pair put down to a probable service restart or upgrade, the 12:55 pair cancelled by veeamadmin, and the next successful run for each

Same four runs, same two causes, and it all matches VBR again. Claude made 19 calls for this one, two of which failed. It told me VBR wouldn’t let the account read the server clock (it’s a Backup Viewer, after all), so it went with midnight at UTC+8 to match the session times.

It lined up the Host Upgrade session with the two 05:24 jobs as well, and it was just as straight about it: no log record names the upgrade as the cause. Next success is the first good run after each failure, where Recovered in the last one is the most recent.

Following the Failure

Then it’s on to the follow-ups:

Why did Incident-Demo-VM fail at 12:55 today?

When did Incident-Demo-VM last succeed?

Then we open that exact session in VBR to see whether the names, times and status match.

Veeam Intelligence first again:

Claude's answer through Veeam Intelligence: Incident-Demo-VM failed because veeamadmin cancelled it at 12:58:15 while it was waiting for its Proxmox worker to boot, with a timeline from 12:55:46 to 12:58:37

It wasn’t a backup fault at all, my veeamadmin account cancelled it! The result says “Failed”, and the session log has the cancellation. Every time in that table matches VBR, right down to the worker taking 2 minutes 48 seconds to get ready, the same as it did for the 13:52 run. (Claude had a look at the Veeam KB along the way too, through a separate docs server I’ve got connected.)

And the last good run:

Claude's answer through Veeam Intelligence: Incident-Demo-VM last succeeded on December 2, 2026 at 3:31:37 PM (UTC+8), with the session ID 4a74e299-2534-4fdc-9404-e89380b3f4fa

That’s the right session, with the ID to go and find it. 15:31:37 is when it finished, and it started at 15:25:47. Claude pointed out that the answer didn’t say which one it was.

Now for the Backup & Replication server. This is where seeing the calls gets really handy:

Claude working out why Incident-Demo-VM failed, with an api get call expanded to show the path /api/v1/sessions/74fd437a-da52-47a5-bcd6-94a1c1c613e0/logs and the log records it returned

That’s Claude reading the session log for one of my Proxmox workers, straight from the REST API. And this is where it ended up:

Claude's answer through the Backup and Replication MCP server: veeamadmin cancelled Incident-Demo-VM while it was waiting for its Proxmox worker, with a timeline and the reasons it ruled out a fault

Same answer, same times, and then it went and ruled out a fault. It checked all three workers, found that the 13:52 run had waited the same 2 minutes 48 seconds, and spotted that Proxmox VMs, started by the same account at the same time, was left running and finished fine. (There’s a bit more to its answer below the screenshot, including that the log names the account but not who was using it or why. It checked the docs server for this one too.)

And the last good run:

Claude's answer through the Backup and Replication MCP server: Incident-Demo-VM last succeeded on 2 December 2026, started 15:25:47 and finished 15:31:37 (UTC+8), initiated by mcp-vbr, with the next run on 3 December at 06:00

Start, finish, how much it moved and where it went, and it even found the copy to the Vault that followed. See who started it? That’s Claude, from yesterday’s post, when I’d left Backup Administrator ticked!

So does it all hold up? Here’s that 12:55 run in the VBR web UI:

VBR web UI showing the Incident-Demo-VM run on December 2, 2026 at 12:55 PM: job started 12:55:46 PM, Waiting for available workers for 00:02:30, lab-demo-01 Operation was canceled by user veeamadmin, and Job finished with error at 12:58:15 PM

It does! Started at 12:55:46, waiting for a worker, cancelled by veeamadmin and finished at 12:58:15, the same as both answers. You can see the 05:24 failure further back in the history too, and the three good runs that came after this one.

Head to Head

So how do they compare? Same lab, same evening, same three questions:

Veeam Intelligence Backup & Replication
Right answers 3 out of 3 3 out of 3
Calls, question 1 6 19
Calls, question 2 10 18
Calls, question 3 1 3
What Claude’s doing Asking Veeam Intelligence, then following up Picking the REST API calls itself
Account Backup Administrator, with the mode keeping it read only Backup Viewer
Tools 3 49

Both of them got the jobs, the times and the causes right, and both of them were clear about which bits were in the log and which bits were an educated guess. (Claude went to the docs server twice on question 2 in both sessions, and those lookups aren’t in the counts.)

So which one would I reach for? Honestly, both, just for different things.

For the morning question, I’d start with Veeam Intelligence. You ask, it does the gathering, and Claude only needed six calls to find four failures and a sensible cause for each of them. If you’re already using Veeam Intelligence in the VBR web UI, it’s the same assistant, just wherever you happen to be working.

When I want to dig, or I need to show somebody where an answer came from, I’d go with the Backup & Replication server. You can open up any call and see the exact path Claude asked for and the records that came back. And it does all of that as a Backup Viewer!

A Few Things Worth Knowing

  • Give each server its own account. Yesterday’s server has its Backup Viewer, and the Veeam Intelligence one gets its own dedicated account without MFA, because the README lists MFA as a known issue (it names 13.0.1). That matters in this calendar, because MFA gets switched on for everyone else on Day 8!
  • A long way from the cloud? If a question sits there without an answer, check the connection before anything else. The NODE_OPTIONS line above is what fixed mine.
  • Check your Node version. If you run it with npm instead of Docker, the README asks for Node.js 24.22.1 or newer, because earlier 24.x releases have a CVE.
  • Check your license. Veeam Intelligence needs a paid license with a support contract, or an Evaluation license, so Community and NFR aren’t included. Advanced mode comes with Veeam Data Platform Advanced or Premium, or Enterprise Plus if you’re licensed per socket.
  • Mind your questions. You get 200 per license every 24 hours, which is plenty for a morning check, though Claude asked six to answer my first one! They’re sent outside your organization, as you’d expect from an online assistant, so keep anything confidential out of them.
  • Check your midnight. Both answers used mine. I’d set TZ for the Veeam Intelligence server, and on the other one Claude matched it to the session times.
  • Ask for the session. Both picked the same 15:25 run as the latest one. Veeam Intelligence gave me the session ID, and the Backup & Replication server gave me the start and finish times, so either way I could go and find it.

For the record, this was VBR 13.2.0.193, with both MCP servers built from the repo at commit deac916.

Wrapping Up

So, can Claude explain last night’s backup failures? In my lab, yes it can, and with either server. Four failed runs, two very different reasons, and when the log didn’t name the cause, both of them said so. That last bit matters the most to me, because a confident wrong answer at 7 in the morning is the last thing you need or worse at 2am when you trying to troubleshoot a P1, been there done that and having the right info on hand is critical.

This was such an epic test for me to actually have a play with this and see the true potential of what it can achieve, genuinely had a lot of fun with this one and kudos to the team for putting together these MCP servers.

See you tomorrow for Day 7, where series one gets a festive finish with Santa’s Backup Bauble, a silly little gadget that shows our backup status! ๐ŸŽ„


Stay curious, stay sharp, and as always, happy backing up! ๐ŸŽ