Release of Amanda-3.3.3

2013-07-04 Thread Jean-Louis Martineau

Hello,

The Amanda core team is pleased to announce the release of Amanda 3.3.4.


Source tarballs are available from

   * http://www.amanda.org
   * https://sourceforge.net/project/showfiles.php?group_id=120

Binaries for many systems are available from

   * http://www.zmanda.com/download-amanda.php

Documentation can be found at

   * http://wiki.zmanda.com


Here's a list of the changes for release 3.3.4 (from the NEWS file):
Look at the ReleaseNotes and ChangeLog file for more details.

 * amreport
 o new --format argument
 o new 'json' and 'json_raw' format.
 * amanda.conf
 o new REPORT-FORMAT option.
 * amtape
 o new 'verify' command.
 * amadmin
 o new 'force-level-1' command.
 * ampgslq
 o Add VERBOSE property.
 * S3 device
 o handle DURABLE_REDUCED_AVAILABILITY for google storage.
 * Many bugs fix.

Jean-Louis


Re: Release of Amanda-3.3.4

2013-07-04 Thread Jean-Louis Martineau

Sorry for the wrong subject, it is 3.3.4


On 07/04/2013 07:32 AM, Jean-Louis Martineau wrote:

Hello,

The Amanda core team is pleased to announce the release of Amanda 3.3.4.


Source tarballs are available from

   * http://www.amanda.org
   * https://sourceforge.net/project/showfiles.php?group_id=120

Binaries for many systems are available from

   * http://www.zmanda.com/download-amanda.php

Documentation can be found at

   * http://wiki.zmanda.com


Here's a list of the changes for release 3.3.4 (from the NEWS file):
Look at the ReleaseNotes and ChangeLog file for more details.

  * amreport
  o new --format argument
  o new 'json' and 'json_raw' format.
  * amanda.conf
  o new REPORT-FORMAT option.
  * amtape
  o new 'verify' command.
  * amadmin
  o new 'force-level-1' command.
  * ampgslq
  o Add VERBOSE property.
  * S3 device
  o handle DURABLE_REDUCED_AVAILABILITY for google storage.
  * Many bugs fix.

Jean-Louis




amreport regex problem

2013-07-04 Thread Dennis Benndorf
Hi,

amreport seems to have a problem with my labelstring while amcheck does not:

/amanda@dl380-54:~$ amreport mirror/
/Hostname: dl380-54/
/Org : Tagesbackup/
/Config  : mirror/
/Date: July 3, 2013/

/These dumps were to tapes {D00224,D00224}, {D00231,D00231}, 
{D00249,D00249}./
/There are 734565M of dumps left in the holding disk./
/They will be flushed on the next run./

/amreport: regex ^{D0[0-9]*,D0[0-9]*}$: Invalid preceding regular expression/


P.S. amanda 3.3.4 is already installed. 

-- 
Regards
Dennis


Re: amreport regex problem

2013-07-04 Thread Jean-Louis Martineau

On 07/04/2013 08:16 AM, Dennis Benndorf wrote:


Hi,

amreport seems to have a problem with my labelstring while amcheck 
does not:


amanda@dl380-54:~$ amreport mirror

Hostname: dl380-54

Org : Tagesbackup

Config : mirror

Date : July 3, 2013

These dumps were to tapes {D00224,D00224}, {D00231,D00231}, 
{D00249,D00249}.


There are 734565M of dumps left in the holding disk.

They will be flushed on the next run.

amreport: regex ^{D0[0-9]*,D0[0-9]*}$: Invalid preceding regular 
expression




'{' is a special character in a regex, but you want a real '{', it must 
be escaped, and as amanda use escaped string, you must escape it twice:


  labelstr ^\\{D0[0-9]*,D0[0-9]*\\}$

Jean-Louis


P.S. amanda 3.3.4 is already installed.

--

Regards

Dennis





strange error in logfile

2013-07-04 Thread Karsten Fuhrmann
Hello,
using Amanda 3.3.3 on FreeBSD 9.1-RELEASE i got this strange message in the 
system of the system which should be backuped via amzfs_sendrecv,
and the backup of this filesystem failed.


Jul  3 16:55:26 trac Amzfs_sendrecv[303]: Argument 1.00x isn't numeric in 
multiplication (*) at /usr/local/libexec/amanda/application/amzfs-sendrecv line 
292.

Greetings,
Karsten Fuhrmann



Re: strange error in logfile

2013-07-04 Thread Jean-Louis Martineau

On 07/04/2013 09:33 AM, Karsten Fuhrmann wrote:

Hello,
using Amanda 3.3.3 on FreeBSD 9.1-RELEASE i got this strange message in the 
system of the system which should be backuped via amzfs_sendrecv,
and the backup of this filesystem failed.


Jul  3 16:55:26 trac Amzfs_sendrecv[303]: Argument 1.00x isn't numeric in 
multiplication (*) at /usr/local/libexec/amanda/application/amzfs-sendrecv line 292.

Greetings,
Karsten Fuhrmann


Amanda expect numerical value but your command append a 'x'.

Apply the attached patch and retry a backup, post the resulting 
amzfs-snapshot debug file.

The patch add more debugging so I can see which command append the 'x'.

Jean-Louis
diff --git a/application-src/amzfs-sendrecv.pl b/application-src/amzfs-sendrecv.pl
index 44b91cf..37bc1a0 100644
--- a/application-src/amzfs-sendrecv.pl
+++ b/application-src/amzfs-sendrecv.pl
@@ -291,6 +291,7 @@ sub estimate_snapshot
 	$self-print_to_server_and_die(cannot estimate snapshot '$self-{snapshot}\@$self-{snapshot}': unknown reason, $Amanda::Script_App::ERROR);
 	}
 }
+Amanda::Debug::debug(estimate_snapshot: $msg);
 if ($level == 0) {
 	my $compratio = $self-get_compratio();
 	chop($compratio);
@@ -327,7 +328,8 @@ sub get_compratio
 	$self-print_to_server_and_die(cannot read compression ratio '$self-{snapshot}\@$self-{snapshot}': unknown reason, $Amanda::Script_App::ERROR);
 	}
 }
-return $msg
+Amanda::Debug::debug(get_compratio: $msg);
+return $msg;
 }
 
 sub command_index_from_output {