Backup validation

I’m implementing a backup solution using the linuxserver Docker image, and my question is:

How do I intercept a backup when the error is:

“2025-11-14 08:55:54 -03 - [Warning-Duplicati.Library.Main.Operation.Backup.FileEnumerationProcess-PathNotFound]: Excluding path due to path not found: /mnt/backups/cliente-01/\nDirectoryNotFoundException: Could not find a part of the path ‘/mnt/backups/cliente-01’.”

From what I understand, the directory wasn’t found. I forced this alert because I turned off the client’s VPN to simulate a crash! That’s where I need to act. I want to try again if the backup ends with “Warning or Error,” because if the VPN re-establishes the connection, the backup will complete successfully.

You personally? Notification is easy. Automatic retry at the backup level is harder, depending on how you run. CommandLine and cron might be easier, but doesn’t sound very Docker friendly to me unless possibly you run job using ServerUtil.

This sounds like it runs the risk of an infinite (or long) loop depending on how quickly the VPN comes back, or whether there’s a non-VPN-related problem.

That’s a fair point about the risk of infinite loops. I’ve found that instead of a blind auto-retry, setting up a notification via something like Apprise or Gotify is usually safer. That way you know it failed because of the VPN, but you don’t end up with a hung process trying to hammer a dead connection all night!