amanda 3.3beta: amrecover fails because of decompression?

2011-04-19 Thread Dennis Benndorf
Hello,

after updating yesterday to 3.3beta amrecover shows:

on linuxhost dumped with tar
Extracting files using tape drive changer on host dl380-54.gbv.de.
Load tape D00070 now
Continue [?/Y/n/s/d]? Y
tar: Archive is compressed. Use -z option
tar: Error is not recoverable: exiting now
Extractor child exited with status 2

and  solarishost dumped with star:
Extracting files using tape drive changer on host dl380-54.gbv.de.
Load tape D00059 now
Continue [?/Y/n/s/d]? Y
Restoring files into directory /tmp
All existing files in /tmp can be deleted
Continue [?/Y/n]? Y

/opt/csw/bin/star: Archive is 'gzip' compressed, try to use the -z option.
Extractor child exited with status -1


Is there an option on client to enable decompression?

Regards,
Dennis

-- 
Empfehlen Sie GMX DSL Ihren Freunden und Bekannten und wir
belohnen Sie mit bis zu 50,- Euro! https://freundschaftswerbung.gmx.de


Re: amanda 3.3beta: amrecover fails because of decompression?

2011-04-19 Thread Jean-Louis Martineau

Do the dump are compressed on client or server?
Post the amrecover and amidxtaped debug files.

As a workaround, you can do the following in amrecover before the extract:
 set property command-options -z

Jean-Louis

Dennis Benndorf wrote:

Hello,

after updating yesterday to 3.3beta amrecover shows:

on linuxhost dumped with tar
Extracting files using tape drive changer on host dl380-54.gbv.de.
Load tape D00070 now
Continue [?/Y/n/s/d]? Y
tar: Archive is compressed. Use -z option
tar: Error is not recoverable: exiting now
Extractor child exited with status 2

and  solarishost dumped with star:
Extracting files using tape drive changer on host dl380-54.gbv.de.
Load tape D00059 now
Continue [?/Y/n/s/d]? Y
Restoring files into directory /tmp
All existing files in /tmp can be deleted
Continue [?/Y/n]? Y

/opt/csw/bin/star: Archive is 'gzip' compressed, try to use the -z option.
Extractor child exited with status -1


Is there an option on client to enable decompression?

Regards,
Dennis

  




Re: amanda 3.3beta: amrecover fails because of decompression?

2011-04-19 Thread Jean-Louis Martineau

amrecover is 3.1.1, this is a compatibility issue.

Try the attached patch, You can manually patch the installed amidxtaped 
script.


Jean-Louis

Dennis Benndorf wrote:

Hello Jean-Louis,

dumps are normally compressed on client-side (but there are a few exceptions). 
See attached files.

Regards,
Dennis

 
 Original-Nachricht 
  

Datum: Tue, 19 Apr 2011 08:00:45 -0400
Von: Jean-Louis Martineau martin...@zmanda.com
An: Dennis Benndorf dennis.bennd...@gmx.de
CC: amanda-users@amanda.org
Betreff: Re: amanda 3.3beta: amrecover fails because of decompression?



  

Do the dump are compressed on client or server?
Post the amrecover and amidxtaped debug files.

As a workaround, you can do the following in amrecover before the extract:
  set property command-options -z

Jean-Louis

Dennis Benndorf wrote:


Hello,

after updating yesterday to 3.3beta amrecover shows:

on linuxhost dumped with tar
Extracting files using tape drive changer on host dl380-54.gbv.de.
Load tape D00070 now
Continue [?/Y/n/s/d]? Y
tar: Archive is compressed. Use -z option
tar: Error is not recoverable: exiting now
Extractor child exited with status 2

and  solarishost dumped with star:
Extracting files using tape drive changer on host dl380-54.gbv.de.
Load tape D00059 now
Continue [?/Y/n/s/d]? Y
Restoring files into directory /tmp
All existing files in /tmp can be deleted
Continue [?/Y/n]? Y

/opt/csw/bin/star: Archive is 'gzip' compressed, try to use the -z
  

option.


Extractor child exited with status -1


Is there an option on client to enable decompression?

Regards,
Dennis

  
  


  


diff --git a/server-src/amidxtaped.pl b/server-src/amidxtaped.pl
index dfbea94..c156a00 100644
--- a/server-src/amidxtaped.pl
+++ b/server-src/amidxtaped.pl
@@ -570,7 +570,8 @@ sub xfer_src_cb {
 		$header-{'clntcompprog'} = '';
 	}
 	} else {
-	if ($dle-{'compress'} == $Amanda::Config::COMP_SERVER_FAST ||
+	if (!$self-{'their_features'}-has($Amanda::Feature::fe_amrecover_receive_unfiltered) ||
+		$dle-{'compress'} == $Amanda::Config::COMP_SERVER_FAST ||
 		$dle-{'compress'} == $Amanda::Config::COMP_SERVER_BEST) {
 		push @filters,
 		Amanda::Xfer::Filter::Process-new(


Re: amanda 3.3beta: amrecover fails because of decompression?

2011-04-19 Thread Dennis Benndorf
Hello Jean-Louis,

thanks for the patch, seems to work now!

Regards,
Dennis


 Original-Nachricht 
 Datum: Tue, 19 Apr 2011 09:39:08 -0400
 Von: Jean-Louis Martineau martin...@zmanda.com
 An: Dennis Benndorf dennis.bennd...@gmx.de
 CC: amanda-users@amanda.org
 Betreff: Re: amanda 3.3beta: amrecover fails because of decompression?

 amrecover is 3.1.1, this is a compatibility issue.
 
 Try the attached patch, You can manually patch the installed amidxtaped 
 script.
 
 Jean-Louis
 
 Dennis Benndorf wrote:
  Hello Jean-Louis,
 
  dumps are normally compressed on client-side (but there are a few
 exceptions). See attached files.
 
  Regards,
  Dennis
 
   
   Original-Nachricht 

  Datum: Tue, 19 Apr 2011 08:00:45 -0400
  Von: Jean-Louis Martineau martin...@zmanda.com
  An: Dennis Benndorf dennis.bennd...@gmx.de
  CC: amanda-users@amanda.org
  Betreff: Re: amanda 3.3beta: amrecover fails because of decompression?
  
 

  Do the dump are compressed on client or server?
  Post the amrecover and amidxtaped debug files.
 
  As a workaround, you can do the following in amrecover before the
 extract:
set property command-options -z
 
  Jean-Louis
 
  Dennis Benndorf wrote:
  
  Hello,
 
  after updating yesterday to 3.3beta amrecover shows:
 
  on linuxhost dumped with tar
  Extracting files using tape drive changer on host dl380-54.gbv.de.
  Load tape D00070 now
  Continue [?/Y/n/s/d]? Y
  tar: Archive is compressed. Use -z option
  tar: Error is not recoverable: exiting now
  Extractor child exited with status 2
 
  and  solarishost dumped with star:
  Extracting files using tape drive changer on host dl380-54.gbv.de.
  Load tape D00059 now
  Continue [?/Y/n/s/d]? Y
  Restoring files into directory /tmp
  All existing files in /tmp can be deleted
  Continue [?/Y/n]? Y
 
  /opt/csw/bin/star: Archive is 'gzip' compressed, try to use the -z

  option.
  
  Extractor child exited with status -1
 
 
  Is there an option on client to enable decompression?
 
  Regards,
  Dennis
 


 

 

-- 
NEU: FreePhone - kostenlos mobil telefonieren und surfen!   
Jetzt informieren: http://www.gmx.net/de/go/freephone