Remove veeamsnapshotdata.0 file

Backup agent for Linux servers and workstations on-premises or in the public cloud

Remove veeamsnapshotdata.0 file

Veeam Logoby daereth » Tue Dec 13, 2016 7:16 am

Hi there,

Does anyone here know how to remove the /veeamsnapshotdata.0 the agent leaves behind?? I have one of 1.4G that I would like to remove but even root cannot remove the file. I have even removed Veeam completely from my system and I still can't remove this data.

Code: Select all
rm: cannot remove '/veeamsnapshotdata.0': Operation not permitted


Thanks!
daereth
Lurker
 
Posts: 2
Liked: never
Joined: Mon Dec 12, 2016 10:22 pm
Full Name: Steve Rosebush

Re: Remove veeamsnapshotdata.0 file

Veeam Logoby PTide » Tue Dec 13, 2016 8:39 am

Hi,

First of all I'd like to draw your attention to the fact that GA version will be released this week, so keep an eye on our announcements.

Secondly, if you cannot remove something even with root then you should check if the file has immutable flag set and remove it if needed:
Code: Select all
[root@centos7 ~]# lsattr 12
----i--------e-- 12
[root@centos7 ~]# rm 12
rm: remove regular empty file ‘12’? y
rm: cannot remove ‘12’: Operation not permitted
[root@centos7 ~]# chattr -i 12
[root@centos7 ~]# lsattr 12
-------------e-- 12
[root@centos7 ~]# rm 12
rm: remove regular empty file ‘12’? y
[root@centos7 ~]#


Thanks
PTide
Veeam Software
 
Posts: 3019
Liked: 246 times
Joined: Tue May 19, 2015 1:46 pm

Re: Remove veeamsnapshotdata.0 file

Veeam Logoby daereth » Tue Dec 13, 2016 10:25 pm

Hi Ptide,

I totally forgot about lsattr and immutable flags, bit rusty. ;)

Thanks for the assist and I *just* got your announcement of GA will give that a go.

Cheers,
Steve
daereth
Lurker
 
Posts: 2
Liked: never
Joined: Mon Dec 12, 2016 10:22 pm
Full Name: Steve Rosebush


Return to Veeam Agent for Linux



Who is online

Users browsing this forum: No registered users and 3 guests