Index: /branches/eam_branches/ipp-20101103/psModules/src/config/pmConfigDump.c
===================================================================
--- /branches/eam_branches/ipp-20101103/psModules/src/config/pmConfigDump.c	(revision 29821)
+++ /branches/eam_branches/ipp-20101103/psModules/src/config/pmConfigDump.c	(revision 29822)
@@ -150,5 +150,12 @@
     }
 
-    if (!psMetadataConfigWrite(config->user, resolved)) {
+    // check for Metadata compression options:
+    char *compressMode;
+    bool status = false;
+    if (config->camera) {
+	compressMode = psMetadataLookupStr(&status, config->camera, "METADATA.COMPRESSION");
+    }
+
+    if (!psMetadataConfigWrite(config->user, resolved, compressMode)) {
         psError(psErrorCodeLast(), false, "Unable to dump configuration to %s", filename);
         psFree(resolved);
