Hello,
Am 16.06.21 um 19:40 schrieb 'Christian Svensson' via bareos-users:
> Hi Bareos list,
>
> I am trying to wrap my head around how I can create a good disaster
> recovery procedure.
> The documentation has some ideas, but specifically what I'd like to do
> is extract the BackupCatalog job's SQL database dump and configuration
> files with the bare minimal configuration and steps.
>
> I am using both drive encryption (AME) and Bareos data encryption for
> my normal backups, and currently that's also true for my BackupCatalog
> jobs.
> Now, for doing this disaster recovery I would of course need copies of
> the applicable decryption keys. For BackupCatalog, which contains the
> AME volumes keys, it seems reasonable to skip using AME encryption for
> these jobs to avoid a circular dependency.
> I plan on creating a tape pool that is not AME encrypted and use it
> solely for BackupCatalog jobs.
That makes definitely sense
> So far so good.
>
> What I now need is to simply call `bextract` on my BackupCatalog
> volumes and decrypt it with my master key, right?
> Well, that's the problem - the documentation says that bextract does
> not support restore of encrypted files!
> That's a bummer.
>
> What would be the best way to tackle this? I am considering
> implementing my own encryption (like, taring it up and GPG encrypting
> it) so that from Bareos's PoV it is simply plain data.
> Then I could use bextract to get the `catalog.tar.gz.gpg`, decrypt it,
> and restore my Bareos system from that.
That is definitely a possible solution.
In general, I think that disaster recovery and encryption are no good friends.
In case of a real disaster, it is always good to be able to get things working again as simple as
possible.
Encryption makes things more complex and enlarges the probability that you are not able to recover
in a reasonable time.
To be prepared for a disaster, it is advisable to document and test the procedure on a regular basis
to be sure that the disaster recovery really works.
Best regards,
--
Mit freundlichen Grüßen
Philipp Storz
philip...@bareos.com
Bareos GmbH & Co. KG Phone:
+49 221 63 06 93-92
http://www.bareos.com Fax:
+49 221 63 06 93-10
Sitz der Gesellschaft: Köln | Amtsgericht Köln: HRA 29646
Geschäftsführer: Stephan Dühr, M. Außendorf,
J. Steffens, P. Storz