Ben Tullis | 1 Feb 15:54 2011
Picon

Options for backing up filesystem with hard links?

Hi. I wonder if anyone can help me to find a solution to this problem.

I'm trying to build a disaster recovery system for a single Linux
server, based on an OBDR tape mechanism.

Mondo is largely working, but I seem to have run into a bit of a problem
because one of my file systems has a lot of hard links in it. It's a
BackupPC pool directory.

I believe that because mondoarchive carries out the backups with several
different afio processes, it can't dereference all of the hard links
when it does so. The outcome is that my filesystem, whilst being
restored intact, is vastly bigger in size. There are some hard links in
the resulting filesystem, but nowhere near enough.

Can anyone suggest any way that I could get around this problem,
particularly from the Mondo side?

Is there any way that I could restore this filesystem with a post-nuke
tarball?
Can mondo be told to backup a particular directory with a single afio
stream?
Has anyone else succeeded to do anything like this.

Many thanks,

Ben

------------------------------------------------------------------------------
Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
(Continue reading)

Bruno Cornec | 2 Feb 00:26 2011
Picon

Re: Unable to backup to USB device with U option

Hello Roy,

Roy Stern said on Sat, Jan 29, 2011 at 05:59:09AM -0800:

> I'm trying to backup to a USB drive, by using the -U option and -d /dev/sda 
> raw device name.  Although there is 1 partition on that device, it keeps failing 
> and the log file (included) indicates that after mounting and umounting, that 
> partition must exists and cannot create the vfat FS on /dev/sda1.
> 
> Could you please tell me what I am doing wrong?

The problem comes from that command which doesn't return ok:
mkdosfs -F 32 /dev/sda1

If you can solve this issue with your key (maybe look at kernel msgs) I
may then be able to realize a workaround in MondoRescue.

Bruno.
--

-- 
Open Source & Linux Profession Lead EMEA           / http://opensource.hp.com
HP/Intel/Red Hat Open Source Solutions Initiative  / http://www.hpintelco.net
http://www.HyPer-Linux.org  http://mondorescue.org http://project-builder.org
La musique ancienne?  http://www.musique-ancienne.org http://www.medieval.org

------------------------------------------------------------------------------
Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
Finally, a world-class log management solution at an even better price-free!
Download using promo code Free_Logger_4_Dev2Dev. Offer expires 
February 28th, so secure your free ArcSight Logger TODAY! 
http://p.sf.net/sfu/arcsight-sfd2d
(Continue reading)

Bruno Cornec | 2 Feb 00:29 2011
Picon

Re: Fedora 13 unable to restore roundup...

Peter Clark said on Sat, Jan 29, 2011 at 04:30:59PM -0500:

> OK.. Is the new BusyBox in the test directory like the beta versions?  I'll
> go take a look.

Not yet. I have not packaged it, nor configured it sorry, bit short of
time atm. (no as usual to be honest).
The config file we use for busybox is here:
http://trac.mondorescue.org/browser/branches/2.2.9/mindi-busybox/.config

Bruno.
--

-- 
Open Source & Linux Profession Lead EMEA           / http://opensource.hp.com
HP/Intel/Red Hat Open Source Solutions Initiative  / http://www.hpintelco.net
http://www.HyPer-Linux.org  http://mondorescue.org http://project-builder.org
La musique ancienne?  http://www.musique-ancienne.org http://www.medieval.org

------------------------------------------------------------------------------
Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
Finally, a world-class log management solution at an even better price-free!
Download using promo code Free_Logger_4_Dev2Dev. Offer expires 
February 28th, so secure your free ArcSight Logger TODAY! 
http://p.sf.net/sfu/arcsight-sfd2d
Bruno Cornec | 3 Feb 00:34 2011
Picon

Re: Issue restoring to HP ML115 with hardware RAID1

Robert Holder said on Thu, Dec 30, 2010 at 05:01:12PM +1100:

> Dear group,
> 
> In order to be complete I will outline the situation:
> 
> Problem:
> I can run mondoarchive on my ML115 with hardware RAID just fine, but restoring fails.

COuld you also provide the log of the archive run please ?
I suspect a driver is missing in your case.

> Tried restoring to /dev/sda, with idea that if restore works to one of the drives I should then be able to
just make the server think the second drive is newly replaced by wiping it. (Verify works fine.  Restore
appears to run fine, but system doesn't boot correctly, instead stalls at what I believe to be a grub
configurations/boot screen.)

You probably need to edit your grub.conf file to remove references to
/dev/mapper/... and use /dev/sda

Same is true for fstab.
And also redo your initrd.

bruno.
--

-- 
Open Source & Linux Profession Lead EMEA           / http://opensource.hp.com
HP/Intel/Red Hat Open Source Solutions Initiative  / http://www.hpintelco.net
http://www.HyPer-Linux.org  http://mondorescue.org http://project-builder.org
La musique ancienne?  http://www.musique-ancienne.org http://www.medieval.org

(Continue reading)

Bruno Cornec | 3 Feb 01:06 2011
Picon

Re: Frozen system while starting to archive regular files

Hello,

Ricardo Martin said on Wed, Dec 22, 2010 at 08:12:06AM -0400:

> I found that by excluding /boot dir, error disappears and
> backup is completed.  However, when verifying DVD contents at 78%, it froze
> again.  As you can see, there are 165 sets but it did not finish verifying
> all of them.  I tested restoring and it did, with some minor problems, but
> generally OK.

Yep saw that. 
Could you gie the result of ls -alR /boot please ?

> Also noticed there were some differences found while performing
> verification.  Should I worry about that?

No. Those are files that changed for due reason (logs, temps, ...)

> Regarding the issue of not completing verification process, what can I do?

Well, I don't really know as no msg is printed.

2 possibilities:
Test with tha latest beta announced this week.
Increasse also debug with -K99

Bruno.
--

-- 
Open Source & Linux Profession Lead EMEA           / http://opensource.hp.com
HP/Intel/Red Hat Open Source Solutions Initiative  / http://www.hpintelco.net
(Continue reading)

Bruno Cornec | 3 Feb 01:11 2011
Picon

Re: how mutch can backup

Danjel Jungersen said on Thu, Jan 06, 2011 at 08:39:29AM +0100:

> On 5 Jan 2011 at 13:25, Bruno Cornec wrote:
> > Danjel Jungersen said on Wed, Jan 05, 2011 at 09:20:43AM +0100:
> > 
> > > On 23 Dec 2010 at 14:44, leonardo saracini wrote:
> > > 
> > > > how mutch can be large a backup?
> > > > if I have a 500GB to backup what is the best setting to use?
> > > > I use ubuntu maverick ext3
> > > > mdadm+lvm2
> > > I'm backing up about 300 gig every night with:
> > > mondoarchive -OV -t -E "/home/shares/q/Danjel" -I "/home/shares" -N
> > > - d /dev/st0 -9 -G -S "/home/tmp" -T "/home/tmp"
> > 
> > Why are you specifying the -I ? 
> I only want to back up "/home/shares" and subs, and thought that this 
> was the way to do it.

Well, MondoRescue is *not* a backup tool. Rather a Disaster recovery ad
cloning solution. But indeed it can do what you do with it. Works.

> > For an Ubuntu backup, please use the appropriate version (look at the
> > FAQ on trac). And of course, make a check of restore. No good backup
> > exists without a properly made restore.
> Have done that, even though it is some time ago.
> When something "just works" one can get a bit lazy, so I trust in you 
> Bruno :-)

Well, even not myself ;-) Seriously, restore should be part of any
(Continue reading)

Ricardo Martin | 3 Feb 02:08 2011
Picon

Re: Frozen system while starting to archive regular files

Thanks Bruno.

After researching for possible solutions and unable to get any, I suspected
disk errors could be the reason since I had seen some "unrecoverable errors"
from SMART daemon.  Anyway, performed another 2 tests with 2 different hard
drives in same machine and no problem at all.

My conclusion is that it was NOT the command options I was using or the
mondo installation.

So for all purposes, this can be considered as resolved.

Thanks again. Ricardo

------------------------------------------------------------------------------
Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
Finally, a world-class log management solution at an even better price-free!
Download using promo code Free_Logger_4_Dev2Dev. Offer expires 
February 28th, so secure your free ArcSight Logger TODAY! 
http://p.sf.net/sfu/arcsight-sfd2d
boekhold | 6 Feb 19:19 2011
Picon

Ubuntu 10.10 and Mondo are no friends anymore


Hi all,

I've used mondorescue on Ubuntu 10.04 and 10.10 to backup my development
machine regularly. I used to install mondo from the DEBs downloaded from
ftp.mondorescue.org/ubuntu/10.04.

Today I updated my Ubuntu installation (eg. apt-get update && apt-get
upgrade), and mondo stopped working. OK, happened before. So I made sure I
uninstalled mindi-busybox, mindi and mondo, and reinstalled from the DEBs
from the FTP site:

||/ Name                               Version                           
Description
+++-==================================-==================================-====================================================================================
ii  mindi                              2.0.7.5-1                         
creates boot/root disks based on your system
ii  mindi-busybox                      1.7.3-1                           
creates a busybox version suited for mindi
ii  mondo                              2.2.9.4-1                         
powerful disaster recovery suite

No go:

sudo local/script/backup_mondo 
Initializing...
Execution run ended; result=-1
Type 'less /var/log/mondoarchive.log' to see the output log
local/script/backup_mondo: line 36: 26827 Segmentation fault     
mondoarchive -O -i -s 4480m -3 -d $DIR -E "$EXCLUDE" -S $SCRATCH -T $TEMPDIR
(Continue reading)

boekhold | 6 Feb 19:23 2011
Picon

Re: Ubuntu 10.10 and Mondo are no friends anymore


Hmm, even worse:

sudo mondoarchive --help
Initializing...
Execution run ended; result=-1
Type 'less /var/log/mondoarchive.log' to see the output log
Segmentation fault

What about that? Any info I can collect? glibc versions? kernel versions?

||/ Name                               Version                           
Description
+++-==================================-==================================-====================================================================================
ii  libc-bin                           2.12.1-0ubuntu10.2                
Embedded GNU C Library: Binaries

uname -a
Linux boekhold 2.6.35-26-generic #46-Ubuntu SMP Sun Jan 30 08:10:51 UTC 2011
i686 GNU/Linux
--

-- 
View this message in context: http://mondorescue-mailing-list.679749.n3.nabble.com/Ubuntu-10-10-and-Mondo-are-no-friends-anymore-tp2438692p2438713.html
Sent from the MondoRescue Mailing List mailing list archive at Nabble.com.

------------------------------------------------------------------------------
The modern datacenter depends on network connectivity to access resources
and provide services. The best practices for maximizing a physical server's
connectivity to a physical network are well understood - see how these
rules translate into the virtual world? 
http://p.sf.net/sfu/oracle-sfdevnlfb
(Continue reading)

MC | 7 Feb 14:11 2011
Picon

Segmentation fault in mondo-2.2.9.5-beta

I'm testing mondo-2.2.9.5-beta version with mindi-2.0.7.6 in ArchLinux.
After made all selections, mondoarchive stopped with the message:
"Segmentation fault"

The last line in /var/log/message.log is:

Feb  5 10:29:17 myhost kernel: mondoarchive[10415]: segfault at 0 ip 
b777f05f sp bf99810c error 4 in libc-2.11.1.so[b770b000+141000]

I'm sending attached my /var/log/mindi.log and /var/log/mondoarchive.log

This test and logs were made inside VirtualBox-4, but I also tried it in 
two other different computers:
- AMD64 with ArchLinux-32bits
- Laptop HP DV8 with ArchLinux-64 bits.

The last mondoarchive stable version 2.2.9.4 is running with no errors.

Thank's for your help.
mindi v2.0.7.6-r2714
i686 architecture detected
mindi called with the following arguments:
--makemountlist /home/mondo.tmp.kPzLW6/mountlist.txt.test
Start date : Sáb Fev  5 10:28:53 WET 2011
-----------------------------
MONDO_SHARE = /usr/share/mondo
MINDI_LIB = /usr/lib/mindi
MINDI_SBIN = /usr/sbin
(Continue reading)


Gmane