We have used Bacula for several years now very successfully with a 
number of autoloader tape drives to archive (and occasionally restore) 
files from multiple machines (running several OSes). Unfortunately every 
so often data (typically a file or two) gets saved in the wrong area 
(then consequently backed up) that shouldn't have been. To remove it 
from disk, such utilities as wipe (wipe.sourceforge.net) are useful but 
for tape...

As Bacula is properly designed to store and retrieve data, there seems 
to be no facility to securely sanitize files(s) (per NIST Special 
Publication 800-88) from the tape(s) (without setting the lot on fire, a 
non-tenable solution to useful backups). As a result I have been 
attempting to modify a copy of bextract (tentatively called bwipe) which 
could provide such a facility. However, as this (and the inherited 
functions it calls) are streamlined to read (and read only) vs. the 
other similar functions who are seemingly streamlined to write (mainly 
append), which is exactly what is necessary for the mainstream approach.

I seem to be further falling down the rabbit hole of copying then 
modifying a litany of functions (from read_record.c, acquire.c, etc.) so 
that they are coded to allow read / modify / write of preexisting 
blocks. Thus my email to the development team (or specifically those 
with knowledge of the store daemon) about this approach. Perhaps this 
has been done before, and I just have never found it? Could there be 
some way (even after setting setup_jcr to mode 0) that subsequent device 
acquisitions to be read and write? Am I just completely going about this 
the wrong way (always a possibility)? Hopefully you can guide me so that 
I can hand you a solution that might be incorporated into your project 
that all could use (when they fall into a predicament such as this).

Respectfully,
Paul Davis

------------------------------------------------------------------------------

_______________________________________________
Bacula-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bacula-devel

Reply via email to