Amanda-Users

Re: Files garbages after restore :-(

2005-12-01 11:44:30
Subject: Re: Files garbages after restore :-(
From: Paul Bijnens <paul.bijnens AT xplanation DOT com>
To: Jehan PROCACCIA <Jehan.Procaccia AT int-evry DOT fr>
Date: Thu, 01 Dec 2005 17:37:00 +0100
Jehan PROCACCIA wrote:
Hello
I've been saving partitions with amanda (dumps) for weeks now ... unfortunaltly while needing to restore a file I got garbage :-(

For exemple, here's what I expected from the file I needed:
[root@server /var/www/html/server/settings/siteaccess/site_unite_server_en]
$ cat site.ini.append.php
<?php /* #?ini charset="iso-8859-1"?

[DatabaseSettings]
DatabaseImplementation=ezpostgresql
etc ...

And here's what I got from an amrecover (same with amrestore !)
[root@server /data1/restore-server/21-11-2005/www/html/server/settings/siteaccess/site_unite_server_en]
$ cat site.ini.append.php
$var3, 'templateValue' ) )
   $var3 = $var3->templateValue();
$var2 = ( ( $var3 ) == ( 'enabled' ) );
unset( $var3 );
while ( is_object( $var2 ) and method_exists( $var2, 'templateValue' ) )
   $var2 = $var2->templateValue();
unset( $var3 );
etc ....

You can see that it's completly different ! source codes have replaces the initial php configuration code . It's as if one file was replaced with an other one, perhaps inodes were mismatched or something ...?
Is this problem already occured to someone on this list ?
Is amanda in cause , dump part, restore part ? , or it comes from outsite amanda tools , from the system (here redhat 4 running amanda-2.4.4p3-1) ?

This is also a typical effect of using dump on a busy filesystem.
Or, even worse, using dump on a corrupted filesystem...

That's one of the reasons I use gnutar instead of dump.

It could also be a tapedrive that is out of warranty of course.
Or Harry Potter training new magic.


I'am really confused about that problem, and cannot be confident on my backups as long as I am not sure of what was the problem. Since then, I fsck.ext3 -f the /var partition which caused me the problems, it works fine now (last 3 days) , but I'am afraid of beeing once again confronted to that problem.
Thanks of any help / sugestions .



--
Paul Bijnens, Xplanation                            Tel  +32 16 397.511
Technologielaan 21 bus 2, B-3001 Leuven, BELGIUM    Fax  +32 16 397.512
http://www.xplanation.com/          email:  Paul.Bijnens AT xplanation DOT com
***********************************************************************
* I think I've got the hang of it now:  exit, ^D, ^C, ^\, ^Z, ^Q, ^^, *
* F6, quit, ZZ, :q, :q!, M-Z, ^X^C, logoff, logout, close, bye, /bye, *
* stop, end, F3, ~., ^]c, +++ ATH, disconnect, halt,  abort,  hangup, *
* PF4, F20, ^X^X, :D::D, KJOB, F14-f-e, F8-e,  kill -1 $$,  shutdown, *
* init 0, kill -9 1, Alt-F4, Ctrl-Alt-Del, AltGr-NumLock, Stop-A, ... *
* ...  "Are you sure?"  ...   YES   ...   Phew ...   I'm out          *
***********************************************************************



<Prev in Thread] Current Thread [Next in Thread>