Re: [bareos-users] Abridged summary of bareos-users@googlegroups.com - 2 updates in 1 topic

25 views
Skip to first unread message

Douglas Hammond

unread,
May 20, 2025, 9:34:54 AM5/20/25
to bareos...@googlegroups.com

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-wrong

The 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?

On Tue, 20 May 2025 at 04:54, <bareos...@googlegroups.com> wrote:
Markus Dubois <dubois...@gmail.com>: May 19 11:33PM -0700

okay, so you´re saying i need the bareos database where the backup files
are already included?
then of course no import is needed, so the approach is to shift the
database backup (sql dump) also ...more
Bruno Friedmann (bruno-at-bareos) <bruno.f...@bareos.com>: May 20 01:19AM -0700

Hi Markus,
 
Nope in case everything goes wrong, we used the bsr file to extract the sql
dump from the volume where the last BackupCatalog job is stored.
Then we import the sql dump to a new db ...more
You received this digest because you're subscribed to updates for this group. You can change your settings on the group membership page.
To unsubscribe from this group and stop receiving emails from it send an email to bareos-users...@googlegroups.com.


--
Douglas Hammond
VA3DJX

Bruno Friedmann (bruno-at-bareos)

unread,
May 20, 2025, 9:39:27 AM5/20/25
to bareos-users
bextract with bsr we use, not a full restore (as you remember we are in the scenario everything is broken, so don't have a director, not bconsole) 
Reply all
Reply to author
Forward
0 new messages