#1616 Issue closed: ERROR: No restore job defined in Bareos

Labels: support / question, fixed / solved / done, external tool

Adkham72 opened issue at 2017-12-02 06:44:

Relax-and-Recover (ReaR) Issue Template

Fill in the following items before submitting a new issue
(quick response is not guaranteed with free support):

  • rear version (/usr/sbin/rear -V):
    Relax-and-Recover 2.00 / Git
  • OS version (cat /etc/rear/os.conf or lsb_release -a):
    OS_VENDOR=RedHatEnterpriseServer
    OS_VERSION=7
  • rear configuration files (cat /etc/rear/site.conf or cat /etc/rear/local.conf):
# Default is to create Relax-and-Recover rescue media as ISO image
# set OUTPUT to change that
# set BACKUP to activate an automated (backup and) restore of your data
# Possible configuration values can be found in /usr/share/rear/conf/default.conf
#
# This file (local.conf) is intended for manual configuration. For configuration
# through packages and other automated means we recommend creating a new
# file named site.conf next to this file and to leave the local.conf as it is.
# Our packages will never ship with a site.conf.
OUTPUT=ISO
BACKUP=BAREOS
BAREOS_CLIENT=HDBBackup-fd
  • Are you using legacy BIOS or UEFI boot?
    BIOS

  • Brief description of the issue:
    Hello,
    Error: ERROR: No restore job defined in Bareos for HDBBackup
    Aborting due to an error, check /var/log/rear/rear-HDBBackup.log for details
    Terminated
    My questions:

  • where is this restore job supposed to be found - in the Bareos backup server or Client side?

  • Is this restore job should be specific to the client in question or generic?

Thanks much for all help. I have put a lot of efforts into Bareos setup and now need help to setup rear for Bare metal restore. Bareos manual says about REAR: "It is easy to set up and requires no maintenance so there is no excuse for not using it". But for me it became a very complicated.

  • Work-around, if any:

jsmeix commented at 2017-12-02 12:33:

I am not a Bareos user so that I cannot really help
but it seems the issue was already fixed
via https://github.com/rear/rear/pull/1138
and your "Relax-and-Recover 2.00" does not contain that fix.

@Adkham72
please try if it works with current ReaR GitHub master code.

To test the current ReaR GitHub master code
basically "git clone" it into a directory and then
configure and run ReaR from within that directory like:

# git clone https://github.com/rear/rear.git

# cd rear

# vi etc/rear/local.conf

# usr/sbin/rear -D mkbackup

(note the relative paths "etc/rear/" and "usr/sbin/").

Adkham72 commented at 2017-12-07 10:14:

Hi Johannes, Thanks much for writing back to help, I really appreciate it.

I have followed the steps you've advised and this command works.

usr/sbin/rear -D mkbackup

But the other command rear -v mkrescue seems not working by sying:

No restore job defined in Bareos for HDBBackup.

I need more of your help.

Thanks,

Adkham

On Sat, Dec 2, 2017 at 5:33 PM, Johannes Meixner notifications@github.com
wrote:

I am not a Bareos user so that I cannot really help
but it seems the issue was already fixed
via #1138 https://github.com/rear/rear/pull/1138
and your "Relax-and-Recover 2.00" does not contain that fix.

@Adkham72 https://github.com/adkham72
please try if it works with current ReaR GitHub master code.

To test the current ReaR GitHub master code
basically "git clone" it into a directory and then
configure and run ReaR from within that directory like:

git clone https://github.com/rear/rear.git

cd rear

vi etc/rear/local.conf

usr/sbin/rear -D mkbackup

(note the relative paths "etc/rear/" and "usr/sbin/").


You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/rear/rear/issues/1616#issuecomment-348689198, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AgmPRY6lBJ92AIigI4GhF1x5yEqS4udyks5s8UORgaJpZM4QzM0o
.

gdha commented at 2017-12-29 10:28:

I do not define BAREOS_CLIENT during my tests - I usually define:

BACKUP=BAREOS
BAREOS_RESTORE_JOB=client-restore
BAREOS_FILESET=client-fileset

With the bconsole command you should be able to find the info you are looking for.

gdha commented at 2018-05-15 06:49:

@Adkham72 Was your question answered?

jsmeix commented at 2018-07-18 10:26:

Because there are no further comments
I assume this isssue is sufficiently answered
so that I can close it hereby.


[Export of Github issue for rear/rear.]