On lundi, 2 octobre 2017 21.23:50 h CEST Francis wrote:
> Hello,
> 
> I'm evaluating bareos as our new backup software. Our use case requires that
> an admin can selectively remove a file from all backup archives, without
> destroying an entire volume/pool (not sure of the correct bareos
> terminology I should use). I didn't find how to do that in the main
> reference manual and with some google searches. Is it something doable?
> 
> Thank you.

Hi Francis, from what I know it will be hard to remove the record in the 
archive. Retrieving the file in catalog database is doable (the query for 
filename in restore option can serve as template).
Thus the file will not be visible nor selectable for restore.

But beware of 2 things, bscan, bls, bextract will still be able to find it and 
extract it directly from the volume, and also there will be a divergence 
between the volume and the catalog, and some parts autocorrect this in the 
catalog. For obvious reasons.

I can imagine, there's a possible path to achieve your goal.
For any file you will have to delete definitively, define a way to create a 
copy job backup excluding those, then the copy will no more content it.
No 100% sure, if that will not need some code changes.

Now I'm sure you have a rule to enforce, but still I wonder then why keeping 
an archive ;-) If you have to restore something from the past, it has to be 
stored, and restorable in the same state it has existed at the time in the 
past (which was a time, where the delete of it was even not in question).
Drifting to legal things I guess :-))


-- 

Bruno Friedmann 
 Ioda-Net Sàrl www.ioda-net.ch
 Bareos Partner, openSUSE Member, fsfe fellowship
 GPG KEY : D5C9B751C4653227
 irc: tigerfoot

openSUSE Tumbleweed
Linux 4.13.4-1-default x86_64 GNU/Linux, nvidia: 384.69
Qt: 5.9.1, KDE Frameworks: 5.38.0, Plasma: 5.10.5, kmail2 5.6.1

-- 
You received this message because you are subscribed to the Google Groups 
"bareos-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to