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-users@googlegroups.com> wrote:

> bareos-users@googlegroups.com
> <https://groups.google.com/forum/?utm_source=digest&utm_medium=email#!forum/bareos-users/topics>
>  Google
> Groups
> <https://groups.google.com/forum/?utm_source=digest&utm_medium=email/#!overview>
>  [image:
> Google Groups Logo]
> <https://groups.google.com/forum/?utm_source=digest&utm_medium=email/#!overview>
> Today's topic summary
> View all topics
> <https://groups.google.com/forum/?utm_source=digest&utm_medium=email#!forum/bareos-users/topics>
>
>    - help with disaster recovery process
>    <#m_-4362240104805698468_group_thread_0> - 2 Updates
>
> help with disaster recovery process
> <http://groups.google.com/group/bareos-users/t/d9d8d49a92b096e4?utm_source=digest&utm_medium=email>
> Markus Dubois <duboismar...@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
> <http://groups.google.com/group/bareos-users/msg/166c6e887226bd?utm_source=digest&utm_medium=email>
> Bruno Friedmann (bruno-at-bareos) <bruno.friedm...@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
> <http://groups.google.com/group/bareos-users/msg/167236d5a739e9?utm_source=digest&utm_medium=email>
> Back to top <#m_-4362240104805698468_digest_top>
> You received this digest because you're subscribed to updates for this
> group. You can change your settings on the group membership page
> <https://groups.google.com/forum/?utm_source=digest&utm_medium=email#!forum/bareos-users/join>
> .
> To unsubscribe from this group and stop receiving emails from it send an
> email to bareos-users+unsubscr...@googlegroups.com.
>


-- 
Douglas Hammond
VA3DJX

-- 
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 bareos-users+unsubscr...@googlegroups.com.
To view this discussion visit 
https://groups.google.com/d/msgid/bareos-users/CAG9T%2BQQ9mni5FB6VxFyvU4F59eOu_g0Sguf1drbCwcXZk7UiKw%40mail.gmail.com.

Reply via email to