[evolvis-commits] r18729: Fix cronjobs/gforge-db-backup.sh and install the config scripts it uses

mirabilos at evolvis.org mirabilos at evolvis.org
Tue Oct 23 16:06:52 CEST 2012


Author: mirabilos
Date: 2012-10-23 16:06:52 +0200 (Tue, 23 Oct 2012)
New Revision: 18729

Modified:
   trunk/gforge_base/evolvisforge-5.1/src/cronjobs/gforge-db-backup.sh
   trunk/gforge_base/evolvisforge-5.1/src/debian/changelog
   trunk/gforge_base/evolvisforge-5.1/src/packaging/install/common
Log:
Fix cronjobs/gforge-db-backup.sh and install the config scripts it uses

together with gecko2

Modified: trunk/gforge_base/evolvisforge-5.1/src/cronjobs/gforge-db-backup.sh
===================================================================
--- trunk/gforge_base/evolvisforge-5.1/src/cronjobs/gforge-db-backup.sh	2012-10-15 13:53:02 UTC (rev 18728)
+++ trunk/gforge_base/evolvisforge-5.1/src/cronjobs/gforge-db-backup.sh	2012-10-23 14:06:52 UTC (rev 18729)
@@ -40,7 +40,10 @@
 EXTENSION=$(/usr/share/gforge/bin/forge_get_compressed_extension)
 
 echo "Dumping database"
-su -s /bin/bash postgres -c "pg_dump -F c -d gforge" | $COMPRESSOR > ${DEST}/postgres/gforge.dump${EXTENSION}
+(
+	cd /
+	su -s /bin/bash postgres -c "pg_dump -F c --inserts gforge"
+) | $COMPRESSOR > ${DEST}/postgres/gforge.dump${EXTENSION}
 
 echo "Dumping debconf keys"
 for PAT in $PATTERNS

Modified: trunk/gforge_base/evolvisforge-5.1/src/debian/changelog
===================================================================
--- trunk/gforge_base/evolvisforge-5.1/src/debian/changelog	2012-10-15 13:53:02 UTC (rev 18728)
+++ trunk/gforge_base/evolvisforge-5.1/src/debian/changelog	2012-10-23 14:06:52 UTC (rev 18729)
@@ -1,8 +1,12 @@
 fusionforge (1:5.1.1+evolvis75) xunstable; urgency=low
 
+  [ Andreas Gockel ]
+  * Fix cronjobs/gforge-db-backup.sh and install the config scripts it uses
+
+  [ Thorsten Glaser ]
   * Add Gravatar to the global user list, too
 
- -- Thorsten Glaser <t.glaser at tarent.de>  Mon, 08 Oct 2012 18:56:10 +0200
+ -- Thorsten Glaser <tg at mirbsd.de>  Sat, 20 Oct 2012 17:06:31 +0200
 
 fusionforge (1:5.1.1+evolvis74.2) unstable; urgency=high
 

Modified: trunk/gforge_base/evolvisforge-5.1/src/packaging/install/common
===================================================================
--- trunk/gforge_base/evolvisforge-5.1/src/packaging/install/common	2012-10-15 13:53:02 UTC (rev 18728)
+++ trunk/gforge_base/evolvisforge-5.1/src/packaging/install/common	2012-10-23 14:06:52 UTC (rev 18729)
@@ -35,3 +35,5 @@
 utils/scm-newsubrepo.php               usr/share/@OLDPACKAGE@/bin/
 utils/list-admins.php                  usr/share/@OLDPACKAGE@/bin/
 utils/list-projects-using-plugin.php   usr/share/@OLDPACKAGE@/bin/
+utils/forge_get_compressed_extension   usr/share/@OLDPACKAGE@/bin/
+utils/forge_get_compressor             usr/share/@OLDPACKAGE@/bin/



More information about the evolvis-commits mailing list