Peter Clark | 16 Feb 2011 12:13

Re: A little help

IMO, It’s probably not a good idea to do that.  If you do a complete backup it’ll include libraries, binaries, kernels, and other OS items that might not be compatible with the new OS.  For example I wouldn’t do a complete backup of Fedora 12 and then install Fedora 13 and overwrite it with a restore.  In fact, I tried doing a Fedora 14 backup, did a minimal install of Fedora 14 and then attempted to restore the backup over it and crashed the system during the restore with library issues and then wouldn’t reboot properly.

 

What you could do is backup only selected non-system parts of the server (/home, /etc, /var/www, /etc/httpd, /var/lib/mysql and stuff) and then\ restore that over the new install.  As for doing it all via command line, it seems the –I and –E options you might need are slated for future development in the man page.  I’ve always restored with the GUI so don’t know about doing it with the command line.

 

Good luck.

 

From: orel matan [mailto:orelmatan <at> gmail.com]
Sent: Wednesday, February 16, 2011 4:35 AM
To: mondo-devel <at> lists.sourceforge.net
Subject: [Mondo-devel] A little help

 

Hi Guys,
I'm new at Mondo, and I'll appreciate your help on this one:

I want to backup everything on the machine.(live, application will be down during the process)
I want to use local disk to the backup.

I will install a new OS from scratch(could be a different version CentOS 4->5), and then
i want to restore everything -  All process using Command Line only.

I didn't find anyway to restore using CLI, even if all ISOs are in place by default. (please notice I want to restore everything)

Thanks for your help,
Matan

No virus found in this message.
Checked by AVG - www.avg.com
Version: 10.0.1204 / Virus Database: 1435/3445 - Release Date: 02/15/11

------------------------------------------------------------------------------
The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
Pinpoint memory and threading errors before they happen.
Find and fix more than 250 security defects in the development cycle.
Locate bottlenecks in serial and parallel code that limit performance.
http://p.sf.net/sfu/intel-dev2devfeb
_______________________________________________
Mondo-devel mailing list
Mondo-devel <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mondo-devel
Peter Clark | 16 Feb 2011 12:16

Re: mondoarchive simply hangs

I’d suggest trying the backup without the –z in your command line.

 

From: Louis Turk [mailto:lou <at> dayspringpublisher.com]
Sent: Tuesday, February 15, 2011 1:11 AM
To: mondo-devel <at> lists.sourceforge.net
Subject: [Mondo-devel] mondoarchive simply hangs

 

I'm using 64 bit archlinux. I've installed Mondo, but backups fail.
Mondo archive just stops when it finds a Windows made file containing
spaces. Here is an example of such a file (this was the only content of
file 502):

/home/lat/dwhelper/Sean Hannity vs. Muslim Cleric Anjem Choudary -
02_02_11.flv

I have many files with spaces like this, so this is a big problem. Is
there any solution?

Lou





No virus found in this message.
Checked by AVG - www.avg.com
Version: 10.0.1204 / Virus Database: 1435/3446 - Release Date: 02/15/11

------------------------------------------------------------------------------
The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
Pinpoint memory and threading errors before they happen.
Find and fix more than 250 security defects in the development cycle.
Locate bottlenecks in serial and parallel code that limit performance.
http://p.sf.net/sfu/intel-dev2devfeb
_______________________________________________
Mondo-devel mailing list
Mondo-devel <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mondo-devel
Picon
Favicon

Re: mindi: install.sh: "no busybox found"

Hi Scott,
 
I got the same problem on Ubuntu 10.10, when installing from Mondorescue sources, because I didn't installed mindi-busybox in the right directory (I didn't set the install path (CONFIG_PREFIX) before I ran mindi-busybox "make install").
 
I guess that busybox (from http://www.busybox.net) is installed too, check with:
# rpm -qa | grep -i busybox
 
I'm pretty sure that you linked to the busybox binary (from http://www.busybox.net), and not to the busybox binary from mindi-busybox. Through the following command you can check the busybox version that you're using:
# /sbin/busybox --help
 
To get in the right place the mindi-busybox binaries, the solution is to :
1. erase the /usr/local/lib64/mindi/rootfs/bin that you created manually
2. run mindi-busybox make as :
      # make CONFIG_PREFIX=/usr/local/lib64/mindi/rootfs install
 
Rgds.
From: Saccone, Scott [mailto:ssaccone <at> wustl.edu]
Sent: mardi 15 février 2011 20:38
To: mondo-devel <at> lists.sourceforge.net
Subject: [Mondo-devel] mindi: install.sh: "no busybox found"

After installing mindi-busybox-1.7.3, I ran install.sh from mindi-2.0.7.5 and got the error

 

WARNING: no busybox found, mindi will not work on this arch (x86_64)

 

I got a similar error when running mindi.

 

Looking at install.sh, I created /usr/local/lib64/mindi/rootfs/bin and created a symbolic link in ‘bin’ to /sbin/busybox. I then ran install.sh with no problems and mindi seems to run ok using the test procedure at http://www.mondorescue.org/docs/mondorescue-howto/test.html.

 

Is this a legitimate solution? Are there any other missing links?

 

I’m running CentOS:

Linux version 2.6.18-194.11.4.el5 (mockbuild <at> builder10.centos.org) (gcc version 4.1.2 20080704 (Red Hat 4.1.2-48)) #1 SMP Tue Sep 21 05:04:09 EDT 2010

x86_64

 

Thanks,

 

Scott

 

Scott Saccone, Ph.D.

Department of Psychiatry, Box 8134
Washington University School of Medicine
660 South Euclid Avenue
Saint Louis, Missouri 63110-1093
Voice: (314) 286-2581
FAX: (314) 286-2577
Email: ssaccone <at> wustl.edu

 


The materials in this message are private and may contain Protected Healthcare Information or other information of a sensitive nature. If you are not the intended recipient, be advised that any unauthorized use, disclosure, copying or the taking of any action in reliance on the contents of this information is strictly prohibited. If you have received this email in error, please immediately notify the sender via telephone or return mail.
------------------------------------------------------------------------------
The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
Pinpoint memory and threading errors before they happen.
Find and fix more than 250 security defects in the development cycle.
Locate bottlenecks in serial and parallel code that limit performance.
http://p.sf.net/sfu/intel-dev2devfeb
_______________________________________________
Mondo-devel mailing list
Mondo-devel <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mondo-devel
orel matan | 16 Feb 2011 12:28
Picon

Re: A little help

Thanks Peter,
I don't want to have a new system, in fact - I want to restore the backup including the OS - I want everything to be the same as before backup.
any suggestions?

On Wed, Feb 16, 2011 at 1:13 PM, Peter Clark <pclark <at> pclark.com> wrote:

IMO, It’s probably not a good idea to do that.  If you do a complete backup it’ll include libraries, binaries, kernels, and other OS items that might not be compatible with the new OS.  For example I wouldn’t do a complete backup of Fedora 12 and then install Fedora 13 and overwrite it with a restore.  In fact, I tried doing a Fedora 14 backup, did a minimal install of Fedora 14 and then attempted to restore the backup over it and crashed the system during the restore with library issues and then wouldn’t reboot properly.

 

What you could do is backup only selected non-system parts of the server (/home, /etc, /var/www, /etc/httpd, /var/lib/mysql and stuff) and then\ restore that over the new install.  As for doing it all via command line, it seems the –I and –E options you might need are slated for future development in the man page.  I’ve always restored with the GUI so don’t know about doing it with the command line.

 

Good luck.

 

From: orel matan [mailto:orelmatan <at> gmail.com]
Sent: Wednesday, February 16, 2011 4:35 AM
To: mondo-devel <at> lists.sourceforge.net
Subject: [Mondo-devel] A little help

 

Hi Guys,
I'm new at Mondo, and I'll appreciate your help on this one:

I want to backup everything on the machine.(live, application will be down during the process)
I want to use local disk to the backup.

I will install a new OS from scratch(could be a different version CentOS 4->5), and then
i want to restore everything -  All process using Command Line only.

I didn't find anyway to restore using CLI, even if all ISOs are in place by default. (please notice I want to restore everything)

Thanks for your help,
Matan

No virus found in this message.
Checked by AVG - www.avg.com
Version: 10.0.1204 / Virus Database: 1435/3445 - Release Date: 02/15/11


------------------------------------------------------------------------------
The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
Pinpoint memory and threading errors before they happen.
Find and fix more than 250 security defects in the development cycle.
Locate bottlenecks in serial and parallel code that limit performance.
http://p.sf.net/sfu/intel-dev2devfeb
_______________________________________________
Mondo-devel mailing list
Mondo-devel <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mondo-devel


------------------------------------------------------------------------------
The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
Pinpoint memory and threading errors before they happen.
Find and fix more than 250 security defects in the development cycle.
Locate bottlenecks in serial and parallel code that limit performance.
http://p.sf.net/sfu/intel-dev2devfeb
_______________________________________________
Mondo-devel mailing list
Mondo-devel <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mondo-devel
Peter Clark | 16 Feb 2011 12:35

Re: A little help

OK, you mentioned Centos4->Centos5 in your original message so I was under the impression you wanted to install a new OS independently and then restore without going through the GUI.

 

I would backup the system as you’re doing (entire image).  Boot from the DVD’s or the mondorescue ISO in /var/cache/mindi.  When you get the CD’s boot menu with the options for interactive/nuke/expert use nuke and it’ll repartition, format, and restore the image you created without any further user intervention.  Again, backup, install a different OS, restore isn’t recommended (unless you wanna selectively restore only specific non-system files or directories from the backup, but you said you didn’t want to get a GUI).

 

Don’t do it on a working computer until you’ve done a few dry runs with the restores going to a spare computer, it’ll erase all the data on the hard drives before starting the restore, so you need to be sure your backups are good first!

 

From: orel matan [mailto:orelmatan <at> gmail.com]
Sent: Wednesday, February 16, 2011 6:28 AM
To: Mondo mailing list
Cc: Peter Clark
Subject: Re: [Mondo-devel] A little help

 

Thanks Peter,
I don't want to have a new system, in fact - I want to restore the backup including the OS - I want everything to be the same as before backup.
any suggestions?

On Wed, Feb 16, 2011 at 1:13 PM, Peter Clark <pclark <at> pclark.com> wrote:

IMO, It’s probably not a good idea to do that.  If you do a complete backup it’ll include libraries, binaries, kernels, and other OS items that might not be compatible with the new OS.  For example I wouldn’t do a complete backup of Fedora 12 and then install Fedora 13 and overwrite it with a restore.  In fact, I tried doing a Fedora 14 backup, did a minimal install of Fedora 14 and then attempted to restore the backup over it and crashed the system during the restore with library issues and then wouldn’t reboot properly.

 

What you could do is backup only selected non-system parts of the server (/home, /etc, /var/www, /etc/httpd, /var/lib/mysql and stuff) and then\ restore that over the new install.  As for doing it all via command line, it seems the –I and –E options you might need are slated for future development in the man page.  I’ve always restored with the GUI so don’t know about doing it with the command line.

 

Good luck.

 

From: orel matan [mailto:orelmatan <at> gmail.com]
Sent: Wednesday, February 16, 2011 4:35 AM
To: mondo-devel <at> lists.sourceforge.net
Subject: [Mondo-devel] A little help

 

Hi Guys,
I'm new at Mondo, and I'll appreciate your help on this one:

I want to backup everything on the machine.(live, application will be down during the process)
I want to use local disk to the backup.

I will install a new OS from scratch(could be a different version CentOS 4->5), and then
i want to restore everything -  All process using Command Line only.

I didn't find anyway to restore using CLI, even if all ISOs are in place by default. (please notice I want to restore everything)

Thanks for your help,
Matan

No virus found in this message.
Checked by AVG - www.avg.com
Version: 10.0.1204 / Virus Database: 1435/3445 - Release Date: 02/15/11


------------------------------------------------------------------------------
The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
Pinpoint memory and threading errors before they happen.
Find and fix more than 250 security defects in the development cycle.
Locate bottlenecks in serial and parallel code that limit performance.
http://p.sf.net/sfu/intel-dev2devfeb
_______________________________________________
Mondo-devel mailing list
Mondo-devel <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mondo-devel

 

No virus found in this message.
Checked by AVG - www.avg.com
Version: 10.0.1204 / Virus Database: 1435/3446 - Release Date: 02/15/11

------------------------------------------------------------------------------
The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
Pinpoint memory and threading errors before they happen.
Find and fix more than 250 security defects in the development cycle.
Locate bottlenecks in serial and parallel code that limit performance.
http://p.sf.net/sfu/intel-dev2devfeb
_______________________________________________
Mondo-devel mailing list
Mondo-devel <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mondo-devel
Alan Pittman | 16 Feb 2011 22:50
Favicon

After mondorestore, bad bootloader/MBR (??)

Hi,
  I’m having problems with mondorestore. Here’s my configuration and a description of my problem:
 
Machine:  HP DL580
DISK drives: six 72GB drives divided in two logical drives. Three drives each, using RAID5.
Device files: /dev/cciss/c0d0 and /dev/cciss/c0d1
Host OS:  Suse Linux Enterprise Server 11 (SLES11) x86_64
 
After running mondorestore, it asks whether I want to run mkinitrd, I tell it no. I then type exit (because I’m in expert mode) and the machine shuts down and begins the reboot process. It never boots from the disk drive and goes to PXE. It appears that the MBR is corrupt, I think. If I boot from the SLES11 DVD into rescue mode and have it run the automatic repair/recovery process, I get two prompts stating that the boot loader file is corrupt and wants to fix it. I reply yes and after the rescue process completes, the machine boots up just fine.
 
Attached are the log files from the restore process.
 
<< File: mondofdisk.log >>  << File: mondorestore.log >>
Any help would be appreciated.
 
Alan
 
Alan Pittman
Publix Super Markets, Inc.
863-686-8754 ext. 46320
alan.pittman <at> publix.com
 
"Unix is user-friendly. It's just very selective about who its friends are."
 
 
 
------------------------------------------------------------------------------
The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
Pinpoint memory and threading errors before they happen.
Find and fix more than 250 security defects in the development cycle.
Locate bottlenecks in serial and parallel code that limit performance.
http://p.sf.net/sfu/intel-dev2devfeb
_______________________________________________
Mondo-devel mailing list
Mondo-devel <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mondo-devel
Louis Turk | 17 Feb 2011 09:34

Re: mondoarchive simply hangs

Peter,

Many thanks for responding! That was indeed the problem.

On 02/16/2011 07:16 PM, Peter Clark wrote:
[Mondo-devel] mondoarchive simply hangs

I’d suggest trying the backup without the –z in your command line.


From: Louis Turk [mailto:lou <at> dayspringpublisher.com]
Sent: Tuesday, February 15, 2011 1:11 AM
To: mondo-devel <at> lists.sourceforge.net
Subject: [Mondo-devel] mondoarchive simply hangs

 

I'm using 64 bit archlinux. I've installed Mondo, but backups fail.
Mondo archive just stops when it finds a Windows made file containing
spaces. Here is an example of such a file (this was the only content of
file 502):

/home/lat/dwhelper/Sean Hannity vs. Muslim Cleric Anjem Choudary -
02_02_11.flv

I have many files with spaces like this, so this is a big problem. Is
there any solution?

Lou





No virus found in this message.
Checked by AVG - www.avg.com
Version: 10.0.1204 / Virus Database: 1435/3446 - Release Date: 02/15/11

------------------------------------------------------------------------------ The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE: Pinpoint memory and threading errors before they happen. Find and fix more than 250 security defects in the development cycle. Locate bottlenecks in serial and parallel code that limit performance. http://p.sf.net/sfu/intel-dev2devfeb _______________________________________________ Mondo-devel mailing list Mondo-devel <at> lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mondo-devel

------------------------------------------------------------------------------
The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
Pinpoint memory and threading errors before they happen.
Find and fix more than 250 security defects in the development cycle.
Locate bottlenecks in serial and parallel code that limit performance.
http://p.sf.net/sfu/intel-dev2devfeb
_______________________________________________
Mondo-devel mailing list
Mondo-devel <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mondo-devel
Picon
Favicon

Re: After mondorestore, bad bootloader/MBR (??)

Hi Alan,
 
> Attached are the log files from the restore process.
<< File: mondofdisk.log >>  << File: mondorestore.log >>
 
We don't see attached the files.
 
Rgds. From: Alan Pittman [mailto:Alan.Pittman <at> publix.com]
Sent: mercredi 16 février 2011 22:51
To: 'mondo-devel <at> lists.sourceforge.net'
Subject: [Mondo-devel] After mondorestore, bad bootloader/MBR (??)
Hi,
  I’m having problems with mondorestore. Here’s my configuration and a description of my problem:
 
Machine:  HP DL580
DISK drives: six 72GB drives divided in two logical drives. Three drives each, using RAID5.
Device files: /dev/cciss/c0d0 and /dev/cciss/c0d1
Host OS:  Suse Linux Enterprise Server 11 (SLES11) x86_64
 
After running mondorestore, it asks whether I want to run mkinitrd, I tell it no. I then type exit (because I’m in expert mode) and the machine shuts down and begins the reboot process. It never boots from the disk drive and goes to PXE. It appears that the MBR is corrupt, I think. If I boot from the SLES11 DVD into rescue mode and have it run the automatic repair/recovery process, I get two prompts stating that the boot loader file is corrupt and wants to fix it. I reply yes and after the rescue process completes, the machine boots up just fine.
 
Attached are the log files from the restore process.
 
<< File: mondofdisk.log >>  << File: mondorestore.log >>
Any help would be appreciated.
 
Alan
 
Alan Pittman
Publix Super Markets, Inc.
863-686-8754 ext. 46320
alan.pittman <at> publix.com
 
"Unix is user-friendly. It's just very selective about who its friends are."
 
 
 
------------------------------------------------------------------------------
The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
Pinpoint memory and threading errors before they happen.
Find and fix more than 250 security defects in the development cycle.
Locate bottlenecks in serial and parallel code that limit performance.
http://p.sf.net/sfu/intel-dev2devfeb
_______________________________________________
Mondo-devel mailing list
Mondo-devel <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mondo-devel
GarethH | 17 Feb 2011 11:28
Picon
Favicon

Gareth Hughes is out of the office


I will be out of the office starting  17/02/2011 and will not return until
23/02/2011.

I am out of the office until Wednesday 23rd Feb. I will respond to your
email on my return, but if the subject is urgent please contact a member of
the AIX team.

______________________________________________________________________
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email 
______________________________________________________________________

------------------------------------------------------------------------------
The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
Pinpoint memory and threading errors before they happen.
Find and fix more than 250 security defects in the development cycle.
Locate bottlenecks in serial and parallel code that limit performance.
http://p.sf.net/sfu/intel-dev2devfeb
Peter Clark | 17 Feb 2011 12:11

Re: mondoarchive simply hangs

No worries, I had the same issue. Seems to be something in the way filenames are escaped when extended attributes are captured. 

You'll need to create a .autorelabel file in the temporary / directory after restoring files onto bare metal but before rebooting or you won't be able to login if your system is using selinux. 

Take care,
P

On Feb 17, 2011, at 3:34 AM, "Louis Turk" <lou <at> dayspringpublisher.com> wrote:

Peter,

Many thanks for responding! That was indeed the problem.

On 02/16/2011 07:16 PM, Peter Clark wrote:

I’d suggest trying the backup without the –z in your command line.


From: Louis Turk [mailto:lou <at> dayspringpublisher.com]
Sent: Tuesday, February 15, 2011 1:11 AM
To: mondo-devel <at> lists.sourceforge.net
Subject: [Mondo-devel] mondoarchive simply hangs

 

I'm using 64 bit archlinux. I've installed Mondo, but backups fail.
Mondo archive just stops when it finds a Windows made file containing
spaces. Here is an example of such a file (this was the only content of
file 502):

/home/lat/dwhelper/Sean Hannity vs. Muslim Cleric Anjem Choudary -
02_02_11.flv

I have many files with spaces like this, so this is a big problem. Is
there any solution?

Lou





No virus found in this message.
Checked by AVG - www.avg.com
Version: 10.0.1204 / Virus Database: 1435/3446 - Release Date: 02/15/11

------------------------------------------------------------------------------ The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE: Pinpoint memory and threading errors before they happen. Find and fix more than 250 security defects in the development cycle. Locate bottlenecks in serial and parallel code that limit performance. http://p.sf.net/sfu/intel-dev2devfeb _______________________________________________ Mondo-devel mailing list Mondo-devel <at> lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mondo-devel

------------------------------------------------------------------------------
The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
Pinpoint memory and threading errors before they happen.
Find and fix more than 250 security defects in the development cycle.
Locate bottlenecks in serial and parallel code that limit performance.
http://p.sf.net/sfu/intel-dev2devfeb
_______________________________________________
Mondo-devel mailing list
Mondo-devel <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mondo-devel

Gmane