-
- Expert
- Posts: 209
- Liked: 18 times
- Joined: Nov 12, 2014 9:40 am
- Full Name: John Johnson
- Contact:
how to delete from hardened repo?
I've read through a number of articles and posts but can't figure out how to actually enter hardened repo backup folders and check/delete files. I am in as sudo and can go into /mnt/veeamrepo and if I ls there I can see a dozen or so backup job folders. but attempting to cd into any of them gives me no such file or directory. how do i get in there to act on the files? thanks!
-
- Veeam Software
- Posts: 405
- Liked: 83 times
- Joined: Jul 03, 2023 12:44 pm
- Full Name: Rovshan Pashayev
- Location: Czechia
- Contact:
Re: how to delete from hardened repo?
Hello,
In order modify, change, delete immutable files in Linux, first you need to remove immutable flag.
Either from files or directories, with following commands, respectively:
Check immutable flag (letter "i") before and after changes with lsattr command.
Rovshan
In order modify, change, delete immutable files in Linux, first you need to remove immutable flag.
Either from files or directories, with following commands, respectively:
Code: Select all
chattr -i filename
chattr -R -i directory_name
Rovshan
Rovshan Pashayev
Analyst
Veeam Agent for Linux, Mac, AIX & Solaris
Analyst
Veeam Agent for Linux, Mac, AIX & Solaris
-
- Expert
- Posts: 209
- Liked: 18 times
- Joined: Nov 12, 2014 9:40 am
- Full Name: John Johnson
- Contact:
Re: how to delete from hardened repo?
I can’t get into the folder so I can’t lsattr anything within
-
- Veeam Software
- Posts: 405
- Liked: 83 times
- Joined: Jul 03, 2023 12:44 pm
- Full Name: Rovshan Pashayev
- Location: Czechia
- Contact:
Re: how to delete from hardened repo?
Hello,
What error do you get exactly?
What is the result of "ls -lhrt" command on top of the folder which you try to access?
Rovshan
What error do you get exactly?
What is the result of "ls -lhrt" command on top of the folder which you try to access?
Rovshan
Rovshan Pashayev
Analyst
Veeam Agent for Linux, Mac, AIX & Solaris
Analyst
Veeam Agent for Linux, Mac, AIX & Solaris
-
- Expert
- Posts: 209
- Liked: 18 times
- Joined: Nov 12, 2014 9:40 am
- Full Name: John Johnson
- Contact:
-
- Expert
- Posts: 209
- Liked: 18 times
- Joined: Nov 12, 2014 9:40 am
- Full Name: John Johnson
- Contact:
Re: how to delete from hardened repo?
have tried it both as root and repouser
-
- Veeam Software
- Posts: 405
- Liked: 83 times
- Joined: Jul 03, 2023 12:44 pm
- Full Name: Rovshan Pashayev
- Location: Czechia
- Contact:
Re: how to delete from hardened repo?
Hello,
That sounds like a technical issue. Please provide a support case ID for this issue, as requested when you click New Topic.
Without case number, the topic will eventually be deleted by moderators.
Best regards,
Rovshan
That sounds like a technical issue. Please provide a support case ID for this issue, as requested when you click New Topic.
Without case number, the topic will eventually be deleted by moderators.
Best regards,
Rovshan
Rovshan Pashayev
Analyst
Veeam Agent for Linux, Mac, AIX & Solaris
Analyst
Veeam Agent for Linux, Mac, AIX & Solaris
-
- Enthusiast
- Posts: 43
- Liked: 12 times
- Joined: Jun 22, 2020 1:08 pm
- Full Name: David Thomson
- Contact:
Re: how to delete from hardened repo?
I had to do this once. During initial configuration you probably added repouser to the sudo group temporarily. Do this again (temporarily) and you should be able to delete files after changing the immutability bit.
-
- Veeam Software
- Posts: 405
- Liked: 83 times
- Joined: Jul 03, 2023 12:44 pm
- Full Name: Rovshan Pashayev
- Location: Czechia
- Contact:
Re: how to delete from hardened repo?
Hello,
Also, do not forget hidden ".lock" file.
Rovshan
Also, do not forget hidden ".lock" file.
Rovshan
Rovshan Pashayev
Analyst
Veeam Agent for Linux, Mac, AIX & Solaris
Analyst
Veeam Agent for Linux, Mac, AIX & Solaris
-
- Expert
- Posts: 209
- Liked: 18 times
- Joined: Nov 12, 2014 9:40 am
- Full Name: John Johnson
- Contact:
Re: how to delete from hardened repo?
Thank you - yes this sounds familiar - will give that a try. Working on opening a case with veeam as well, I’ve just run into some non-work delays this week.
-
- Expert
- Posts: 209
- Liked: 18 times
- Joined: Nov 12, 2014 9:40 am
- Full Name: John Johnson
- Contact:
Re: how to delete from hardened repo?
case #06226772
-
- Expert
- Posts: 209
- Liked: 18 times
- Joined: Nov 12, 2014 9:40 am
- Full Name: John Johnson
- Contact:
Re: how to delete from hardened repo?
Thank you Safa, that was the key (temp adding repouser to sudo).
Who is online
Users browsing this forum: AdsBot [Google], Semrush [Bot], StrongOBackup and 51 guests