Host-based backup of VMware vSphere VMs.
Post Reply
adam900331
Veteran
Posts: 358
Liked: 30 times
Joined: Dec 01, 2019 7:27 pm
Contact:

Remove backup files form Veeam Hardened Repository

Post by adam900331 »

Hy!

Our hardened repository out of space and I want to remove some backup files. I ccould enable the SSH, and I can connect to the Veeam Hardened Repository with veeamsvc user. I followed these commands:

Code: Select all

cd /file location
lsattr -l
chattr -i
lsattr -l
rm backup filename 
When is execute the sudo chattr -i ./VM_name.vm-52920D2026-09-03T010001_78B1.vbk command, I got the following error:

Code: Select all

[veeamsvc@SRV-HARDENEDREPO01 Szinva_Productive_VMs_backup_job]$ sudo chattr -i ./VM_name.vm-52920D2026-09-03T010001_78B1.vbk
[sudo] password for veeamsvc:
Sorry, user veeamsvc is not allowed to execute '/bin/chattr -i ./VM_name.vm-52920D2026-09-03T010001_78B1.vbk' as root on reposerver.
I think there isn't enough permission for veeamsvc to execute the command. I only know the vhradmin user details, but I couldn't connect with SSH. Which user can be remove the backup files?

Thanks
Mildur
Product Manager
Posts: 12230
Liked: 3512 times
Joined: May 13, 2017 4:51 pm
Full Name: Fabian K.
Location: Switzerland
Contact:

Re: Remove backup files form Veeam Hardened Repository

Post by Mildur »

Hi Adam

Are we talking about Veeam Appliances or "self deployed" Linux OS?

For Veeam Appliances, please access the root shell (Help Center) in Text UI and delete the files from there.

Best,
Fabian
Product Management Analyst @ Veeam Software
adam900331
Veteran
Posts: 358
Liked: 30 times
Joined: Dec 01, 2019 7:27 pm
Contact:

Re: Remove backup files form Veeam Hardened Repository

Post by adam900331 »

Hy!

It is Veeam Hardened Repository ISO, and the Veeam version is 12.

Thanks,
Adam
adam900331
Veteran
Posts: 358
Liked: 30 times
Joined: Dec 01, 2019 7:27 pm
Contact:

Re: Remove backup files form Veeam Hardened Repository

Post by adam900331 »

Hy!

I found a resolution, I had to boot with the Live CD. This thread helped me:
https://www.starwindsoftware.com/blog/v ... e-backups/

Adam
Post Reply

Who is online

Users browsing this forum: AVavav, Google [Bot], GrandAdmiral, kenthsien0909 and 21 guests