Tuesday, January 27, 2026

Veeam Hardened Repository ISO: manual backup deletion

Running out of space on a Veeam Hardened Repository (VHR)? There is a safe, controlled way to manually delete immutable backups using the VHR ISO in Live System mode. Check out our latest step-by-step guide.

If your Hardened Repository is getting out of space, you may need to quickly delete backups from the Veeam ISO Hardened Repository to avoid backup failures.

To perform backup deletion we must boot the server in Live System mode using the Veeam ISO file.

In the example below, the Veeam repository is almost full with only 33 GB of free space remaining and must be freed up to prevent backup job failures.

wp-image-33343

 

Boot the server in Live System mode

If the Veeam ISO Hardened Repository is configured according to best practices, you should enable iDRAC, iLO, or similar remote management to access the server console.

Download the Veeam ISO Hardened Repository from the Veeam website.

wp-image-33344

 

Ensure the downloaded .ISO file is accessible from the machine used to connect to the iDRAC/iLO of the Hardened Repository server.

Access the server console and map the downloaded .ISO file to the Virtual CD/DVD.

wp-image-33346

 

Configure the server to boot from the Virtual CD/DVD/ISO.

wp-image-33347

 

To ensure the server boots in Live System mode, the Veeam ISO Hardened Repository must be rebooted. Enter the credentials to login to the Hardened Repository console.

wp-image-33348

 

Select the Reboot option and press Enter.

wp-image-33349

 

Select Yes and press Enter. The server will reboot.

wp-image-33350

 

When the server boots from the mapped Veeam ISO, choose the Live System option.

wp-image-33351

 

Delete a backup from the Veeam ISO Hardened Repository

Login with the default credentials and change the password. The new password must comply with DISA STIG requirements. This password change only affects the Live System session and does not alter the production repository password.

default username: vhradmin
default password: vhradmin

wp-image-33352

 

Enter the following command to elevate privileges. Enter the password created earlier.

# sudo -i

wp-image-33353

 

Navigate to the vhradmin home directory and list available scripts.

# cd /home/vhradmin
# ll

wp-image-33354

 

Mount the repository using the provided script.

# ./mount_datavol.sh

wp-image-33355

 

Go to the backups folder and list its contents.

# cd /mnt/veeam.repository01/backups/
# ll

wp-image-33356

 

Navigate to the specific backup folder and list its files.

# cd Backup\ SERVICE\ VMs/
# ll

wp-image-33357

 

Check if backup files are immutable. The i flag indicates immutability.

# lsattr

wp-image-33358

 

Remove the immutability attribute from the files you wish to delete.  In this example, all files beginning with w22 will be processed.

# chattr -i w22*

wp-image-33359

 

Verify that the immutable attribute has been removed.

# lsattr

wp-image-33360

 

Delete the backup files and confirm removal. Be careful because this action permanently deletes backup files.

# rm -f w22*
# ll

wp-image-33361

 

Reboot the repository to restore the original configuration.

# reboot

wp-image-33362

 

Update repository information in Veeam

To make Veeam Backup & Replication aware of the new space, in the Veeam console access the Backup Infrastructure area and select Repositories. Right click the processed repository and select Rescan to collect the changes.

To make Veeam Backup & Replication aware of the freed space, in the Veeam console go to Backup Infrastructure > Repositories. Right-click the processed repository and select Rescan.

wp-image-33363

 

Once the rescan completes, click Close to close the window.

wp-image-33364

 

After rescanning, the available free space should reflect the deletion. In the example, free space increased from 33 GB to 124 GB with a gain of 91 GB.

wp-image-33365

 

Remove missing restore points

After deleting backups from the repository, verify that the backup chain does not contain missing restore points.

From the Home area, go to Backups > Disk. Right click the just processed Backup Job and select Properties.

wp-image-33366

 

If the backup chain is intact and backups are recoverable, no further action is needed. If broken restore points are present, right-click the missing point and select option Forget > All unavailable backups.

wp-image-33367

 

By following this procedure, you free up space on the Veeam ISO Hardened Repository, avoiding backup failures due to insufficient storage.



from StarWind Blog https://ift.tt/uGEAyrR
via IFTTT

No comments:

Post a Comment