[rear-users] rear mkbackup on domU (xen) doesn't really work

Oliver Hoffmann oliver at g.dom.de
Tue Oct 20 17:06:53 CEST 2015


OK, step by step now.
1. recover myhost from the boot menue
2. rear recover
3. Bareos says restore job finished
4. ls /mnt/local:
boot
etc
home
lost+found
root
usr

5. chroot doesn't work as there is no bin or sbin.

So that is the problem. Where comes sbin and so on come from? What has to
be in the bareos backup and what is covered by creating an ISO?

Thanks,

Oliver

On 20 October 2015 at 16:53, Schlomo Schapiro <schlomo at schapiro.org> wrote:

> Hi Oliver,
>
> if /sbin/init is missing: Was it actually restored?
>
> A good check is also "chroot /mnt/local bash -i"
>
> Regards,
> Schlomo
>
> On 20 October 2015 at 16:43, Oliver Hoffmann <oliver at g.dom.de> wrote:
>
>> Well, everything to the point of rebooting after the whole recovery.
>> Everything in /mnt/local looked good. Seemingly, because while booting I
>> get: Target file system doesn't have requested /sbin/init No init and so on.
>>
>> Automatic recover is even worse:
>>
>> Cannot set terminal process group: Inappropriate ioctl device
>>
>> Then again after rear recover it says You cannot run rear from within the
>> Relax-and-Recover shell!
>>
>> What went wrong?
>>
>> Cheers,
>>
>> Oliver
>>
>>
>> On 20 October 2015 at 15:26, Oliver Hoffmann <oliver at g.dom.de> wrote:
>>
>>> I just saw the mingetty issue. After installing that everything works as
>>> expected! Thank you!!
>>>
>>> Oliver
>>>
>>> On 20 October 2015 at 15:20, Oliver Hoffmann <oliver at g.dom.de> wrote:
>>>
>>>> Thank you, Rob. I tried BACKUP=REQUESTRESTORE but it drops me to * * *
>>>> Rescue system is ready * * * as well. No login. Furthermore I see modprobe:
>>>> FATAL: Module xenblk not found.
>>>>
>>>> Cheers,
>>>>
>>>> Oliver
>>>>
>>>> On 9 October 2015 at 16:16, Robert Owens <rowens at fdrinnovation.com>
>>>> wrote:
>>>>
>>>>> I'm new to ReaR as well, but I think you need to specify a backup
>>>>> method in local.conf.  The default is BACKUP=REQUESTRESTORE.  'man rear'
>>>>> refers to this as "Not really a backup method at all..."  It seems its
>>>>> purpose is to do just what you've seen:  provide a rescue system and leave
>>>>> the backup/restore up to you.
>>>>>
>>>>> Take a look at the section of the man page titled "BACKUP SOFTWARE
>>>>> INTEGRATION".  There is a list of both commercial and open source backup
>>>>> software that you can choose to use for your backup and restore.
>>>>>
>>>>> -Rob
>>>>>
>>>>>
>>>>> On 10/8/2015 10:13 AM, Oliver Hoffmann wrote:
>>>>>
>>>>>> Hi list,
>>>>>>
>>>>>>
>>>>>> I am new to rear. Alas there's not too much to find on the
>>>>>> net or in the documentation given that you try to do something
>>>>>> special.
>>>>>>
>>>>>> So, I did rear -v mkbackup on a dumU (Ubuntu 14.04.3 LTS) which runs
>>>>>> on Xenserver 6.2. I did get an iso but problems are:
>>>>>>
>>>>>> -apparently it just creates a rescue system without the data
>>>>>> -I can boot from that iso but then there is no data
>>>>>> -if I do rear recover it says something like "You cannot run recover
>>>>>>   from this shell"
>>>>>>
>>>>>> My local.conf:
>>>>>>
>>>>>> BACKUP_PROG_COMPRESS_OPTIONS="--gzip"
>>>>>> BACKUP_PROG_COMPRESS_SUFFIX=".gz"
>>>>>> OUTPUT=ISO
>>>>>>
>>>>>> The goal is to create a bootable iso with all the data and put that
>>>>>> somewhere. Let's say on nfs or maybe even on a Bacula/Bareos server.
>>>>>>
>>>>>> Is that even possible? All I found was this:
>>>>>>
>>>>>>
>>>>>> http://webcache.googleusercontent.com/search?q=cache:tXhGLDXHGJYJ:sourceforge.net/p/rear/mailman/message/27980017/+&cd=4&hl=de&ct=clnk&gl=de
>>>>>>
>>>>>> Cheers,
>>>>>>
>>>>>> chillax
>>>>>> _______________________________________________
>>>>>> rear-users mailing list
>>>>>> rear-users at lists.relax-and-recover.org
>>>>>> http://pikachu.3ti.be/mailman/listinfo/rear-users
>>>>>>
>>>>>> Email secured by Check Point
>>>>>>
>>>>>>
>>>>> --
>>>>> Rob Owens
>>>>> Innovation Data Processing
>>>>> 973-890-7300
>>>>> rowens at fdrinnovation.com
>>>>>
>>>>> _______________________________________________
>>>>> rear-users mailing list
>>>>> rear-users at lists.relax-and-recover.org
>>>>> http://pikachu.3ti.be/mailman/listinfo/rear-users
>>>>>
>>>>
>>>>
>>>
>>
>> _______________________________________________
>> rear-users mailing list
>> rear-users at lists.relax-and-recover.org
>> http://pikachu.3ti.be/mailman/listinfo/rear-users
>>
>>
>
> _______________________________________________
> rear-users mailing list
> rear-users at lists.relax-and-recover.org
> http://pikachu.3ti.be/mailman/listinfo/rear-users
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://pikachu.3ti.be/pipermail/rear-users/attachments/20151020/906089c2/attachment-0001.html>


More information about the rear-users mailing list