Re: [Burp-users] Include, exclude and a few mountpoints - can't configure it - SOLVED
Brought to you by:
grke
|
From: Graham K. <gr...@gr...> - 2014-12-20 23:24:11
|
On Sat, Dec 20, 2014 at 07:58:53PM +0100, ma...@me... wrote: > This logic is different than logic seen in other backup stuff so > sometimes I'm a little confused:) I prefer backup soft to not cross > filesystem mountpoints so further I assume that cross_all_filesystems=0. > Let's imagine such situation: > > mountpoint is: /foo/bar , inside I've got such structure: > /foo/bar/xx/yy/zz > /foo/bar/aa/bb > /foo/bar/cc/dd > > and I would like to backup _only_ /foo/bar/xx/yy/zz , other dirs > shouldn't be backuped. > I found that such configuration do want I expect: > > include = / # I'd like to have also root partition in backup > cross_filesystem = /foo/bar > include = /foo/bar/xx/yy/zz > exclude = /foo/bar/ > > it isn't hyper clean solution but works:) Graham, what do you think > maybe such case should be documented (if isn't yet - but I didn't find > similar information)? I agree that it would be good to have a page that explains about this stuff. > I'd like to ask about "nobackup" option and burp behavior. I can see > that burp doesn't do backup of dir if it finds "nobackup" file inside, > it's ok. But I'm wondering about keeping information about such dir in > backup, should be keept or not? Example: > > I've got: /var/cache/man/CACHEDIR.TAG > so files and dirs inside /var/cache/man are excluded from backup but > what about "/var/cache/man"? Maybe such dir (without subdirs and files) > should be keept to have archived owner and permission of mentioned dir? Perhaps you are right about saving the directory stats, if it doesn't do that already. I will think about it. > I'd like to ask one more question, what is correct syntax for > "exclude_comp"? > I tried "exclude_comp = gz bz2 jpeg jpg avi gif png". I tried also: > exclude_comp = xz > and > exclude_comp = .xz > but burp still compresses compressed files. Put them on multiple lines like this: exclude_comp=bz2 exclude_comp=gz exclude_comp=jpeg exclude_comp=jpg exclude_comp=avi exclude_comp=gif exclude_comp=png If that still doesn't work, then there is a bug. |