ldap, mysql, pgsql: use gzip's --rsyncable option
[matthijs/upstream/backupninja.git] / handlers / ldap.in
index 5f402c744ae3fb93065bb82068a3a54cfabbd5a4..853cefb55ce2e0126a00c822b0c7c5cafca5a726 100644 (file)
@@ -86,7 +86,7 @@ if [ "$ldif" == "yes" ]; then
          fi
 
          if [ "$compress" == "yes" ]; then
-            execstr="$execstr | $GZIP > $dumpdir/$dbsuffix.ldif.gz"
+            execstr="$execstr | $GZIP --rsyncable > $dumpdir/$dbsuffix.ldif.gz"
          else
             execstr="$execstr > $dumpdir/$dbsuffix.ldif"
          fi