Discussion:
[Mondo-devel] Mondorescue - backup over NFS - CDROM problem
Michał Skoczylas
2014-09-17 13:17:39 UTC
Permalink
Hello,

I've created NFS backup using mondoarchive, then using unetbootin I created
bootable USB with /var/cache/mindi/mondorescue.iso. When I boot this Mindi
linux from my USB, I got similar message as here:
http://mondorescue-mailing-list.679749.n3.nabble.com/Mondo-devel-Mondorescue-backup-over-NFS-wants-to-restore-from-CD-td4025660.html
Which basically is: "
Optimizing IDE drive access...cat: can't open '/tmp/CDROM-LIVES-HERE': No
such file or directory
I don't know where the CDROM lives. Optimization cancelled.
Executing preliminary script
The mondorestore command was not found on your backup media
It may mean your device is not seen correctly.
Check driver list and error messages.
Type 'exit' to reboot the PC"
and I got bash access, but no mondorestore command can be found.

So my first question regards this problem and I would like to know how to
boot and restore using this iso image. I also attach my log files. I use
Linux Mint 17 with repositories for Ubuntu 14.04, all newest versions.

I have also another more general question regarding NFS backup. I would
like to create backup in some other form than ISO files, is there any other
format possible? So I would like to know how to backup my data with no
compression and no archive, preferably pure data. I tried to use option -u
for streaming device but still I get data that are a little bit archived
and I do not really know how to deal with them, because I see binary files
all over the backup.
My use case is to get as pure data as possible with no concern about disc
space.

Regards,
Michal
Gattegno, Victor (GSD CSC / GCC)
2014-09-19 12:18:55 UTC
Permalink
Hi,

By modifying your mondo-restore.cfg by hand, it should be possible to restore. Check it, in that file the backup-media-type is surely set to “netfs”, as you backuped through NFS.

In your mondorescue iso file, backup-media-type is set in mondo-restore.cfg file, which is in tmp directory, itself in images/all.tar.gz

* Check my advise (6 Apr 11:43) in: http://blog.gmane.org/gmane.linux.mondo.devel/month=20110401:

* a mondo-restore.cfg of a direct mondoarchive backup in a directory, should contain :

* backup-media-type iso

* a mondo-restore.cfg of a direct mondoarchive backup on a USB hard disk, should contain (for example) :

* usb-dev /dev/sdb
backup-media-type usb

Rgds
Victor

From: Michał Skoczylas [mailto:***@gmail.com]
Sent: mercredi 17 septembre 2014 15:18
To: mondo-***@lists.sourceforge.net
Subject: [Mondo-devel] Mondorescue - backup over NFS - CDROM problem

Hello,
I've created NFS backup using mondoarchive, then using unetbootin I created bootable USB with /var/cache/mindi/mondorescue.iso. When I boot this Mindi linux from my USB, I got similar message as here: http://mondorescue-mailing-list.679749.n3.nabble.com/Mondo-devel-Mondorescue-backup-over-NFS-wants-to-restore-from-CD-td4025660.html
Which basically is: "
Optimizing IDE drive access...cat: can't open '/tmp/CDROM-LIVES-HERE': No such file or directory
I don't know where the CDROM lives. Optimization cancelled.
Executing preliminary script
The mondorestore command was not found on your backup media
It may mean your device is not seen correctly.
Check driver list and error messages.
Type 'exit' to reboot the PC"
and I got bash access, but no mondorestore command can be found.
So my first question regards this problem and I would like to know how to boot and restore using this iso image. I also attach my log files. I use Linux Mint 17 with repositories for Ubuntu 14.04, all newest versions.
I have also another more general question regarding NFS backup. I would like to create backup in some other form than ISO files, is there any other format possible? So I would like to know how to backup my data with no compression and no archive, preferably pure data. I tried to use option -u for streaming device but still I get data that are a little bit archived and I do not really know how to deal with them, because I see binary files all over the backup.
My use case is to get as pure data as possible with no concern about disc space.
Regards,
Michal
Michał Skoczylas
2014-09-22 16:31:11 UTC
Permalink
Hello Victor,

I'm glad you spend your time to answer me, but I need some more information
or confirmation that I understand correctly what you explained to me.

I've read your answer as well as linked issue, but I cannot understand what
should I change. As you said in my mondo-restore.cfg file I have line
"backup-media-type netfs", in fact I can find there more information about
my NFS server and settings I chose during mondoarchive run.
Should I change this configuration? It does not make sense to me, because I
would like to use my backup which is present on NFS server, so what is
there really to change in cfg file (I feel like it is fine - proper to what
I am trying to achieve). I think the problem is with this image I use :(
When I used unetbootin to extract bootable image on my USB and I try to
boot from this USB there is mentioned error and everything stops right
away. I have only console access with "sh-4.3#" but when I try mondorestore
here I got simply "sh: mondorestore: command not found", so from this point
I have no idea what should I do.

I am not even sure how this should work. Should this USB boot properly,
mound my NFS and use ISO from it to start mondorestore? Is this correct
path?
Have you managed to see my usecase to work before, I mean do mondoarchive
using NFS as backup. Then I have couple of ISO files on my NFS server, then
create bootable USB with small mondorestore.iso image and backup to bare
metal machine?

Regards,
Michał


[Quoted message]

Hi,
By modifying your mondo-restore.cfg by hand, it should be possible to
restore. Check it, in that file the backup-media-type is surely set to
“netfs”, as you backuped through NFS.
In your mondorescue iso file, backup-media-type is set in mondo-restore.cfg
file, which is in tmp directory, itself in images/all.tar.gz
* Check my advise (6 Apr 11:43) in:
http://blog.gmane.org/gmane.linux.mondo.devel/month=20110401:
* a mondo-restore.cfg of a direct mondoarchive backup in a directory,
should contain :
* backup-media-type iso
* a mondo-restore.cfg of a direct mondoarchive backup on a USB hard disk,
should contain (for example) :
* usb-dev /dev/sdb
backup-media-type usb
Rgds
Victor

From: Michał Skoczylas [mailto:***@...]
Sent: mercredi 17 septembre 2014 15:18
To: mondo-***@...
Subject: [Mondo-devel] Mondorescue - backup over NFS - CDROM problem

Hello,
I've created NFS backup using mondoarchive, then using unetbootin I created
bootable USB with /var/cache/mindi/mondorescue.iso. When I boot this Mindi
linux from my USB, I got similar message as here:
http://mondorescue-mailing-list.679749.n3.nabble.com/Mondo-devel-Mondorescue-backup-over-NFS-wants-to-restore-from-CD-td4025660.html
Which basically is: "
Optimizing IDE drive access...cat: can't open '/tmp/CDROM-LIVES-HERE': No
such file or directory
I don't know where the CDROM lives. Optimization cancelled.
Executing preliminary script
The mondorestore command was not found on your backup media
It may mean your device is not seen correctly.
Check driver list and error messages.
Type 'exit' to reboot the PC"
and I got bash access, but no mondorestore command can be found.
So my first question regards this problem and I would like to know how to
boot and restore using this iso image. I also attach my log files. I use
Linux Mint 17 with repositories for Ubuntu 14.04, all newest versions.
I have also another more general question regarding NFS backup. I would
like to create backup in some other form than ISO files, is there any other
format possible? So I would like to know how to backup my data with no
compression and no archive, preferably pure data. I tried to use option -u
for streaming device but still I get data that are a little bit archived
and I do not really know how to deal with them, because I see binary files
all over the backup.
My use case is to get as pure data as possible with no concern about disc
space.
Regards,
Michal
Post by Michał Skoczylas
Hello,
I've created NFS backup using mondoarchive, then using unetbootin I
created bootable USB with /var/cache/mindi/mondorescue.iso. When I boot
http://mondorescue-mailing-list.679749.n3.nabble.com/Mondo-devel-Mondorescue-backup-over-NFS-wants-to-restore-from-CD-td4025660.html
Which basically is: "
Optimizing IDE drive access...cat: can't open '/tmp/CDROM-LIVES-HERE': No
such file or directory
I don't know where the CDROM lives. Optimization cancelled.
Executing preliminary script
The mondorestore command was not found on your backup media
It may mean your device is not seen correctly.
Check driver list and error messages.
Type 'exit' to reboot the PC"
and I got bash access, but no mondorestore command can be found.
So my first question regards this problem and I would like to know how to
boot and restore using this iso image. I also attach my log files. I use
Linux Mint 17 with repositories for Ubuntu 14.04, all newest versions.
I have also another more general question regarding NFS backup. I would
like to create backup in some other form than ISO files, is there any other
format possible? So I would like to know how to backup my data with no
compression and no archive, preferably pure data. I tried to use option -u
for streaming device but still I get data that are a little bit archived
and I do not really know how to deal with them, because I see binary files
all over the backup.
My use case is to get as pure data as possible with no concern about disc
space.
Regards,
Michal
Gattegno, Victor (GSD CSC / GCC)
2014-09-23 13:14:47 UTC
Permalink
Hi Michal,

I personnaly backuped and restored with mondorescue through NFS, it worked well ; I ran mondoarchive through a shell-script like this one: http://trac.mondorescue.org/wiki/Documentation#Backup and then I used the /var/cache/mindi/mondorescue.iso created by Mondorescue, I boot on that mondorescue.iso through HP iLO virtual storage.

I don't think that unetbootin extracts from mondorescue.iso<http://trac.mondorescue.org/wiki/FAQ#Q42HowtotransformamondoCDDVDintoamondoUSBdevice> all the necessary files for a Mondorescue boot (see the screenshot attached).
You can compare the content of your USB keys content with the screenshot attached, or you could try to use mondoarchive USB option (–U) with another USB key and compare your USB keys contents.

Or you could check FAQ 42:
Q42/ How to transform a mondo CD/DVD into a mondo USB device ?<http://trac.mondorescue.org/wiki/FAQ#Q42HowtotransformamondoCDDVDintoamondoUSBdevice>

Regards
Victor

From: Michał Skoczylas [mailto:***@gmail.com]
Sent: lundi 22 septembre 2014 18:31
To: mondo-***@lists.sourceforge.net
Subject: Re: [Mondo-devel] Mondorescue - backup over NFS - CDROM problem

Hello Victor,

I'm glad you spend your time to answer me, but I need some more information or confirmation that I understand correctly what you explained to me.

I've read your answer as well as linked issue, but I cannot understand what should I change. As you said in my mondo-restore.cfg file I have line "backup-media-type netfs", in fact I can find there more information about my NFS server and settings I chose during mondoarchive run.
Should I change this configuration? It does not make sense to me, because I would like to use my backup which is present on NFS server, so what is there really to change in cfg file (I feel like it is fine - proper to what I am trying to achieve). I think the problem is with this image I use :(
When I used unetbootin to extract bootable image on my USB and I try to boot from this USB there is mentioned error and everything stops right away. I have only console access with "sh-4.3#" but when I try mondorestore here I got simply "sh: mondorestore: command not found", so from this point I have no idea what should I do.
I am not even sure how this should work. Should this USB boot properly, mound my NFS and use ISO from it to start mondorestore? Is this correct path?
Have you managed to see my usecase to work before, I mean do mondoarchive using NFS as backup. Then I have couple of ISO files on my NFS server, then create bootable USB with small mondorestore.iso image and backup to bare metal machine?
Regards,
Michał


[Quoted message]

Hi,
By modifying your mondo-restore.cfg by hand, it should be possible to restore. Check it, in that file the backup-media-type is surely set to “netfs”, as you backuped through NFS.
In your mondorescue iso file, backup-media-type is set in mondo-restore.cfg file, which is in tmp directory, itself in images/all.tar.gz
* Check my advise (6 Apr 11:43) in: http://blog.gmane.org/gmane.linux.mondo.devel/month=20110401:
* a mondo-restore.cfg of a direct mondoarchive backup in a directory, should contain :
* backup-media-type iso
* a mondo-restore.cfg of a direct mondoarchive backup on a USB hard disk, should contain (for example) :
* usb-dev /dev/sdb
backup-media-type usb
Rgds
Victor

From: Michał Skoczylas [mailto:mpskoczylas@<mailto:mpskoczylas@>...]
Sent: mercredi 17 septembre 2014 15:18
To: mondo-***@...
Subject: [Mondo-devel] Mondorescue - backup over NFS - CDROM problem

Hello,
I've created NFS backup using mondoarchive, then using unetbootin I created bootable USB with /var/cache/mindi/mondorescue.iso. When I boot this Mindi linux from my USB, I got similar message as here: http://mondorescue-mailing-list.679749.n3.nabble.com/Mondo-devel-Mondorescue-backup-over-NFS-wants-to-restore-from-CD-td4025660.html
Which basically is: "
Optimizing IDE drive access...cat: can't open '/tmp/CDROM-LIVES-HERE': No such file or directory
I don't know where the CDROM lives. Optimization cancelled.
Executing preliminary script
The mondorestore command was not found on your backup media
It may mean your device is not seen correctly.
Check driver list and error messages.
Type 'exit' to reboot the PC"
and I got bash access, but no mondorestore command can be found.
So my first question regards this problem and I would like to know how to boot and restore using this iso image. I also attach my log files. I use Linux Mint 17 with repositories for Ubuntu 14.04, all newest versions.
I have also another more general question regarding NFS backup. I would like to create backup in some other form than ISO files, is there any other format possible? So I would like to know how to backup my data with no compression and no archive, preferably pure data. I tried to use option -u for streaming device but still I get data that are a little bit archived and I do not really know how to deal with them, because I see binary files all over the backup.
My use case is to get as pure data as possible with no concern about disc space.
Regards,
Michal

On 17 September 2014 15:17, Michał Skoczylas <***@gmail.com<mailto:***@gmail.com>> wrote:
Hello,
I've created NFS backup using mondoarchive, then using unetbootin I created bootable USB with /var/cache/mindi/mondorescue.iso. When I boot this Mindi linux from my USB, I got similar message as here: http://mondorescue-mailing-list.679749.n3.nabble.com/Mondo-devel-Mondorescue-backup-over-NFS-wants-to-restore-from-CD-td4025660.html
Which basically is: "
Optimizing IDE drive access...cat: can't open '/tmp/CDROM-LIVES-HERE': No such file or directory
I don't know where the CDROM lives. Optimization cancelled.
Executing preliminary script
The mondorestore command was not found on your backup media
It may mean your device is not seen correctly.
Check driver list and error messages.
Type 'exit' to reboot the PC"
and I got bash access, but no mondorestore command can be found.
So my first question regards this problem and I would like to know how to boot and restore using this iso image. I also attach my log files. I use Linux Mint 17 with repositories for Ubuntu 14.04, all newest versions.
I have also another more general question regarding NFS backup. I would like to create backup in some other form than ISO files, is there any other format possible? So I would like to know how to backup my data with no compression and no archive, preferably pure data. I tried to use option -u for streaming device but still I get data that are a little bit archived and I do not really know how to deal with them, because I see binary files all over the backup.
My use case is to get as pure data as possible with no concern about disc space.
Regards,
Michal

Loading...