If you follow the documentation using the current community edition you will run into an issue restoring from the bootstrap file.
The current default RestoreJob does not match the job in the docs
https://docs.bareos.org/Appendix/Troubleshooting.html#restoring-when-things-go-wrongThe command line console will not offer the ability to specify the location of your bootstrap file as in the example docs. You will have to add a new job to directors config such as the following:
Job {
Name = RestoreFilesFromBootstrap
Description = "Restore from bootstrap template."
Type = Restore
Client = bareos-fd
FileSet = Catalog
Pool = Full
Messages = Standard
Where = /tmp/bareos-restores
Bootstrap = /tmp/bootstrap.bsr
}
Running this job will then then let you specify the bsr. Perhaps the default job or the docs should be updated.
Once I figured that out, following the docs to to use the restored sql file to recover the database went as expected an we were back up and running.
Perhaps the non-community version has a different default restore job that the docs work for?