martin|surf is religion | 1 Aug 2008 04:52
Picon
Favicon

How to do a complete system backup and restore

Hello!

There's been quite a time I discovered MondoRescue and been keeping an eye close to it since seems a very handy tool.

However due to my technical -and time- limitations I didn't find already a streamlined way to do a complete system backup/recovery.

I did use Remastersys some time ago because I like the full automation it features, just build your ISO and burn, but lately I've encountered some problems with backups, not being able to recover them or, which's the same, after installing the system from the LiveDVD found I cannot login with my credentials, weird.

Also I tried SysRescCD but found it too time consuming and manually cumbersone just to do a quick backup/restore; may be I'm bad used to work with Acronis TrueImage, a tool I used *a lot* in W$ before switching to Linux - BTW Acronis recovery module runs under Linux >:)

So, being Mindi capable of creating booteable media and Mondo so powerfull I wonder if any of you have an idea of how can I do a selective/complete backup of my system, specially the partition. I have three hard disks now partitioned this way:

Hard disk 1:
/dev/sda1      ext3    /
/dev/sda2      extended
   /dev/sda5   ext3  /media/b1

Hard disk 2:
/dev/sdb1      linux-swap
/dev/sdb2      extended
   /dev/sdb5   ext3    /tmp
   /dev/sdb6   ext3    /media/b2

Hard disk 3:
/dev/sdc1      ext3    /home


I would like at least backup the  /  partition and be able to restore it in an automated way.
/media/b1 and b2 and /home partitions hold stuff I already backup uncompressed for easy access (you know, mp3, vids, pictures, documents, etc.)

I would be cool, though, if I can do an automatic full system backup/restore to keep snapshots of the current system.

Thanks!
Martin Cigorraga
Mar del Plata / Argentina


¡Buscá desde tu celular! Yahoo! oneSEARCH ahora está en Claro
http://ar.mobile.yahoo.com/onesearch
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Mondo-devel mailing list
Mondo-devel <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mondo-devel
Mad Unix | 1 Aug 2008 09:04
Picon

DVD


I've purchased an LG DVD Burner (GSA-E60L) External super Multi DVD Rewiter for my PE2950 Dell Server attached via USB.
Can someone guide me to set up the DVD with Linux and mondoarchive as commnad line to take a full backup of my system on DVD.?

[root <at> PowerEdge1 /]#  cdrecord -scanbus
Cdrecord-Clone 2.01 (cpu-pc-linux-gnu) Copyright (C) 1995-2004 Jörg Schilling
Note: This version is an unofficial (modified) version with DVD support
Note: and therefore may have bugs that are not present in the original.
Note: Please send bug reports or support requests to http://bugzilla.redhat.com/bugzilla
Note: The author of cdrecord should not be bothered with problems in this version.
Linux sg driver version: 3.5.27
Using libscg version 'schily-0.8'.
cdrecord: Warning: using inofficial libscg transport code version (schily - Red Hat-scsi-linux-sg.c-1.83-RH ' <at> (#)scsi-linux-sg.c1.83 04/05/20 Copyright 1997 J. Schilling').
scsibus2:
        2,0,0   200) 'Dell    ' 'Virtual  CDROM  ' '123 ' Removable CD-ROM
        2,1,0   201) *
        2,2,0   202) *
        2,3,0   203) *
        2,4,0   204) *
        2,5,0   205) *
        2,6,0   206) *
        2,7,0   207) *
scsibus6:
        6,0,0   600) 'HL-DT-ST' 'DVD-RAM GSA-E60L' '1.00' Removable CD-ROM
        6,1,0   601) *
        6,2,0   602) *
        6,3,0   603) *
        6,4,0   604) *
        6,5,0   605) *
        6,6,0   606) *
        6,7,0   607) *
[root <at> PowerEdge1 /]# uname -a
Linux PowerEdge1 2.6.18-92.1.6.el5 #1 SMP Wed Jun 25 13:45:47 EDT 2008 x86_64 x86_64 x86_64 GNU/Linux
--
Your search - madunix - did not match any documents.
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Mondo-devel mailing list
Mondo-devel <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mondo-devel
Marco Schwarz | 1 Aug 2008 13:03
Picon

Mondo on SLES9 / Problems with Restore

Hi,

I am trying to set up mondo on 2 new servers, both with SLES9/SP4.

Everything seems to run fine when doing backup, but when I try to restore, I get an error in the partition
table dialog that my ext3 and reiserfs are not supported.

I found out that the modules for ext3, jbd and reiserfs will not load on boot from the Mondo restore CD.

I included my log files from the last backup. Did anyone else encounter this problem or knows what is going
wrong ?

I installed the following from the mondo ftp server:

rpm -Uvh mindi-busybox-1.7.3-1.sles9.i586.rpm 
rpm -Uvh mindi-2.0.3-1.sles9.i586.rpm 
rpm -Uvh afio-2.4.7-1.i386.rpm 
rpm -Uvh buffer-1.19-1.i386.rpm 
rpm -Uvh newt-0.51.6-10.i386.rpm 
rpm -Uvh mondo-2.2.6-1.sles9.i586.rpm 

Best regards,
Marco
Attachment (mondoarchive.log): application/octet-stream, 260 KiB
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Mondo-devel mailing list
Mondo-devel <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mondo-devel
sbangalore | 1 Aug 2008 19:47

Is Mondo Restore on DVD + Grub = Not-Bootable?

Hi,

I have spent the better part of the month trying out Mondo Backup and
Restore from DVD. I have tried 3 scenarios, all of which have failed.

Scenario-1: From Fedora Core 8 to a New Machine

On Fedora Core 8, I did a yum install mondo following the instructions at
wiki. Then, I typed "mondoarchive". A GUI popped up, asking various
questions. I selected DVD, backed up "/" and excluded nothing.

Mondoarchive reported backuo be complete successfully. I now detached the
DVD Drive with the DVD inside it, attached the DVD drive to another
machine, started the new machine, and typed "nuke" at the prompt. I also
allowed the program to automatically configure the grub. The program
reported success. Then, when I removed the DVD and restarted the computer,
grub found fedora, and while starting the kernel, threw the error:

mount: could not find filesystem /dev/root"

I was not able to overcome this problem

*************************************************************************

Scenario-2: From Ubuntu to a New Machine

On a machine that had ubuntu-8.04-Desktop-i386.iso, I typed:

#sudo apt-get install mondo,
#mondoarchive

did the same as before, and tried the DVD on the new machine: - The
restore in nuke mode was apparently successful according to mondorestore,
but when I restarted the new machine, I got a boot error and was dropped
into "initramfs" shell. There was apparently some confusion between hda
and sda - mondo thought hda was the right assignation but ubuntu would
think it was sda. Anyway, I could not get over this problem either ....

*************************************************************************

Scenario-3: From Ubuntu to SAME Machine

Reasoning that the hardware differences might account for strange mondo
behavior, I tried nuking the same machine that I had created the Mondo-DVD
(ubuntu machine). It gave the same problem as scenario 2!!!

*************************************************************************

One common factor has been GRUB in all my tests. I've read Hugo Rabson's
mentioning GRUB has been a difficult thing to get to work with mondo.
Could that be the problem that I am seeing? Has anyone else been able to
do a mondoarchive and nuke-restore with current versions of mondo?

I will appreciate any tips and pointers regarding what I am doing wrong.

Thanks,
Srikanth.

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
François - AUCLAIR | 2 Aug 2008 13:02

Re: Is Mondo Restore on DVD + Grub = Not-Bootable?

hi,

perhaps this could help you...

i use mondo for all my server in redhat ES 4
on some server (i don't know why) when i try to restore , after the 
operation (all is all right) but when the server reboot i have this 
message from grub :"grub loading stage 1.5" and freeze on this..

so this is how i correcte it:

-boot in rescue mode
-mount your file system in /mnt/sysimage (normaly it is automatic with 
fedora in rescue mode)
-when you got prompt type : chroot /mnt/sysimage
-type grub
-in grub type :root (hd0,0)
(hd0,0) is your first HD ,and your first partition that contain
you /boot
-type :setup (hd0)
(that will reinstall grub on this partition)
-type :quit
-reboot

for me this works but i don't know if you have the same probleme

good luck, mondo is wonderfull (excuse my poor english i'm french...)

sbangalore <at> tritechresearch.com a écrit :
> Hi,
> 
> I have spent the better part of the month trying out Mondo Backup and
> Restore from DVD. I have tried 3 scenarios, all of which have failed.
> 
> Scenario-1: From Fedora Core 8 to a New Machine
> 
> On Fedora Core 8, I did a yum install mondo following the instructions at
> wiki. Then, I typed "mondoarchive". A GUI popped up, asking various
> questions. I selected DVD, backed up "/" and excluded nothing.
> 
> Mondoarchive reported backuo be complete successfully. I now detached the
> DVD Drive with the DVD inside it, attached the DVD drive to another
> machine, started the new machine, and typed "nuke" at the prompt. I also
> allowed the program to automatically configure the grub. The program
> reported success. Then, when I removed the DVD and restarted the computer,
> grub found fedora, and while starting the kernel, threw the error:
> 
> mount: could not find filesystem /dev/root"
> 
> I was not able to overcome this problem
> 
> *************************************************************************
> 
> Scenario-2: From Ubuntu to a New Machine
> 
> On a machine that had ubuntu-8.04-Desktop-i386.iso, I typed:
> 
> #sudo apt-get install mondo,
> #mondoarchive
> 
> did the same as before, and tried the DVD on the new machine: - The
> restore in nuke mode was apparently successful according to mondorestore,
> but when I restarted the new machine, I got a boot error and was dropped
> into "initramfs" shell. There was apparently some confusion between hda
> and sda - mondo thought hda was the right assignation but ubuntu would
> think it was sda. Anyway, I could not get over this problem either ....
> 
> 
> *************************************************************************
> 
> Scenario-3: From Ubuntu to SAME Machine
> 
> Reasoning that the hardware differences might account for strange mondo
> behavior, I tried nuking the same machine that I had created the Mondo-DVD
> (ubuntu machine). It gave the same problem as scenario 2!!!
> 
> *************************************************************************
> 
> One common factor has been GRUB in all my tests. I've read Hugo Rabson's
> mentioning GRUB has been a difficult thing to get to work with mondo.
> Could that be the problem that I am seeing? Has anyone else been able to
> do a mondoarchive and nuke-restore with current versions of mondo?
> 
> I will appreciate any tips and pointers regarding what I am doing wrong.
> 
> Thanks,
> Srikanth.
> 
> 
> 
> 
> -------------------------------------------------------------------------
> This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
> Build the coolest Linux based applications with Moblin SDK & win great prizes
> Grand prize is a trip for two to an Open Source event anywhere in the world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> _______________________________________________
> Mondo-devel mailing list
> Mondo-devel <at> lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/mondo-devel

________________________________________________________________________

   Suivez l'actualite  du Groupe Otor sur nos sites Internet
                     http://www.otor.com
                  http://www.otorsystems.com

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
Thomas Börkel | 5 Aug 2008 23:26
Picon

2.2.6 Bugs

HI!

I was trying 2.2.6 on Gentoo and found 2 problems, when running 
mondorestore from a booted system:

1.
It cannot read iso files from 2.2.4.

2.
When I make no selection and choose cancel, it frees memory and then 
restores everything!

Thomas

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
Bruno Cornec | 6 Aug 2008 11:22
Picon
Favicon

Re: DR

Mad Unix said on Mon, Jul 14, 2008 at 08:33:45AM +0200:

> Do you know agood document to deploy linux images on different HW from SCSI
> to SAS or others
> or any tips out of your experienc!

Cf: http://www.mondorescue.org/docs/hwmigration-2.3.pdf

Bruno.
--

-- 
Linux Profession Lead EMEA  / Open Source Evangelist \        HP C&I EMEA IET
http://www.mondorescue.org / HP/Intel Solution Center \  http://hpintelco.net
Des infos sur Linux?  http://www.HyPer-Linux.org      http://www.hp.com/linux
La musique ancienne?  http://www.musique-ancienne.org http://www.medieval.org

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
Bruno Cornec | 6 Aug 2008 11:25
Picon
Favicon

Re: DR

Mad Unix said on Mon, Jul 14, 2008 at 08:08:01PM +0300:

> I did the command line
>  mondoarchive -OiV -p TEST-LINUX1 -I / -E "/tmp /var/log /proc"  -d /rescue
> -s 3400m

You don't need to exclude /proc it's done by default.

> As you see its created 2ximages one under /rescue and the other one
> /var/cache/mindi
> - Is the above command correct or am far away off?

Yes. You may increase the size of the image for real DVD (up to 4380m)

> - why do i need 2 images ?

One is from mindi and is provided as a convenience (under
/var/cache/mindi). The one you really want is under /rescue

> - if i want to compress the data in good way (clean image) which level do i
> have to set and which tools gzip or lzo ..etc?

Well -9 is passed to gzip/bzip2 that way. 
bzip2 gives the best compression ratio at the expense of time (both at
backup and restore).
gzip -6 gives IMHO the best average.

Bruno.
--

-- 
Linux Profession Lead EMEA  / Open Source Evangelist \        HP C&I EMEA IET
http://www.mondorescue.org / HP/Intel Solution Center \  http://hpintelco.net
Des infos sur Linux?  http://www.HyPer-Linux.org      http://www.hp.com/linux
La musique ancienne?  http://www.musique-ancienne.org http://www.medieval.org

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
Bruno Cornec | 6 Aug 2008 11:28
Picon
Favicon

Re: trouble with dvd-rw

Andrew O said on Mon, Jul 14, 2008 at 01:53:44AM -0400:

> Attempting to back up a system of about 40 gigs onto 1.4 gb DVD-RW discs
> (kind of stupid, I know, but they are a little cheaper near me).  Dell
> Pentium III 500 mHz with 160 mb of RAM. This may just be too entirely silly
> to execute, but help is appreciated if possible.  No hurry.

Try launching mondoarchive in CLI mode with -S and -T options to force
the location of temp files which seems to create a pb for you.

Bruno.
--

-- 
Linux Profession Lead EMEA  / Open Source Evangelist \        HP C&I EMEA IET
http://www.mondorescue.org / HP/Intel Solution Center \  http://hpintelco.net
Des infos sur Linux?  http://www.HyPer-Linux.org      http://www.hp.com/linux
La musique ancienne?  http://www.musique-ancienne.org http://www.medieval.org

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
Bruno Cornec | 6 Aug 2008 11:37
Picon
Favicon

Re: disk full error

david said on Sat, Jul 12, 2008 at 02:08:26PM +1000:

> Ubuntu Hardy. Mondo Version: 2.24-2

You may want to look at 2.2.6 upstream packages as well.

> I ran this command:
> 
> root <at> host:~# mondoarchive -O -i -N -d /root/images/mondo -m -s 4G -F -K
> 99

You may want to  add a -S/-T to force temp files to another location
than the default which may be an issue in your case.

> The Archive run fails with a "disk full" error after 50% of the run.
> The disk isn't full.

Generally its linked to the use of /dev/shm for tmpfs in mondo:
> 
>         root <at> host:~# df
>         /dev/shm                358400         0    358400
>         0% /var/run/tmp.mondo.17672/tmp.mondo.10604/tmpfs
> 
> Log files attached, but the error message from the log seems to be:
>                    
>         [Main] newt-specific.c-≥fatal_error#380: Fatal error received -
>         'Is your hard disk full? If not, please send the author the
>         logfile.'

Yes just before that:

[Main] libmondo-archive.c-≥_move_files_to_cd#2752: (move_files_to_cd)
'mv -f /var/run/tmp.mondo.17672/tmp.mondo.10604/tmpfs/191.afio.bz2
/var/run/mondo.scratch.14466/mondo.scratch.17225/archives/' failed

So your /var/run may well be full at some point (mondo cleans stuff when
leaving).

If the -S/-T stuff isn't sufficient, please report back again.

Bruno.
--

-- 
Linux Profession Lead EMEA  / Open Source Evangelist \        HP C&I EMEA IET
http://www.mondorescue.org / HP/Intel Solution Center \  http://hpintelco.net
Des infos sur Linux?  http://www.HyPer-Linux.org      http://www.hp.com/linux
La musique ancienne?  http://www.musique-ancienne.org http://www.medieval.org

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/

Gmane