Koozali.org: home of the SME Server

[Contrib] MondoRescue on SME 7 (tested successful)!

d_gerst

[Contrib] MondoRescue on SME 7 (tested successful)!
« on: April 16, 2006, 08:27:28 PM »
Hello,

MondoRescue was successfully tested with SME 7 Pre4 and SME 7 RC1. You can use this script to install mondo on your SME server.

http://www.gerst.no-ip.com/SME7/mondoinstall.sh

Mondo is a very good backup tool, that back up your running system like V2i Power Protector.

Maybe mondo could be added to the section howto or contribs.

Best regards,
Daniel

Offline kmccarn

  • ***
  • 112
  • +0/-0
[Contrib] MondoRescue on SME 7 (tested successful)!
« Reply #1 on: April 17, 2006, 07:39:32 PM »
Thanks for the work.

I'm running it on a virgin install of 7.0RC1 - and it successfully creates the iso image.

But - when I try to boot and nuke - it hangs on the lvm partition stuff.

Any ideas ??
Kevin in WV 8-)......

d_gerst

[Contrib] MondoRescue on SME 7 (tested successful)!
« Reply #2 on: April 18, 2006, 07:34:30 AM »
Hello kmccarn,

I test it with a softraid 1, I will verify it on a SME 7 Pre4 and RC1 with single harddisk. Did you create custom bootimages with mindi or let mondo create standard mindi images?

Best regards,
Daniel

Offline kmccarn

  • ***
  • 112
  • +0/-0
[Contrib] MondoRescue on SME 7 (tested successful)!
« Reply #3 on: April 18, 2006, 11:52:16 AM »
Hello back at ya !

I just ran it - didn't create any anything special.

And - yes I neglected to mention that it was a single hd install.

I've used mondo on several SME 6 boxes as a disaster recovery system - and the only option that worked was "nuke" - this current version may provide additional functionality. (and might need some tweaking on the command line)

I'm not real comfortable with the LVM stuff yet anyway. (still getting used to ext3....)

 :-D
Kevin in WV 8-)......

d_gerst

[Contrib] MondoRescue on SME 7 (tested successful)!
« Reply #4 on: April 19, 2006, 10:08:06 PM »
Hello kmccarn,

I reinstall the SME 7RC1 with single hardisk on a Activy 300 (Celeron 366, 256MB, 1x 10GB HDD) and it works fine.

I used the GUI-version to create a backup, but there should be no matter if GUI or commando used.

The only thing that is different: another version of afio, but that should not be the problem. I could send you the compiled rpm.

Best regards,
Daniel

Offline hanscees

  • *
  • 267
  • +0/-0
    • nl.linkedin.com/in/hanscees/
[Contrib] MondoRescue on SME 7 (tested successful)!
« Reply #5 on: April 30, 2006, 10:53:53 PM »
This great thanks.

Making an iso is as easy as:

cd /root
mkdir mondorescue
cd mondorescue

wget ftp://ftp.mondorescue.org/rhel/4/mondo-2.0.7-460.rhel4.i386.rpm
wget ftp://ftp.mondorescue.org/rhel/4/mindi-1.0.7-460.rhel4.i386.rpm
wget ftp://ftp.mondorescue.org/rhel/4/afio-2.4.7-1.i586.rpm

echo -n "Installing downloaded files..."
echo
rpm -Uvh *.rpm


mkdir /root/mondoiso
mondoarchive -OiN -E /root/mondoiso   \
-E /home/e-smith/files/ibays/nai/ -d /root/mondoiso

#explanation:
#-O backup
#-i is iso
#-E exclude
#-N no network shares
#-d where isos are stored

#now burn iso in /root/monoiso to cd.

wow!
I will have to test if the iso works, but mondo is by far the greatest backup methode for me.

Hans-Cees
nl.linkedin.com/in/hanscees/

Offline hanscees

  • *
  • 267
  • +0/-0
    • nl.linkedin.com/in/hanscees/
[Contrib] MondoRescue on SME 7 (tested successful)!
« Reply #6 on: May 01, 2006, 10:37:50 PM »
hi,

sme7rc2 in an vmware (one disk) does not restore.
It is not clear what the trouble is really.
It cannot format the disks right.

It tries to format:
/dev/md2  on /lvm  format lvm
/dev/main/root on / format ext3
/dev/md1 on /boot format ext3
/dev/main/swap on swap swap
/dev/hda2 on raid format raid
/devhda1 on raid format raid.

But it seems it cannot make the lvm stuff

it sais for instance "mkraid not found"
and "raidstop not found" and then
"formatting md1 as ext3, failed".


pity.

When it starts up making the images it says this:


[root@sme7rc2 mondorescue]# mkdir /root/mondoiso
[root@sme7rc2 mondorescue]# mondoarchive -OiN -E /root/mondoiso   \
> -E /home/e-smith/files/ibays/nai/ -d /root/mondoiso
Initializing...
See /var/log/mondo-archive.log for details of backup run.
Checking sanity of your Linux distribution
Disk /dev/md1 doesn't contain a valid partition table
Disk /dev/md2 doesn't contain a valid partition table
You have RAID partitions but no /etc/raidtab - creating one from /proc/mdstat
FIXME - create_raidtab_from_mdstat does not allow for spare disks
FIXME - create_raidtab_from_mdstat does not allow for spare disks
Done.


The /etc/raidtab it created looks like this:

[root@sme7rc2 mondorescue]# cat /etc/raidtab
# Generated by Mondo Rescue
raiddev /dev/md2
    raid-level            1
    chunk-size            4
    nr-raid-disks         1
    nr-spare-disks        0
    persistent-superblock 1

    device                /dev/hda2
    raid-disk             0

raiddev /dev/md1
    raid-level            1
    chunk-size            4
    nr-raid-disks         1
    nr-spare-disks        0
    persistent-superblock 1

    device                /dev/hda1
    raid-disk             0
nl.linkedin.com/in/hanscees/

jcoleman

[Contrib] MondoRescue on SME 7 (tested successful)!
« Reply #7 on: May 02, 2006, 07:11:15 PM »
Quote
sme7rc2 in an vmware (one disk) does not restore.
It is not clear what the trouble is really.
It cannot format the disks right.


I had the same result using the latest Vmware Wkstn 5.x

-jeff

Offline hanscees

  • *
  • 267
  • +0/-0
    • nl.linkedin.com/in/hanscees/
[Contrib] MondoRescue on SME 7 (tested successful)!
« Reply #8 on: May 02, 2006, 09:45:39 PM »
Seeing all the posts above I would not rely on these versions of mondo at all. Chances are your backup won't work.
Is there a place we can get help or should we just conclude that it is not reliable?

Hans-Cees
nl.linkedin.com/in/hanscees/

oddo

[Contrib] MondoRescue on SME 7 (tested successful)!
« Reply #9 on: May 04, 2006, 10:51:41 AM »
restore failed on SME 7 RC2

Code: [Select]

Initialising RAID device /dev/md1
Stopping /dev/md1
Formatting /dev/md1 as ext3 ... failed
Configuring LVM
Failed to initialize LVM

bcornec

mondorescue support
« Reply #10 on: May 05, 2006, 01:18:38 AM »
Hello,

Please refer to http://www.mondorescue.org/support.shtml for mondorescue support issues. The dev will NOT monitor this firum, but IS monitorng the ML to try to solve users' issues.

TIA,
Bruno.

Offline kmccarn

  • ***
  • 112
  • +0/-0
[Contrib] MondoRescue on SME 7 (tested successful)!
« Reply #11 on: May 05, 2006, 12:02:21 PM »
This is from the Mondo Wiki:

9.8.6. >Q: I can't nuke-restore my LVM or RAID or LVM-on-RAID setup. I have to do it manually. What now?

A: You said it yourself. You have to do it manually. :) Sorry but that's about it. At least you have all the tools to do it. I assume you know how. If you don't, look at i-want-my-lvm (a script on the ramdisk) if you're using LVM. It should give you a few clues. RAID is harder but in general Mondo's RAID support is good. After you've prepped and formatted your drives, run mondorestore again but say 'no' when asked if you want Mondo to prep or format your drives.

I'll test next week and if it works - post a HOWTO
Kevin in WV 8-)......

Offline hanscees

  • *
  • 267
  • +0/-0
    • nl.linkedin.com/in/hanscees/
[Contrib] MondoRescue on SME 7 (tested successful)!
« Reply #12 on: May 05, 2006, 09:54:37 PM »
Quote from: "kmccarn"
This is from the Mondo Wiki:

9.8.6. >Q: I can't nuke-restore my LVM or RAID or LVM-on-RAID setup. I have to do it manually. What now?

A: You said it yourself. You have to do it manually. :) Sorry but that's about it. At least you have all the tools to do it. I assume you know how. If you don't, look at i-want-my-lvm (a script on the ramdisk) if you're using LVM. It should give you a few clues. RAID is harder but in general Mondo's RAID support is good. After you've prepped and formatted your drives, run mondorestore again but say 'no' when asked if you want Mondo to prep or format your drives.

I'll test next week and if it works - post a HOWTO


I can't find the i-want-my-lvm script. I did read that faq.

Bruno has responded to me that lvm2 (what sme7 uses) will be supported in mondo 2.08. So we will have to wait for that.

If someone can do a restore manually and can write that down that would be good in the mean time!

Hans-Cees
nl.linkedin.com/in/hanscees/

Offline mmccarn

  • *
  • 2,626
  • +10/-0
[Contrib] MondoRescue on SME 7 (tested successful)!
« Reply #13 on: May 25, 2006, 02:25:56 PM »
kmccarn wrote:
Quote
A: You said it yourself. You have to do it manually. :) Sorry but that's about it. At least you have all the tools to do it. I assume you know how. If you don't, look at i-want-my-lvm (a script on the ramdisk) if you're using LVM. It should give you a few clues. RAID is harder but in general Mondo's RAID support is good. After you've prepped and formatted your drives, run mondorestore again but say 'no' when asked if you want Mondo to prep or format your drives.


Would it work to run the SME setup in order to partition and prepare the hard disk, then
Quote
run mondorestore again but say 'no' when asked if you want Mondo to prep or format your drives.
?

Sadly, I have no safe/easy way to test this...

Offline hanscees

  • *
  • 267
  • +0/-0
    • nl.linkedin.com/in/hanscees/
[Contrib] MondoRescue on SME 7 (tested successful)!
« Reply #14 on: June 04, 2006, 08:55:43 PM »
Quote from: "mmccarn"
kmccarn wrote:
Quote
A: You said it yourself. You have to do it manually. :) Sorry but that's about it. At least you have all the tools to do it. I assume you know how. If you don't, look at i-want-my-lvm (a script on the ramdisk) if you're using LVM. It should give you a few clues. RAID is harder but in general Mondo's RAID support is good. After you've prepped and formatted your drives, run mondorestore again but say 'no' when asked if you want Mondo to prep or format your drives.


Would it work to run the SME setup in order to partition and prepare the hard disk, then
Quote
run mondorestore again but say 'no' when asked if you want Mondo to prep or format your drives.
?

Sadly, I have no safe/easy way to test this...


you could use vmware....
nl.linkedin.com/in/hanscees/

knuddel

[Contrib] MondoRescue on SME 7 (tested successful)!
« Reply #15 on: June 28, 2006, 11:55:04 PM »
I ask for assigning, for my bad English!

I have a little bit played with mondo!  :hammer:
I use: sme 7.0rc3,
         mondo-2.0.8-4.rhel4.i386.rpm
         mindi-1.0.8-4.rhel4.i386.rpm
         afio-2.4.7-1.i586.rpm
         mondo-doc-2.0.8-4.rhel4.noarch.rpm

My “sme” has one sata non removable disk!
I provided a Backup of “sme” on CD!
I have this Backup on another PC, with IDE non removable disk,
and same network cards back secured!
And it run!    :-x
But, that was not simple!
a few notes:  must edit /etc/mindi/deplist.txt before run mondoarchive,
                    there add binaries- libs- and module-files for raid and lvm!
                    run mondoarchive and Exclude all virtuell filesystem (proc...)
                    must boot new bootcd, and then on tty2-console
                    manually create auto-raid-partitions,
                    create mknods /dev/md1 /dev/md2, create md1 and md2,
                    format dev/md1, create lvm main on /dev/md2,
                    create lvm partitions in main, format partititions main-root
                    and main-swap, Oops activate main-root main-swap!
                    p.s. the file "i-want-my-lvm" is in /tmp
                    now you can run at tty1 manually restore!
                    no change fstab!
                    no partitions erase/create!
                    no format partitions!
                    write files back!
                    grub install has failed,
                    mount/change to directory where (sme) /boot, and type
                    grub
                    grub> root=(hd0,0)
                    grub> setup=(hd0)
                    grub> exit

Mongo has problems lvm on raid kompfortable to support!  
Also many changes, “mondo/mindi & sme” can co-operate,
even with specially features:
migration/hdd change/raid (1,0,5,10) create!

Or not, you install simply sme, afterwards mongo, afterwards mongo restore, completely (untested)  ;-)

mmccarn wrote:

Would it work to run the SME setup in order to partition and prepare
the hard disk, then run mondorestore again but say 'no' when
asked if you want Mondo to prep or format your drives. ?

I Say, no you must first edit deplist.txt (add dm-mod)!
mindi/mondo Say, no with one hd in raid, dont running raid!
But, it makes the steps on console tty2 easy! raid and lvm created and formatted!

knuddel

[Contrib] MondoRescue on SME 7 (tested successful)!
« Reply #16 on: July 01, 2006, 12:07:49 PM »
I ask for assigning, for my bad English!

 :oops: forget the imbecility which I yesterday said!  :oops:

Mondo is great mondo is good!  :-D

I have a little bit played more with mondo!  :hammer:

i have one Disk, so I have made
entry in
Code: [Select]

# /etc/mindi/deplist.txt
#
#-------------------------STUFF ADDED BY THE USER----------------------------
#---vvvv     vvvv     vvvv  list your stuff here!  vvvv     vvvv     vvvv
dm-mod.ko dm-crypt.ko dm-emc.ko dm-mirror.ko dm-multipath.ko dm-round-robin.ko dm-snapshot.ko dm-zero.ko linear.ko multipath.ko raid0.ko raid10.ko raid1.ko raid5.ko raid6.ko xor.ko e1000.ko 3c59x.ko
#
# foo
#
#---^^^^     ^^^^     ^^^^  list your stuff here!  ^^^^     ^^^^     ^^^^
#------------------------------------------------------------------------------



this is "ONE" line add, the importent Entry is "dm-mod.ko"

and add file:

Code: [Select]

# /etc/raidtab
raiddev /dev/md1
    raid-level            1
    nr-raid-disks         2
    persistent-superblock 1
    chunk-size            4

    device                /dev/hda1
    raid-disk             0
    device                missing
    failed-disk           1

raiddev /dev/md2
    raid-level            1
    nr-raid-disks         2
    persistent-superblock 1
    chunk-size            4

    device                /dev/hda2
    raid-disk             0
    device                missing

    failed-disk           1



This is manual Generated, mondo not correct read mdstat or so!
The important entrys are "device missing" "failed-disk 1"!


I am starting mondoarchive with
Code: [Select]

mondoarchive -OiN -E /root/images -E /proc -E /sys -E /dev/pts -E /dev/shm -E /home/e-smith/files/ibays/jukebox/files/mp3 -E /home/e-smith/files/ibays/jukebox/files/isos -d /root/images/


also not save "backupdir, virtual-kernel-dirs and my mp3 and iso data",
create isos in "/root/images/"

during the Backups report mondo errors:
    /dev/md1 has no correct Partition entry ( or so similarly )
    /dev/md2 has no correct Partition entry ( or so similarly )
    BOOT + DATA Creation failed ( or so similarly )


But, boot run from DATA-CD!

Now you burn cd, or start vmware Guest with boot from iso!
and mindi boot from DATA-CD, you say Automatic, and
mondo erase old, create Partitions, create raid 1,  create lvm, format drives, resecure your data, makes Grub-install, exit the programm!
now type exit
and tell vmware or pc  not boot cd, boot hd!

now its booting SME7.0rc3! :-D

During resecuring, mondo report some errors :
    Couldnt set attributes from fileset## ( or so similary )
    Error repeat three times for fileset## see logfile... (or so similar )


and after resecure you become error disk not correct shutdown (or so similar )  :-D

knuddel

[Contrib] MondoRescue on SME 7 (tested successful)!
« Reply #17 on: July 01, 2006, 01:16:49 PM »
still another error after back safety device:

mdadm -D /dev/md1
mdadm -D /dev/md2

results raid1 with one disk, one disk in raid are online!

at the old system:

mdadm -D /dev/md1
mdadm -D /dev/md2

results raid1 with two disk, one disk in raid are online, one disk in raid are removed!

But it's running!  8-)

d_gerst

[Contrib] MondoRescue on SME 7 (tested successful)!
« Reply #18 on: August 08, 2006, 09:16:56 PM »
Hello,

With the new version of mondorescue (mondo 2.0.9-1 and mindi 1.0.9-1) everything works fine (fixed the lvm2 problems). This should work for single disk and softraid, cause single disk is used as a softraid 1 with one active hdd.

New quick and dirty script available:
http://www.gerst.no-ip.com/SME7/mondo/install_mondo.sh


If someone could verify this and report failure or success, this would be nice.

Best regards,
Daniel

jcoleman

[Contrib] MondoRescue on SME 7 (tested successful)!
« Reply #19 on: August 11, 2006, 04:05:57 PM »
Quote
If someone could verify this and report failure or success, this would be nice.


Daniel,

Just tried this out on a fresh VM install.  Restored to another fresh VM install and while there where a few error messages, it seems to have worked correctly.  

Nice job.

-jeff

d_gerst

[Contrib] MondoRescue on SME 7 (tested successful)!
« Reply #20 on: August 11, 2006, 06:57:16 PM »
Hi Jeff,

Which kind of error message did you get? Do you test it with Softraid 1 or single disk?

Best regards,
Daniel

jcoleman

[Contrib] MondoRescue on SME 7 (tested successful)!
« Reply #21 on: August 11, 2006, 07:19:24 PM »
Hi Daniel,

Sorry, but I didn't record the errors as the scrolled on the gui screen.  My test environment was a VM with 1 hd so SME installed as a soft array.

I will test on another vm with multiple drives and report back.

-jeff

Offline psoren

  • *
  • 371
  • +0/-0
[Contrib] MondoRescue on SME 7 (tested successful)!
« Reply #22 on: August 13, 2006, 12:18:00 PM »
Quote from: "jcoleman"
Hi Daniel,

Sorry, but I didn't record the errors as the scrolled on the gui screen.  My test environment was a VM with 1 hd so SME installed as a soft array.

I will test on another vm with multiple drives and report back.

-jeff


I have tested with VMWare and a RAID1 (two drives), that doesn't work. I also see error scrolling over the screen.
I tried both using the GUI and the command line.

Per

Offline hanscees

  • *
  • 267
  • +0/-0
    • nl.linkedin.com/in/hanscees/
[Contrib] MondoRescue on SME 7 (tested successful)!
« Reply #23 on: August 26, 2006, 04:02:04 PM »
I tested sme7 on vmware with the latets mondo and mindi and that worked. With 1 disk.

Lets test some more please!

Here's what I did:

cd /root
mkdir mondorescue
cd mondorescue

08-2006:
wget ftp://ftp.mondorescue.org/rhel/4/mindi-1.0.9-2.rhel4.i586.rpm
wget ftp://ftp.mondorescue.org/rhel/4/mondo-2.0.9-2.rhel4.i586.rpm
wget ftp://ftp.mondorescue.org/rhel/4/afio-2.4.7-1.i586.rpm


rpm -Uvh *.rpm


mkdir /root/mondoiso
mondoarchive -OiN -E /root/mondoiso   \
-E /home/e-smith/files/ibays/nai/ -d /root/mondoiso

Pretty cool

Hans-Cees
nl.linkedin.com/in/hanscees/

Offline hanscees

  • *
  • 267
  • +0/-0
    • nl.linkedin.com/in/hanscees/
[Contrib] MondoRescue on SME 7 (tested successful)!
« Reply #24 on: September 25, 2006, 08:50:11 PM »
Have tested mondo but there is a bug when resizibg to a smaller disk.
However when restoring to the same disk it seems to work.
We need more people to test with real hardware to be safe!

I did this:

cd /root
mkdir mondorescue
cd mondorescue

wget ftp://ftp.mondorescue.org/rhel/4/mindi-1.0.9-2.rhel4.i586.rpm
wget ftp://ftp.mondorescue.org/rhel/4/mondo-2.0.9-2.rhel4.i586.rpm
wget ftp://ftp.mondorescue.org/rhel/4/afio-2.4.7-1.i586.rpm
rpm -Uvh *.rpm

mkdir /root/mondoiso

mondoarchive -OiN -E "/root/mondoiso   \
 /home/e-smith/files/ibays/nai/"  -d /root/mondoiso

Hans-Cees
nl.linkedin.com/in/hanscees/

xware

[Contrib] MondoRescue on SME 7 (tested successful)!
« Reply #25 on: September 27, 2006, 05:29:52 PM »
Quote from: "hanscees"
Have tested mondo but there is a bug when resizibg to a smaller disk.
However when restoring to the same disk it seems to work.
We need more people to test with real hardware to be safe!

I did this:

cd /root
mkdir mondorescue
cd mondorescue

wget ftp://ftp.mondorescue.org/rhel/4/mindi-1.0.9-2.rhel4.i586.rpm
wget ftp://ftp.mondorescue.org/rhel/4/mondo-2.0.9-2.rhel4.i586.rpm
wget ftp://ftp.mondorescue.org/rhel/4/afio-2.4.7-1.i586.rpm
rpm -Uvh *.rpm

mkdir /root/mondoiso

mondoarchive -OiN -E "/root/mondoiso   \
 /home/e-smith/files/ibays/nai/"  -d /root/mondoiso

Hans-Cees


I did exactly this but it generates some stuff with md0 and md1 (I have only one ATA disk... No RAID..) that makes impossible to restore as, of course, I try to restore on an single ATA disk..

This is what I get when I type that :

[root@webcube mondoiso]# mondoarchive -OiNF -E /root/mondoiso -E /home/e-smith/files/ibays/setup -d /root/mondoiso
Initializing...
See /var/log/mondo-archive.log for details of backup run.
Checking sanity of your Linux distribution
Disque /dev/md1 ne contient pas une table de partition valide (means in french : /dev/md1 has no valid partition table)
Disque /dev/md2 ne contient pas une table de partition valide (idem for /dev/md2)
Done.

The backups generates an iso, but the iso cannot recreate the md1 and md2 and fails..

Any idea?

Offline hanscees

  • *
  • 267
  • +0/-0
    • nl.linkedin.com/in/hanscees/
[Contrib] MondoRescue on SME 7 (tested successful)!
« Reply #26 on: September 27, 2006, 09:04:29 PM »
Quote from: "xware"
Quote from: "hanscees"
Have tested mondo but there is a bug when resizibg to a smaller disk.
However when restoring to the same disk it seems to work.
We need more people to test with real hardware to be safe!

I did this:

cd /root
mkdir mondorescue
cd mondorescue

wget ftp://ftp.mondorescue.org/rhel/4/mindi-1.0.9-2.rhel4.i586.rpm
wget ftp://ftp.mondorescue.org/rhel/4/mondo-2.0.9-2.rhel4.i586.rpm
wget ftp://ftp.mondorescue.org/rhel/4/afio-2.4.7-1.i586.rpm
rpm -Uvh *.rpm

mkdir /root/mondoiso

mondoarchive -OiN -E "/root/mondoiso   \
 /home/e-smith/files/ibays/nai/"  -d /root/mondoiso

Hans-Cees


I did exactly this but it generates some stuff with md0 and md1 (I have only one ATA disk... No RAID..) that makes impossible to restore as, of course, I try to restore on an single ATA disk..

This is what I get when I type that :

[root@webcube mondoiso]# mondoarchive -OiNF -E /root/mondoiso -E /home/e-smith/files/ibays/setup -d /root/mondoiso
Initializing...
See /var/log/mondo-archive.log for details of backup run.
Checking sanity of your Linux distribution
Disque /dev/md1 ne contient pas une table de partition valide (means in french : /dev/md1 has no valid partition table)
Disque /dev/md2 ne contient pas une table de partition valide (idem for /dev/md2)
Done.

The backups generates an iso, but the iso cannot recreate the md1 and md2 and fails..

Any idea?


Are you using sme7, and not beta version?

Hans-Cees
nl.linkedin.com/in/hanscees/

xware

[Contrib] MondoRescue on SME 7 (tested successful)!
« Reply #27 on: September 29, 2006, 12:11:14 PM »
No, I am using no beta..

Don't ask me why.. I reattempted to generate an iso, and it worked this time..  :oops:

There are some erros in restoring, but I presume it's due to the omitting of some ibays in the set.. I'll check the log and see.

Thanks anyway.

Offline dadoudidon

  • *
  • 84
  • +0/-0
[Contrib] MondoRescue on SME 7 (tested successful)!
« Reply #28 on: October 18, 2006, 03:32:18 PM »
hello,
sme7 and 1 ata hard drive

i did

cd /root
mkdir mondorescue
cd mondorescue

wget ftp://ftp.mondorescue.org/rhel/4/mindi-1.0.9-2.rhel4.i586.rpm
wget ftp://ftp.mondorescue.org/rhel/4/mondo-2.0.9-2.rhel4.i586.rpm
wget ftp://ftp.mondorescue.org/rhel/4/afio-2.4.7-1.i586.rpm
rpm -Uvh *.rpm

mondoarchive
i choose hard drive
700Mo size
save all

It seems to work find creating isos. I would like to know if there is special command line to type after restoring ( as it was with sme6)?

thks for your help
dave

Offline Teviot

  • *
  • 610
  • +0/-0
[Contrib] MondoRescue on SME 7 (tested successful)!
« Reply #29 on: December 15, 2006, 03:52:29 AM »
Has someone created a interface to go into server-manager?

I think this would be good.  I would create one myself but don't know how to put code together.

Maybe even an install script or rpm that installs all required contribs to do this.
Regards
M0GLJ
......................................................
I am new to SAIL SME Server v8b6 and have been using SME for many years.
I have already done some research and only ask questions if I still can't work it out.

discovery

[Contrib] MondoRescue on SME 7 (tested successful)!
« Reply #30 on: January 01, 2007, 12:03:32 AM »
Hi All!!!!  Happy New Year 2007

The link to the quick and dirty install is dead (mondo 2.0.9-1 and mindi 1.0.9-1)

http://www.gerst.no-ip.com/SME7/mondo/install_mondo.sh

Does anyone have a copy of the script available for download??

Cheers

Discovery

Offline mmccarn

  • *
  • 2,626
  • +10/-0
[Contrib] MondoRescue on SME 7 (tested successful)!
« Reply #31 on: January 02, 2007, 01:57:27 PM »
Here are the contents of the script written by dgerst, but this is effectively identical to the manual steps given by hancees in this post: http://forums.contribs.org/index.php?topic=31628.0.

Also, Mondo version 2.2 has been released
install_mondo.sh
Code: [Select]
# mondorescue for SME 7
# written by Daniel Gerst
# Revision 1.0

#!/bin/bash

clear

echo "-----------------------------------------------------------"
echo " Installtion script for mondorescue v1.0                    "
echo "-----------------------------------------------------------"
echo
echo "This script will install all required components to run    "
echo "mondorescue on a SME Server 7. Mondorescue was successfully"
echo "tested on a SME 7."
echo
echo
echo "Press any key to countinue or press Ctrl+C to abort        "
echo "installation."

read x

cd /root
mkdir mondorescue
cd mondorescue

echo "Downloading required files..."

wget -q http://mondorescue.linjection.org/ftp/rhel/4/mondo-2.0.9-1.rhel4.i586.rpm
wget -q http://mondorescue.linjection.org/ftp/rhel/4/mindi-1.0.9-1.rhel4.i586.rpm
wget -q http://mondorescue.linjection.org/ftp/rhel/4/afio-2.4.7-1.i586.rpm
wget -q http://mondorescue.linjection.org/ftp/rhel/4/mondo-doc-2.0.9-1.rhel4.src.rpm

echo -n "Installing downloaded files..."
echo
rpm -Uvh *.rpm

cd ..
echo "Removing downloaded files..."
# rm -f -R mondorescue

echo "Gui will be accessable via command mondoarchive."
echo "For CronJob-Script see manpages."

PP1964

MONDO RESCUE
« Reply #32 on: January 03, 2007, 05:22:28 AM »
bonne année et bon courage:

code légèrement modifié:

# mondorescue pour SME 7
# written by Daniel Gerst
# Revision 1.0 modif pierre

#!/bin/bash

clear

echo "-----------------------------------------------------------"
echo " script d'Installtion de mondorescue v2.2                  "
echo "-----------------------------------------------------------"
echo
echo "ce script installe les fichiers nécessaire pour exécuter   "
echo "mondorescue pour SME Server 7. Mondorescue a été testé avec"
echo "sucess sur SME 7."
echo
echo
echo "Presse une touche pour countinuer ou presse Ctrl+C pour annuler"
echo "installation."

read x

cd /root
mkdir mondorescue
cd mondorescue

echo "téléchargement des fichiers..."

wget -q http://mondorescue.linjection.org/ftp/rhel/4/mondo-2.2.0-2.rhel4.i586.rpm
wget -q http://mondorescue.linjection.org/ftp/rhel/4/mindi-1.2.0-2.rhel4.i586.rpm
wget -q http://mondorescue.linjection.org/ftp/rhel/4/afio-2.4.7-1.i586.rpm
wget -q http://mondorescue.linjection.org/ftp/rhel/4/mondo-doc-2.2.0-2.rhel4.src.rpm
wget -q http://mondorescue.linjection.org/ftp/rhel/4/mindi-busybox-1.2.1-2.rhel4.i586.rpm
echo -n "Installation des fichiers téléchargés..."
echo
rpm -Uvh *.rpm

cd ..
echo "supression des fichiers téléchargés..."
# rm -f -R mondorescue

echo "Gui,interface graphique accessible par la commande mondoarchive."
echo "pour CronJob-Script regarder manpages."

pippin

[Contrib] MondoRescue on SME 7 (tested successful)!
« Reply #33 on: January 03, 2007, 08:10:33 PM »
Where is this GUI for this one?

oblooblo2000

[Contrib] MondoRescue on SME 7 (tested successful)!
« Reply #34 on: January 05, 2007, 10:54:41 AM »
hy,
so sad that no more gui are implement, however, thanks for effort!

I tried this command and got a problem, if can help, will be gratefull!

Code: [Select]
mondoarchive -OiNV -S 4200m -9 -E "/opt/backuppc/manual_backup /opt/backuppc/files/pc /home/e-smith/files/ibays /home/e-smith/files/users" -d /opt/backuppc/manual_backup/


Quote

---FATALERROR--- Failed to generate boot+data disks

Log file: /var/log/mondo-archive.log
FYI, I have gzipped the log and saved it to /tmp/MA.log.gz
Mondo has aborted.
Execution run ended; result=254
Type 'less /var/log/mondo-archive.log' to see the output log


log:

Quote

You are using Mindi-Linux v1.0.7-r460 to make boot+data disks
Analyzing dependency requirements                               Done.
Making complete dependency list                                 Done.
Analyzing your keyboard's configuration.

Adding the following keyboard mapping tables: fr.map.gz         Done.
Assembling dependency files...........................................Backing up /dev/sda's MBR

Creating /dev/boot_device (/dev/sda)

                                                                Done.
The files have been subdivided into 5 directories.                                                  Your mountlist will look like this:-
File descriptor 3 left open
File descriptor 3 left open
    Finding all volume groups
    Finding volume group "main"
File descriptor 3 left open
File descriptor 3 left open
File descriptor 3 left open
File descriptor 3 left open
File descriptor 3 left open
File descriptor 3 left open
File descriptor 3 left open
        DEVICE          MOUNTPOINT      FORMAT          SIZE (MB)
        /dev/md2        lvm             lvm               34624
        /dev/main/root  /               ext3                lvm
        /dev/md1        /boot           ext3                101
        /dev/main/swap  swap            swap                lvm
find: /dev/ida/c*d*: Aucun fichier ou répertoire de ce type
        /dev/sda1       raid            raid                101
find: /dev/ida/c*d*: Aucun fichier ou répertoire de ce type
        /dev/sdb1       raid            raid                101
find: /dev/ida/c*d*: Aucun fichier ou répertoire de ce type
        /dev/sdb2       raid            raid              69900
find: /dev/ida/c*d*: Aucun fichier ou répertoire de ce type
        /dev/sda2       raid            raid              34624
File descriptor 3 left open
File descriptor 3 left open
    Finding all volume groups
    Finding volume group "main"
File descriptor 3 left open
File descriptor 3 left open
File descriptor 3 left open
File descriptor 3 left open
File descriptor 3 left open
File descriptor 3 left open
File descriptor 3 left open
Tarring and zipping the groups................../usr/sbin/mindi: line 2875: 4200m/mondo.scratch.10321/mondo.scratch.32751/images/all.tar.gz: Aucun fichier ou répertoire de ce type
du: ne peut accéder `4200m/mondo.scratch.10321/mondo.scratch.32751/images/all.tar.gz': Aucun fichier ou répertoire de ce type
/usr/sbin/mindi: line 2876: [: : integer expression expected
                                                                Done.
Creating data disk #1...#2...#3...#4...#5...                    Done.
Making 1722KB boot disk.........................../usr/sbin/mindi: line 2014: 4200m/mondo.scratch.10321/mondo.scratch.32751/images/mindi-bootroot.1722.img: Aucun fichier ou répertoire de ce type
Fatal error. Cannot dd blank file

Please e-mail a copy of /tmp/mindi.err.25849.tgz to the mailing list.

See http://www.mondorescue.org for more information.

WE CANNOT HELP unless you enclose that file.

Mindi failed to create your boot+data disks.
Fatal error. Cannot dd blank file
[Main] newt-specific.c->fatal_error#366: Fatal error received - 'Failed to generate boot+data disks'
                [Main] newt-specific.c->fatal_error#384: OK, I think I'm the main PID.
        [Main] newt-specific.c->fatal_error#392: I'm going to do some cleaning up now.
                        [Main] newt-specific.c->fatal_error#393: killall mindi 2> /dev/null
running: kill `ps wax | grep "/mondo/do-not" | awk '{print $1;}' | grep -vx "\?"` > /tmp/mondo-run-prog-thing.tmp 2> /tmp/mondo-run-prog-thing.err
--------------------------------start of output-----------------------------
--------------------------------end of output------------------------------
...ran with res=15
running: kill `ps wax | grep "tmp.mondo" | awk '{print $1;}' | grep -vx "\?"` > /tmp/mondo-run-prog-thing.tmp 2> /tmp/mondo-run-prog-thing.err
--------------------------------start of output-----------------------------
--------------------------------end of output------------------------------
...ran with res=15
running: kill `ps wax | grep "ntfsclone" | awk '{print $1;}' | grep -vx "\?"` > /tmp/mondo-run-prog-thing.tmp 2> /tmp/mondo-run-prog-thing.err
--------------------------------start of output-----------------------------
--------------------------------end of output------------------------------
...ran with res=15
        [Main] newt-specific.c->fatal_error#401: Waiting for child processes to terminate
        [Main] newt-specific.c->fatal_error#401: Waiting for child processes to terminate
        [Main] newt-specific.c->fatal_error#401: Waiting for child processes to terminate
        [Main] newt-specific.c->fatal_error#401: Waiting for child processes to terminate
        [Main] newt-specific.c->fatal_error#401: Waiting for child processes to terminate
        [Main] newt-specific.c->fatal_error#401: Waiting for child processes to terminate
        [Main] newt-specific.c->fatal_error#401: Waiting for child processes to terminate
        [Main] newt-specific.c->fatal_error#401: Waiting for child processes to terminate
        [Main] newt-specific.c->fatal_error#401: Waiting for child processes to terminate
        [Main] newt-specific.c->fatal_error#401: Waiting for child processes to terminate
        [Main] libmondo-files.c->register_pid#812: Unregistering PID
        [Main] libmondo-files.c->register_pid#812: Unregistering PID
        [Main] libmondo-files.c->register_pid#814: Error unregistering PID
running: umount /mnt/cdrom > /tmp/mondo-run-prog-thing.tmp 2> /tmp/mondo-run-prog-thing.err
--------------------------------start of output-----------------------------
umount: /mnt/cdrom: n'est pas mont
--------------------------------end of output------------------------------
...ran with res=256
running: rm -Rf /mondo.scratch.* /tmp.mondo.* > /tmp/mondo-run-prog-thing.tmp 2> /tmp/mondo-run-prog-thing.err
--------------------------------start of output-----------------------------
--------------------------------end of output------------------------------
...ran just fine. :-)
running: rm -Rf /Disponible/tmp.mondo.990/tmp.mondo.11256 4200m/mondo.scratch.10321/mondo.scratch.32751 > /tmp/mondo-run-prog-thing.tmp 2> /tmp/mondo-run-prog-thing.err
--------------------------------start of output-----------------------------
--------------------------------end of output------------------------------
...ran just fine. :-)
        [Main] libmondo-tools.c->do_libmondo_global_strings_thing#1580: libmondo-tools.c, do_libmondo_global_strings_thing, 1580: Freeing globals



I'm looking why, then tried to upgrade to the latest version !!

oblooblo2000

[Contrib] MondoRescue on SME 7 (tested successful)!
« Reply #35 on: January 05, 2007, 03:46:32 PM »
ok, I update my config without problem, however, I've got error with this command:

Code: [Select]


 mondoarchive -OiNVL -S 4200m -9 /opt/phpldapadmin -d /opt/backuppc/manual_backup/mondo/ -T /tmp



j'ai
Quote
/var/log/mondo-archive.log


running: dmesg -n1 > /tmp/mondo-run-prog-thing.tmp 2> /tmp/mondo-run-prog-thing.err
--------------------------------start of output-----------------------------
--------------------------------end of output------------------------------
...ran just fine. :-)
Mondo Archive v2.0.7-460 --- http://www.mondorescue.org
running on i386 architecture
-----------------------------------------------------------
NB: Mondo logs almost everything, so don't panic if you see
some error messages.  Please read them carefully before you
decide to break out in a cold sweat.    Despite (or perhaps
because of) the wealth of messages. some users are inclined
to stop reading this log. If Mondo stopped for some reason,
chances are it's detailed here.  More than likely there's a
message at the very end of this log that will tell you what
is wrong. Please read it!                          -Devteam
-----------------------------------------------------------
Zero...
[Main] main.c->welcome_to_mondoarchive#179: One...
        [Main] main.c->welcome_to_mondoarchive#180: Two...
             [Main] main.c->welcome_to_mondoarchive#181: Three...
              [Main] main.c->welcome_to_mondoarchive#182: Four...
        [Main] main.c->distro_specific_kludges_at_start_of_mondoarchive#199: Unmounting old ramdisk
s if necessary
running: umount `mount | grep shm | grep mondo | cut -d' ' -f3` > /tmp/mondo-run-prog-thing.tmp 2>
/tmp/mondo-run-prog-thing.err
--------------------------------start of output-----------------------------
Usage: umount [-hV]
umount -a [-f] [-r] [-n] [-v] [-t type-vfs] [-O opts]
umount [-f] [-r] [-n] [-v] scial | noeud...
--------------------------------end of output------------------------------
...ran with res=512
running: mount | grep cdrom | grep super > /tmp/mondo-run-prog-thing.tmp 2> /tmp/mondo-run-prog-thi
ng.err
--------------------------------start of output-----------------------------
--------------------------------end of output------------------------------
...ran with res=256
running: mount | grep floppy | grep super > /tmp/mondo-run-prog-thing.tmp 2> /tmp/mondo-run-prog-th
ing.err
--------------------------------start of output-----------------------------
--------------------------------end of output------------------------------
...ran with res=256
[Main] libmondo-tools.c->mount_boot_if_necessary#1387: Started sub
              [Main] libmondo-tools.c->mount_boot_if_necessary#1388: About to set g_boot_mountpt[0]
 to '\0'
              [Main] libmondo-tools.c->mount_boot_if_necessary#1390: Done. Great. Seeting command t
o something
              [Main] libmondo-tools.c->mount_boot_if_necessary#1393: Cool. Command = 'grep -v ":" /
etc/fstab | grep -vx "#.*" | grep -w "/boot" | tr -s ' ' ' ' | cut -f1 | head -n1'
              [Main] libmondo-tools.c->mount_boot_if_necessary#1395: tmp = '/dev/md1'
        [Main] libmondo-tools.c->mount_boot_if_necessary#1397: /boot is at /dev/md1 according to /e
tc/fstab
             [Main] libmondo-tools.c->mount_boot_if_necessary#1407: command = mount | grep -w "/dev
/md1"
[Main] libmondo-tools.c->mount_boot_if_necessary#1429: Ended sub
[Main] libmondo-tools.c->get_kernel_version#394: g_kernel_version = 2.690000
[Main] libmondo-tools.c->reset_bkpinfo#948: Hi
root is mounted at /dev/mapper/main-root

No, Schlomo, that doesn't mean /dev/mapper/main-root is the root partition. It's just a debugging m
essage. Relax. It's part of am_I_in_disaster_recovery_mode().
[Main] libmondo-devices.c->am_I_in_disaster_recovery_mode#363: Is this a ramdisk? result = 0
running: rm -Rf /tmp/changed.files* > /tmp/mondo-run-prog-thing.tmp 2> /tmp/mondo-run-prog-thing.er
r
--------------------------------start of output-----------------------------
--------------------------------end of output------------------------------
...ran just fine. :-)
Checking sanity of your Linux distribution
        [Main] libmondo-tools.c->some_basic_system_sanity_checks#1082: Free space on given partitio
n = 23599 MB
running: grep ramdisk /proc/devices > /tmp/mondo-run-prog-thing.tmp 2> /tmp/mondo-run-prog-thing.er
r
--------------------------------start of output-----------------------------
1 ramdisk
--------------------------------end of output------------------------------
...ran just fine. :-)
running: mount | grep -w vfat | grep -v /dev/fd | grep -v nexdisk > /tmp/mondo-run-prog-thing.tmp 2
> /tmp/mondo-run-prog-thing.err
--------------------------------start of output-----------------------------
--------------------------------end of output------------------------------
...ran with res=256
running: mount | grep -w dos | grep -v /dev/fd | grep -v nexdisk > /tmp/mondo-run-prog-thing.tmp 2>
 /tmp/mondo-run-prog-thing.err
--------------------------------start of output-----------------------------
--------------------------------end of output------------------------------
...ran with res=256
              [Main] libmondo-files.c->find_home_of_exe#431: find_home_of_exe () --- Found cmp at /
usr/bin/cmp
running: mindi -V > /tmp/mondo-run-prog-thing.tmp 2> /tmp/mondo-run-prog-thing.err
--------------------------------start of output-----------------------------
mindi v1.0.7-r460
--------------------------------end of output------------------------------
...ran just fine. :-)
running: parted2fdisk -l | grep -i raid > /tmp/mondo-run-prog-thing.tmp 2> /tmp/mondo-run-prog-thin
g.err
--------------------------------start of output-----------------------------
/dev/sda1   *           1          13      104391   fd  Linux raid autodetect
/dev/sda2              14        4427    35455455   fd  Linux raid autodetect
/dev/sdb1   *           1          13      104391   fd  Linux raid autodetect
/dev/sdb2              14        8924    71577607+  fd  Linux raid autodetect
--------------------------------end of output------------------------------
...ran just fine. :-)
Done.
        [Main] libmondo-devices.c->sensibly_set_tmpdir_and_scratchdir#2542: bkpinfo->tmpdir is bein
g set to /Disponible/tmp.mondo.8517
        [Main] libmondo-devices.c->sensibly_set_tmpdir_and_scratchdir#2546: bkpinfo->scratchdir is
being set to /Disponible/mondo.scratch.5235
Invalid arg -- /opt/phpldapadmin

             [Main] mondo-cli.c->handle_incoming_parameters#266: Switches:-
             [Main] mondo-cli.c->handle_incoming_parameters#270: -9
             [Main] mondo-cli.c->handle_incoming_parameters#270: -L
             [Main] mondo-cli.c->handle_incoming_parameters#270: -N
             [Main] mondo-cli.c->handle_incoming_parameters#270: -O
             [Main] mondo-cli.c->handle_incoming_parameters#270: -S 4200m
             [Main] mondo-cli.c->handle_incoming_parameters#270: -T /tmp
             [Main] mondo-cli.c->handle_incoming_parameters#270: -V
             [Main] mondo-cli.c->handle_incoming_parameters#270: -d /opt/backuppc/manual_backup/mon
do/
             [Main] mondo-cli.c->handle_incoming_parameters#270: -i
[Main] main.c->main#430: Mondoarchive will now exit.
        [Main] libmondo-files.c->register_pid#812: Unregistering PID
running: umount /mnt/cdrom > /tmp/mondo-run-prog-thing.tmp 2> /tmp/mondo-run-prog-thing.err
--------------------------------start of output-----------------------------
umount: /mnt/cdrom: n'est pas mont
--------------------------------end of output------------------------------
...ran with res=256
running: rm -Rf /mondo.scratch.* /tmp.mondo.* > /tmp/mondo-run-prog-thing.tmp 2> /tmp/mondo-run-pro
g-thing.err
--------------------------------start of output-----------------------------
--------------------------------end of output------------------------------
...ran just fine. :-)
running: rm -Rf /Disponible/tmp.mondo.8517 /Disponible/mondo.scratch.5235 > /tmp/mondo-run-prog-thi
ng.tmp 2> /tmp/mondo-run-prog-thing.err
--------------------------------start of output-----------------------------
--------------------------------end of output------------------------------
...ran just fine. :-)
        [Main] libmondo-tools.c->do_libmondo_global_strings_thing#1580: libmondo-tools.c, do_libmon
do_global_strings_thing, 1580: Freeing globals



if someone got idea !!!

Offline hanscees

  • *
  • 267
  • +0/-0
    • nl.linkedin.com/in/hanscees/
[Contrib] MondoRescue on SME 7 (tested successful)!
« Reply #36 on: January 06, 2007, 08:48:16 PM »
Hi,
I have tried the latest mondo (2.2.1) and could not restore into a vmware.
Below what I did.

Someone backuped an sme7 recently and restored correctly?
I have entered a bug report to mondo.

Hans-Cees



cd /root
mkdir mondorescue
cd mondorescue

01012007
wget ftp://ftp.mondorescue.org/rhel/4/afio-2.4.7-1.i586.rpm
wget ftp://ftp.mondorescue.org/rhel/4/mindi-1.2.1-1.rhel4.i586.rpm
wget ftp://ftp.mondorescue.org/rhel/4/mindi-busybox-1.2.2-
1.rhel4.i586.rpm     
 wget ftp://ftp.mondorescue.org/rhel/4/mondo-2.2.1-1.rhel4.i586.rpm

rpm -Uvh mindi-busybox-1.2.2-1.rhel4.i586.rpm
rpm -Uvh mindi-1.2.1-1.rhel4.i586.rpm
rpm -Uvh mondo-2.2.1-1.rhel4.i586.rpm


mkdir /root/mondoiso

mondoarchive -OiN -E "/root/mondoiso   \
 /home/e-smith/files/ibays/nai/"  -d /root/mondoiso
nl.linkedin.com/in/hanscees/

oblooblo2000

[Contrib] MondoRescue on SME 7 (tested successful)!
« Reply #37 on: January 11, 2007, 02:41:58 PM »
Ok, look's like not really working easily with sata, scsi... or else...

I downloaded slax, and knoppix liveCd. I think that the best is to boot on these liveCD, copy all files of the desired partition, burn it on DVD, then restore in the same way.
I stop with backupMondoRescue, tired...

Offline hanscees

  • *
  • 267
  • +0/-0
    • nl.linkedin.com/in/hanscees/
[Contrib] MondoRescue on SME 7 (tested successful)!
« Reply #38 on: January 11, 2007, 09:03:12 PM »
Quote from: "oblooblo2000"
Ok, look's like not really working easily with sata, scsi... or else...

I downloaded slax, and knoppix liveCd. I think that the best is to boot on these liveCD, copy all files of the desired partition, burn it on DVD, then restore in the same way.
I stop with backupMondoRescue, tired...


I usually just use backup and restore into a new install. Works best for me.
nl.linkedin.com/in/hanscees/

Offline TheMonk

  • 14
  • +0/-0
[Contrib] MondoRescue on SME 7 (tested successful)!
« Reply #39 on: January 13, 2007, 06:11:50 PM »
After having read through this thread I'm a bit puzzeled about the "Tested Successful" headline

Can someone explain  :?:
......

oblooblo2000

[Contrib] MondoRescue on SME 7 (tested successful)!
« Reply #40 on: January 22, 2007, 07:38:15 AM »
Quote from: "hanscees"


I usually just use backup and restore into a new install. Works best for me.

Not working for me, too much data for the save process... with not cutting it in little part... or excludind some directory...

The solution I will implement will be:

1/ booting with a live CD and a backup hdd (no mount of partitions)
2/
save
dd if=/dev/hda | gzip | dd of=/path_to/save.gz
restore
gzip -dc /path_to/saave.gz | dd of=/dev/hda


To clone the two disks (hda is main, hdb is the backup)
dd if=/dev/hda of=/dev/hdb
dd if=/dev/hda of=/dev/hdb bs=512 count=1 (for the mbr)

oblooblo2000


Offline dadoudidon

  • *
  • 84
  • +0/-0
[Contrib] MondoRescue on SME 7 (tested successful)!
« Reply #42 on: May 10, 2007, 03:55:58 PM »
does anyone reports a good restore with mondo on sme7?

Offline mmccarn

  • *
  • 2,626
  • +10/-0
[Contrib] MondoRescue on SME 7 (tested successful)!
« Reply #43 on: May 11, 2007, 03:12:32 PM »
I was able to restore from a mondo image last fall using SME 7.0, identical computers and IDE hard drives.

Offline dadoudidon

  • *
  • 84
  • +0/-0
[Contrib] MondoRescue on SME 7 (tested successful)!
« Reply #44 on: May 16, 2007, 11:59:02 AM »
thks mmccarn,

Can you explain plz the rpm's you have installed? and how?
I have sme7.1.3 and 1 ide drive
I would like to backup all my system to iso files (and restore using cds in case)
Is it the way you have used Mondo?

David

Offline mmccarn

  • *
  • 2,626
  • +10/-0
[Contrib] MondoRescue on SME 7 (tested successful)!
« Reply #45 on: May 16, 2007, 03:09:14 PM »
I used the procedure given by hancees: http://forums.contribs.org/index.php?topic=31628.0.

I did this on 7.0; I don't know if it still works with 7.1.3...

It is probable that there are newer versions of some of these rpms; you may have to figure out the latest version numbers and download those...

Here's a link to the root of the mondo ftp store: ftp://ftp.mondorescue.org/rhel/; you need to figure out if you want rhel4 or rhel5, then download mindi, mondo and afio from the appropriate folder...

It's likely that there's a 'yum' command that will do it for you automatically, but I don't know it...

Offline dadoudidon

  • *
  • 84
  • +0/-0
[Contrib] MondoRescue on SME 7 (tested successful)!
« Reply #46 on: June 16, 2007, 06:53:43 PM »
Quote from: "hanscees"
I tested sme7 on vmware with the latets mondo and mindi and that worked. With 1 disk.

Lets test some more please!

Here's what I did:

cd /root
mkdir mondorescue
cd mondorescue

08-2006:
wget ftp://ftp.mondorescue.org/rhel/4/mindi-1.0.9-2.rhel4.i586.rpm
wget ftp://ftp.mondorescue.org/rhel/4/mondo-2.0.9-2.rhel4.i586.rpm
wget ftp://ftp.mondorescue.org/rhel/4/afio-2.4.7-1.i586.rpm


rpm -Uvh *.rpm


mkdir /root/mondoiso
mondoarchive -OiN -E /root/mondoiso   \
-E /home/e-smith/files/ibays/nai/ -d /root/mondoiso

Pretty cool

Hans-Cees


I did some tests

my computer:
PIII 1.2ghz 512Mo 1ide drive 40Go

1/ install of a fresh sme 7.1 (noraid nolvm)
installing latest mondo
mondoarchive report fatal error cause not enought free space in the active partition

2/ install of a fresh sme 7.0 (noraid)
cd /root
mkdir mondorescue
cd mondorescue
wget ftp://ftp.mondorescue.org/rhel/4/mindi-1.0.9-2.rhel4.i586.rpm
wget ftp://ftp.mondorescue.org/rhel/4/mondo-2.0.9-2.rhel4.i586.rpm
wget ftp://ftp.mondorescue.org/rhel/4/afio-2.4.7-1.i586.rpm
yum localinstall *.rpm
(rpm -Uvh *.rpm does not work because of dependencies missing)

mondoarchive->hard disk-> iso ok

burning the iso
running qtparted from a live cd to delete all partitions on the sme server
boot from the cd
reporting some errors but reboot gave me my previous sme 7.0 running ok

3/ done update to sme 7.1.3
mondoarchive ok
burn
delete partitons
reboot on the cd
restore ok ( a lot of warnings)
but reboot gave me my previous sme 7.1.3 running well :D

It seems that latest versions of mondo, mindi does not seems to work on sme (in my case)

DAvid

Offline dadoudidon

  • *
  • 84
  • +0/-0
[Contrib] MondoRescue on SME 7 (tested successful)!
« Reply #47 on: July 06, 2007, 10:16:47 AM »
I did more test

 install of a fresh sme 7.1 (sme nolvm raid1)
update to sme 7.1.3

cd /root
mkdir mondorescue
cd mondorescue
wget ftp://ftp.mondorescue.org/rhel/4/mindi-1.0.9-2.rhel4.i586.rpm
wget ftp://ftp.mondorescue.org/rhel/4/mondo-2.0.9-2.rhel4.i586.rpm
wget ftp://ftp.mondorescue.org/rhel/4/afio-2.4.7-1.i586.rpm
yum localinstall *.rpm

Ran Mondoarchive

backup done
iso burned

restoring from cd nuke option
crash after building partition
It seems that it can't re-create partitions proprely ti suite the need of the restore.

Maybe something is wrong in the deplist and we maybe need to add more things in it.


I need more people to test this, and if someone know well mondorescue (a lot of people were usng it in sme6) I am sure that it can work.

So if you think that mondorescue is a good way to backup/restore a system please help me to work on it

Dave