[Collab-qa-commits] r1385 - in udd: scripts web
lucas at alioth.debian.org
lucas at alioth.debian.org
Fri Feb 13 08:37:32 UTC 2009
Author: lucas
Date: 2009-02-13 08:37:32 +0000 (Fri, 13 Feb 2009)
New Revision: 1385
Added:
udd/scripts/dump-db.sh
Modified:
udd/web/index.html
Log:
added script to dump the DB in a cronjob
Added: udd/scripts/dump-db.sh
===================================================================
--- udd/scripts/dump-db.sh (rev 0)
+++ udd/scripts/dump-db.sh 2009-02-13 08:37:32 UTC (rev 1385)
@@ -0,0 +1,7 @@
+#!/bin/sh
+
+set -e
+cd /org/udd.debian.org/udd/web/
+umask 644
+pg_dump --no-owner -p 5441 udd | gzip > udd.sql.gz.new
+mv udd.sql.gz.new udd.sql.gz
Property changes on: udd/scripts/dump-db.sh
___________________________________________________________________
Name: svn:executable
+ *
Modified: udd/web/index.html
===================================================================
--- udd/web/index.html 2009-01-25 22:23:34 UTC (rev 1384)
+++ udd/web/index.html 2009-02-13 08:37:32 UTC (rev 1385)
@@ -8,7 +8,7 @@
aspects of <a href="http://www.debian.org">Debian</a> in a single SQL
database. It allows users to easily access and combine all this data.</p>
- <p>You can have a look at the <a href="http://udd.debian.net/schema/">UDD
+ <p>You can have a look at the <a href="http://udd.debian.org/schema/">UDD
Schema</a>.</p>
<p>More information about UDD are collected on the
@@ -65,5 +65,6 @@
</a>
</li>
</ul>
+<p>A full dump of the database, generated every two days, is <a href="udd.sql.gz">also available</a>. Be careful, it's quite big (~300 MB gzipped).</p>
</body>
</html>
More information about the Collab-qa-commits
mailing list