Monday, November 30, 2026

Extending Veeam SureBackup with a Linux Helper Appliance

Veeam Software Appliance does not allow you to do as deep tests with SureBackup as you are able to do with Windows based Backup & Replication, due to fact that appliance is hardened and you cannot install any extra tools to it. So I built a workaround that allows you to test applications even when you are using Veeam Software Appliance. 


In this blog post, I show how you can do database-aware SureBackup testing on the Veeam Software Appliance with a small Rocky Linux helper, SSH and two query tools. 


DISCLAIMER: This is not supported by Veeam. It is a personal lab proof of concept, not a Veeam solution or product. Use this guide at your own risk, and test it in a lab before you go anywhere near production. 

You are also expected to know how SureBackup testing works, this is not a guide to setup SureBackup. Documentation for SureBackup can be found from: https://helpcenter.veeam.com/docs/vbr/userguide/surebackup_recovery_verification.html?ver=13

Lab background 

Before we start building, here's the lab this post is based on. You'll need to swap these names and addresses for your own, but it hopefully helps to understand what I have done. 

Demo application in my lab 

LabApp is a small virtual machine that runs a test application. Once a minute it writes a timestamp row to two databases, one on PostgreSQL and one on Microsoft SQL Server. This gives us data that keeps changing, so we can check more than "the database started". We can also check that it holds recent data and that new rows keep arriving. 

Both database engines use the same layout: 

Database name: testdb PostgreSQL table: test_log 
MSSQL table: dbo.test_log 
Timestamp column (both engines): created_at 
LabDB is the server that hosts both database engines. It's the machine we actually want to verify with SureBackup. 

The machines and addresses:

Veeam Backup & Replication (Veeam Software Appliance): 10.10.10.70 
SureBackup Virtual Lab proxy appliance: 10.10.10.80 
Rocky Linux helper appliance (built in this post): 10.10.10.75 
LabDB (PostgreSQL and MSSQL): 10.10.11.101 
LabApp (test application): 10.10.14.25 

The Virtual Lab I created for the SureBackup job has two isolated networks, matching production: 10.10.11.0/24 for LabDB and 10.10.14.0/24 for LabApp. 

Since I don't even run ping tests with my SureBackup job, the only network that matters from outside the lab is the database network. Its masquerade network is 10.255.253.0, so inside the running lab, LabDB can be reached at 10.255.253.101. The Virtual Lab proxy at 10.10.10.80 translates that address back to 10.10.11.101 inside the isolated network. 

Rocky Linux helper appliance is not part of the Virtual Lab. It stays in the production network and reaches LabDB only through the masquerade address. That's why the static route covered later in this post is mandatory. 

Why startup order matters 

The database check doesn't just look for rows. It looks for recent rows. If only LabDB were started in the Virtual Lab, the newest rows would be as old as the backup, and the check would fail as soon as the restore point was more than a few minutes old. 

That's why LabApp has to start first. Once it's running inside the lab, it writes a fresh timestamp every minute to the restored databases on LabDB. When SureBackup gets to LabDB and runs our scripts, new rows have already arrived, and the check confirms the recovered database works end to end, not just that it boots.  

In practice, LabApp goes before LabDB in the SureBackup startup order, and LabDB's custom test scripts run only after LabApp is up and writing data. 

The idea 

Veeam Software Appliance is hardened, and I cannot install database clients on it. So the appliance only does the minimum: SureBackup runs a small wrapper script, the wrapper connects over SSH to a Linux helper appliance, and the helper runs the actual database query against the recovered VM. 

SureBackup job (passes %vm_ip%)  
 -> wrapper script on Veeam Software Appliance  
 -> SSH -> Rocky Linux helper appliance  
 -> static route -> Virtual Lab proxy (masquerade IP)  
 -> recovered database VM 

The helper stays outside the Virtual Lab. It is not in the Application Group and it is never restored from backup. 

A word about the scripts 

The scripts in this post are purposely not built securely. Database credentials are written in plain text inside the helper scripts, host key checking is turned off and the SSH key has no passphrase. That is a deliberate choice: the goal is to keep everything as simple as possible and prove the concept. Treat this as a proof of concept, not a market-ready product. If you take the idea further, use a read-only database login at the very least, and harden credential handling and SSH trust. 

Part 1: Build the helper appliance 

My helper is a Rocky Linux 9.6 VM (2 vCPU, 2 GB RAM, 16 GB disk) with a static IP in the same production network as the Virtual Lab proxy appliance. The Veeam Software Appliance must reach it on TCP 22. 

Patch it, make sure SSH is enabled and create a user and folder for the checks (sbcheck is just my example name): 

sudo dnf -y update 
sudo dnf -y install openssh-server curl 
sudo systemctl enable --now sshd 
sudo useradd -m sbcheck 
sudo -u sbcheck mkdir -p /home/sbcheck/scripts 

You might also want to use passwd to set password for your sbcheck user. 

Install the PostgreSQL client (psql). The AppStream version is fine for simple queries:
sudo dnf -y install postgresql
psql --version
Install the SQL Server command-line tools (sqlcmd) from the Microsoft repository:
curl -sSL https://packages.microsoft.com/config/rhel/9/prod.repo | sudo tee /etc/yum.repos.d/mssql-release.repo
sudo ACCEPT_EULA=Y dnf -y install mssql-tools18 unixODBC-devel
/opt/mssql-tools18/bin/sqlcmd -?

Helper check scripts 


Each script takes the database address as its first argument, prints an OK or FAIL line and exits 0 only when the test passes. My example checks that a table has at least 10 rows and that the newest row is no older than 15 minutes. Replace the query with whatever proves health for your application. 

/home/sbcheck/scripts/check-postgresql.sh:
#!/usr/bin/env bash
#REMEMBER TO CHANGE VARIABLES
TARGET="$1" DB_PORT="5432" DB_NAME="testdb" DB_USER="postgres" DB_PASS="password" TABLE="test_log" TS_COLUMN="created_at" MIN_ROWS=10 MAX_AGE_SECONDS=900 if [[ -z "$TARGET" ]]; then echo "FAIL: Target IP was not supplied" exit 1 fi DB_URI="postgresql://$DB_USER:$DB_PASS@${TARGET}:$DB_PORT/$DB_NAME" RESULT=$( psql \ --no-psqlrc \ --quiet \ --tuples-only \ --no-align \ --set ON_ERROR_STOP=1 \ --dbname="$DB_URI" \ --command=" SELECT COUNT(*)::text || '|' || COALESCE( EXTRACT(EPOCH FROM (CURRENT_TIMESTAMP - MAX(created_at)))::bigint::text, 'NULL' ) FROM ( SELECT "$TS_COLUMN" FROM "$TABLE" ORDER BY "$TS_COLUMN" DESC LIMIT "$MIN_ROWS" ) AS latest_rows; " 2>&1 ) PSQL_RC=$? if [[ $PSQL_RC -ne 0 ]]; then echo "FAIL: PostgreSQL query failed" echo "$RESULT" exit 1 fi RESULT=$(printf '%s' "$RESULT" | tr -d '[:space:]') IFS='|' read -r ROW_COUNT AGE_SECONDS <<< "$RESULT" if [[ ! "$ROW_COUNT" =~ ^[0-9]+$ ]]; then echo "FAIL: PostgreSQL returned an invalid row count: $ROW_COUNT" exit 1 fi if [[ ! "$AGE_SECONDS" =~ ^-?[0-9]+$ ]]; then echo "FAIL: PostgreSQL returned an invalid timestamp age: $AGE_SECONDS" exit 1 fi if [[ "$ROW_COUNT" -ne 10 ]]; then echo "FAIL: PostgreSQL returned $ROW_COUNT rows; expected 10" exit 1 fi if [[ "$AGE_SECONDS" -lt 0 ]]; then echo "FAIL: Newest PostgreSQL row is in the future by $((-AGE_SECONDS)) seconds" exit 1 fi if [[ "$AGE_SECONDS" -gt "$MAX_AGE_SECONDS" ]]; then echo "FAIL: Newest PostgreSQL row is $AGE_SECONDS seconds old; maximum is 900 seconds" exit 1 fi echo "OK: PostgreSQL returned 10 rows and newest row is $AGE_SECONDS seconds old" exit 0
/home/sbcheck/scripts/check-mssql.sh:
#!/usr/bin/env bash

TARGET="$1"

if [[ -z "$TARGET" ]]; then
    echo "FAIL: Target IP was not supplied"
    exit 1
fi

#REMEMBER TO CHANGE VARIABLES
SQL_SERVER="${TARGET}"
SQL_DATABASE="testdb"
SQL_USER="sa"
SQL_PASSWORD="password"
SQL_TABLE="dbo.test_log"
SQL_COLUMN="created_at"
MIN_ROWS=10
MAX_AGE_SECONDS=900


RESULT=$(
    sqlcmd \
        -S "$SQL_SERVER" \
        -d "$SQL_DATABASE" \
        -U "$SQL_USER" \
        -P "$SQL_PASSWORD" \
        -C \
        -b \
        -h -1 \
        -W \
        -Q "
            SET NOCOUNT ON;

            WITH latest_rows AS
            (
                SELECT TOP (10) "$SQL_COLUMN"
                FROM "$SQL_TABLE"
                ORDER BY "$SQL_COLUMN" DESC
            )
            SELECT
                CONCAT(
                    COUNT_BIG(*),
                    '|',
                    COALESCE(
                        CONVERT(
                            varchar(30),
                            DATEDIFF_BIG(SECOND, MAX("$SQL_COLUMN"), SYSDATETIME())
                        ),
                        'NULL'
                    )
                )
            FROM latest_rows;
        " 2>&1
)

SQLCMD_RC=$?

if [[ $SQLCMD_RC -ne 0 ]]; then
    echo "FAIL: SQL Server query failed"
    echo "$RESULT"
    exit 1
fi

RESULT=$(printf '%s\n' "$RESULT" |
    sed '/^[[:space:]]*$/d' |
    tail -n 1 |
    tr -d '[:space:]')

IFS='|' read -r ROW_COUNT AGE_SECONDS <<< "$RESULT"

if [[ ! "$ROW_COUNT" =~ ^[0-9]+$ ]]; then
    echo "FAIL: SQL Server returned an invalid row count: $ROW_COUNT"
    echo "Raw result: $RESULT"
    exit 1
fi

if [[ ! "$AGE_SECONDS" =~ ^-?[0-9]+$ ]]; then
    echo "FAIL: SQL Server returned an invalid timestamp age: $AGE_SECONDS"
    echo "Raw result: $RESULT"
    exit 1
fi

if [[ "$ROW_COUNT" -ne "$MIN_ROWS" ]]; then
    echo "FAIL: SQL Server returned $ROW_COUNT rows; expected $MIN_ROWS"
    exit 1
fi

if [[ "$AGE_SECONDS" -lt 0 ]]; then
    echo "FAIL: Newest SQL Server row is in the future by $((-AGE_SECONDS)) seconds"
    exit 1
fi

if [[ "$AGE_SECONDS" -gt "$MAX_AGE_SECONDS" ]]; then
    echo "FAIL: Newest SQL Server row is $AGE_SECONDS seconds old; maximum is 900 seconds"
    exit 1
fi

echo "OK: SQL Server returned 10 rows and newest row is $AGE_SECONDS seconds old"
exit 0

Part 2: Static routing is mandatory 

During a SureBackup run the recovered VM is reachable from outside only through its masquerade address (10.255.253.x in my lab), and only via the Virtual Lab proxy appliance. Veeam adds that route on the backup server automatically, but the helper appliance gets no such help. Without a static route the helper sends the traffic to its default gateway and every test times out, even though the lab is healthy. The static route on the helper is not optional. 

Test with a temporary route first. The output of ip route get must show the Virtual Lab proxy as next hop:
sudo ip route add <masquerade-network>/<prefix> via <virtual-lab-proxy-production-ip>
ip route get <masquerade-ip-of-db-vm>
Then make it persistent with NetworkManager (find the connection name with nmcli connection show):
sudo nmcli connection modify <connection-name> +ipv4.routes "<masquerade-network>/<prefix> <virtual-lab-proxy-production-ip>"
sudo nmcli connection up <connection-name>
If you change or rebuild the Virtual Lab, the route on the helper has to change with it. 

Part 3: Create SSH keys

For connection from Veeam Software Appliance to our Helper Appliance, we need to create a ssh-key and copy it temporarily to your workstation. To create ssh-key, run following commands as sbcheck user (or whatever user account you are using):
ssh-keygen -t rsa -b 4096 -f ~/dbcheck_rsa -N "" -C "vsa-surebackup"
mkdir -p ~/.ssh && chmod 700 ~/.ssh
cat ~/dbcheck_rsa.pub >> ~/.ssh/authorized_keys
chmod 600 ~/.ssh/authorized_keys
After creating keys, use WinSCP or similar tool to copy dbcheck_rsa to your workstation, we will copy it to Veeam Software Appliance on next step. 


Part 4: The minimum on the Veeam Software Appliance 

The appliance side is one SSH key and two small wrapper scripts. Nothing is installed. 

Create the wrapper scripts 

The wrappers are the only scripts that live on the Veeam Software Appliance. They receive the masquerade address from SureBackup, call the right check on the helper and pass the exit code back.  Remember to set IP-address of helper appliance on script! When you create script files, make sure to use Unix style End Of Line (LF) instead of Windows style (CR LF). 

Adjust variables to match your environment

check-postgresql.sh 
#!/usr/bin/env bash

TARGET_IP="$1"

SSH="/usr/bin/ssh"
KEY="/var/lib/veeam/scripts/RemoteScript/dbcheck_rsa"
#REMEMBER TO CHANGE YOUR HOST IP
HOST="sbcheck@10.10.10.75" REMOTE_SCRIPT="/home/sbcheck/scripts/check-postgresql.sh" if [[ -z "$TARGET_IP" ]]; then echo "FAIL: SureBackup did not supply target IP" exit 1 fi "$SSH" \ -n \ -i "$KEY" \ -o IdentitiesOnly=yes \ -o UserKnownHostsFile=/dev/null \ -o StrictHostKeyChecking=no \ -o BatchMode=yes \ -o ConnectTimeout=10 \ "$HOST" \ "sh $REMOTE_SCRIPT $TARGET_IP" RC=$? echo "Remote script exit code: $RC" if [ "$RC" -eq 0 ]; then exit 0 fi exit 1
check-mssql.sh 
#!/usr/bin/env bash

TARGET_IP="$1"

SSH="/usr/bin/ssh"
KEY="/var/lib/veeam/scripts/RemoteScript/dbcheck_rsa"
#REMEMBER TO CHANGE YOUR HOST IP
HOST="sbcheck@10.10.10.75" REMOTE_SCRIPT="/home/sbcheck/scripts/check-mssql.sh" if [[ -z "$TARGET_IP" ]]; then echo "FAIL: SureBackup did not supply target IP" exit 1 fi "$SSH" \ -n \ -i "$KEY" \ -o IdentitiesOnly=yes \ -o UserKnownHostsFile=/dev/null \ -o StrictHostKeyChecking=no \ -o BatchMode=yes \ -o ConnectTimeout=10 \ "$HOST" \ "sh $REMOTE_SCRIPT $TARGET_IP" RC=$? echo "Remote script exit code: $RC" if [ "$RC" -eq 0 ]; then exit 0 fi exit 1

Copy files to Veeam Software Appliance

Use Veeam Backup & Replication Console to copy these files to Appliance. Go to 'Files' view and use it to create RemoteScript folder in the appliance under the folder 'scripts' and copy both check-mssql.sh and check-postgresql.sh to that folder. Also, copy dbcheck_rsa to the same folder to allow SSH connection to work. It should look like this:















Part 5: Test manually if script works

If you want to do manual testing, you can log in with SSH to appliance as veeamadmin (or other account with similar privileges). Documentation on how to enable SSH access to appliance: https://helpcenter.veeam.com/docs/vbr/em/hmc_configure_remote_access.html?ver=13#access_ssh

You can use following command to test if script works. Use your production DB ip address to test the script (assuming your Veeam Software Appliance can reach it)
sh /var/lib/veeam/scripts/RemoteScript/check-postgresql.sh "db-ip"; echo $?
A successful run should look something similar to this:



Part 6: Using scripts in SureBackup job

In the Application Group (or the linked job settings), open the verification options of the database VM, enable the custom script and point it to the wrapper on the appliance. In the Arguments field enter: %vm_ip% SureBackup replaces %vm_ip% with the masquerade address of the recovered VM. Official documentation can be found from: https://helpcenter.veeam.com/docs/vbr/userguide/custom_verification_scripts.html?ver=13

Last words

When I realized that it is not possible to run SQL queries or other advanced testing methods with Veeam Software Appliance (like it is documented in here: https://helpcenter.veeam.com/docs/vbr/userguide/predefined_tests.html?ver=13#microsoft-sql-server-checker-script) I had some sort of "hold my beer" moment. 

And after some trials and errors (with big help from AI), I was able to make this work.

Same logic should also work with pre/post scripts, even though I have not tested it. As an example, you might have NAS storage where Veeam does not have native integration, but you want to use its native snapshot functionality when doing backup. Maybe you could use similar logic, to connect to NAS storage with SSH and execute snapshot creation as a batch job with pre job script?

Make sure to read scripts before using them and change variables to match your environment. You most likely wont have similar application / DB structure to test, so you need to build your own queries. But hopefully this gives you a starting point. 

Tuesday, May 3, 2022

Adding additional organizations to Veeam Backup for M365 Self-Service Portal

 As promised in previous post, this time I'm explaining how to add access for additional organizations to Self-Service Portal. Do note, this is not an official guide or a best practice. Use at your own risk 😊

Assumptions in place:

  • You have a working Veeam Backup for M365 environment, with configured Self-Service Portal
  • You have two or more M365 organizations in backups
  • You have AzureAD Application ID that you are using with Self-Service Portal (the one you use when you enable Self-Service Portal)

When you have configured first (let's say 'main') organization to work with Self-Service Portal, you can only use that organizations  accounts to log in and do restores. If you try to log in with some other organization configured to Veeam Backup for M365, you will see error message similar to this:


To fix it, we need to add same AzureAD Application ID that is used with Self-Service Portal authentication, to our other organizations AzureAD. 

(This is also described in official documentation: https://helpcenter.veeam.com/docs/vbo365/guide/ssp_configuration.html?ver=60)

To do that, we need PowerShell and AzureAD PowerShell module. Instructions on installing that  PowerShell module can be found here: https://docs.microsoft.com/en-us/powershell/azure/active-directory/install-adv2?view=azureadps-2.0

You also need credentials with enough privileges to add and modify Azure AD Applications in this organization.


Run these commands:
$Credential = Get-Credential
Connect-AzureAD -Credential $Credential
New-AzureADServicePrincipal -AppId "XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX"

After you have done that, log-in to Azure AD and look for that Application. You can search it by name or ID.


Remove "Application type==Enterprise Application" from search filters


Select that Application, in my example "VBM_Restore_Portal_Application"


Go Security/Permission and click on "Grant admin consent for <organization>"

It will require you to re-authenticate and asks you to give required permissions.


Click Accept, and try again. You should be able to login now with your second organizations credentials.

You will have to do this for all organizations that you want to have access to Self-Service Portal


Monday, May 2, 2022

Installing Veeam Backup for M365 restore portal to separate server

In this post I will guide you through steps required, to install restore portal to separate server. Do note, this is not an official guide or a best practice. Use at your own risk 😊

Assumptions in place:

  • You already have a working Veeam Backup for M365 v6 installation in place and it is able to run backups for at least one organization
  • There is TCP 9194 port open from portal server to backup server
  • Portal server is able to communicate to internet (at least to M365 authentication)
  • Organization is configured to use Modern Authentication (Azure AD Application based authentication)

We begin by installing REST API & Restore Portal components to our portal server.


Run setup from Veeam Backup for M365 installation media


Select "REST API & Restore Portal"

And do next -> next -> install -> finish type of installation.


Since we did not do full installation, we won't get GUI or any icons. 


So open up a command line, go to your installation folder (by default: C:\Program Files\Veeam\Backup365) and run "Veeam.Archiver.REST.Configurator.exe"


It will open you settings window. 


First, we will configure REST API. The HTTPS port we define here (default is 4443) will be the port where your end users will connect to.

Controller host is the Veeam Backup for M365 server, user either IP or FQDN

And install certificate. This can be self-signed or official certificate. This is the certificate used in restore portal, so in production environment, you will want to have a valid certificate.

Next we go to Restore Portal tab


So we now need to enable Restore Portal, and add Application ID used for that. But where to get it? This might not be official way, but it works ->

Go to Veeam Backup for M365 admin console, open Settings and go to Restore Portal tab.


Select tick box "Enable Restore Portal" and click "Create..."



Give name to new Azure AD application that will be created to your M365 organization and click "Install..." to create or install certificate, in my example, I'm using self-signed certificate.


Make sure to add exactly the same address to "Restore Portal web address:" as your end users will be using. So for example, if you use the default port, this must be "https://youradderss.com:4443".

Click next, and you get to authentication



Once authentication is done, click Finish and you return to Options window.



Do not click Apply or OK 

Instead, save that Application ID (in format: xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx)

And click Cancel.

What we just generated, are Azure AD application used by restore portal and certificate that is connected to it. Now we need to transfer this data to our restore portal server.

First open Certificate Manager in you Veeam Backup for M365 server


Right click the certificate we just created and go All Tasks -> Export


Click next...


Select "Yes, export the private key" and Next..


Default settings should be fine. -> Next


Set some password that you remember.


Give path where you want exported file to go.


Click Finish here to do the actual export, and you should then get "Export successful" window


Click ok

Copy that exported certificate file to your portal server.

Then jump back to our portal server. We should have Restore Portal tab still open. 


Click on "Enable Restore Portal" and paste Application ID that you saved previously. Then click "Install..."


Select "Import certificate from a PFX file" -> Next


Select the certificate file that you exported and type in password -> Finish.


Click Apply (or OK)

You can now test if you can get to the login page, open the url of your server


You can even try to log in, but it will fail with error "The server has rejected the client credentials". This is expected behavior, since we are not done with our config yet.



Last thing that we need to configure, is authentication in Veeam Backup for M365. Open management console again -> go to Options -> Authentication tab


Select "Enable restore operator authentication with Microsoft Credentials" and click "Install...". I used self signed certificate here.


Should look similar to this. Click Apply.

Now we need to export this certificate, and import it on portal server.

Open Certificate Manager again


Right click on newly created Certificate and select All Tasks -> Export

We run the export wizard once again (skipping couple of screenshots here).


By default it should say "No, do not export the private key" -> Next


Select "DER encoded binary X.509 (.CER)"

Then you select path for export and finally you have this certificate exported to file.

Copy this file to portal server and open Certificate Manager.


We are importing this certificate to "Trusted Root Certification Authority", so make sure you are under that branch, in Certificates folder, right click -> All Tasks -> Import.

Run the wizard, select your certificate and make sure that it get's imported to correct store:


After you finish importing the certificate, you can go back to your portal login page. If you did everything correctly, your login will be successful and you are able to start restoring your items!




In next post, I will explain how to add support for more than just one organization in restore portal.




Tuesday, March 17, 2020

Using Veeam Backup for Microsoft Windows FREE to protect your PC

People around the world are currently working from home, and for many people it's the first time that they have to work from home for extended period of time.

And some of you might wonder, how to take care of backups during this time.

Veeam has a free solution for that, Veeam Agent for Microsoft Windows FREE.

It's exactly the same product as it's commercial versions, Workstation & Server. It just has a bit less features and it only has best effort support. 

Use above link to get your copy, and then let's do install and basic configuration.

In this example, I'm using external USB drive to take backups.

First run installer, it really is a one click install:



After installation is finished, you are asked if you want to setup backups to USB, and we are doing that.

So connect your external drive to your Windows machine and click Next:


You will be asked if you want to change your power plan. You can safely click "No", unless you want to take your backups during night time.



Next you will be asked whether you want to create Bare Metal Recovery media. I'm not covering that part in this blog, but you can find detailed instructions from Veeam documtation

So we skip that part and deselect "Run Veeam Recovery Media creation wizard"



Now we have installed Veeam Backup for Microsoft Windows, and configured it to take backup of whole computer to your external USB drive, at 00:30.

But I want it to take backups when I connect by USB drive to my laptop, so let's change configuration.

First, open GUI -> Go to start and search for Veeam Agent for Microsoft Windows


When GUI opens, it asks you if you want to install license. Answer "No", since we are using this tool in free mode.


Then let's modify our backup job, selcet "Edit Job"

.
You can change name of the job if you want to:


You can choose what you want to backup. By default it's "Entire computer", but in this example we are only taking backup of user files, so I selected "File level backup"


I selected "Personal files", which means everything under users profiles.


My target is Local storage (USB-disk). If you have network share in use, you can also use that (select "Shared folder"), or you can also push your backups to OneDrive


By default, backups go to <driveletter>:\VeeamBackups\. Also by default, 7 days of retention is kept. You can change these settings if you want to, but I'm leaving them to defaults.


I deselected "Daily at", since I don't want to keep my laptop running at night, instead I selected "When backup target is connected", so when I connect my external disk, Veeam automatically runs a backup.


After doing changes, summary page is shown, and you can also select "Run the job when I click Finish", so you can take your first backup right away!


If you want to track progress, you can click "Processing" to see details




And when backup is finished, you see details. For me, I had almost 40GB of data to be backed up, and it took 16 minutes. Does it slow down your laptop so you cannot work while taking backup? No it does not, I actually let that run while writing this blog post.



After backup has been finished, you can detach your USB drive (make sure that it's safely removed)

On a next day, when you reattach that same USB drive, Veeam will automatically do incremental backup. If you want to track progress, you can open Veeam backup for Microsoft Windows GUI again.


Since only few changes had happened since last backup, incremental backup lasted only 2 minutes.




What about file restore?

Connect your USB disk and open GUI. Select "Restore file"


Select restore point where you want to restore your files:


Click open, and wait for new window to open


From this window, you can browse your files and do restores. You can restore to original location by Overwriting existing files, or using Keep, when files are restored with a suffix.

Or you can use "Copy To..." and restore files to different location.


After you have finished restoring files, you can simply close this window.


One good habit for backups could be, to connect your USB drive always when you are having lunch, or maybe at afternoons coffee break? Or last thing before closing computer?

Anyways, take good care of your data!