Gunnar,

Try the attached patch.

Jean-Louis

Gunnarsson, Gunnar wrote:
Hi,
I version 3.2.0 amgtar is not using PROPERTY directory amzfs-snapshot, has something changed regarding this in 3.2.0 ? This has been working in the previous version of amanda, snipped from debug file: sendbackup: script: PROPERTY directory /export/.zfs/snapshot/amanda-_export-current amgtar: Spawning "/usr/local/bin/tar /usr/local/bin/tar --create --verbose --file - --directory /export --one-file-system --no-check-device --listed-incremental /var/opt/lib/amanda/gnutar-lists/tx5019_export_1.new --sparse --ignore-failed-read --totals ." in pipeline amgtar should be called with --directory /export/.zfs/snapshot/amanda-_export-current define dumptype snap-zfs-amgtar {
        dt_amgtar
        script "amzfs_snapshot"
        maxdumps 2
}
Thanks Gunnar Gunnarsson

diff --git a/client-src/client_util.c b/client-src/client_util.c
index 5dc4974..38a131d 100644
--- a/client-src/client_util.c
+++ b/client-src/client_util.c
@@ -1221,7 +1221,6 @@ run_client_scripts(
 	    g_ptr_array_free(script->result->err, TRUE);
 	    script->result->err = NULL;
 	}
-	amfree(script->result);
     }
 }
 

Reply via email to