← Back to team overview

dhis2-devs team mailing list archive

[Branch ~dhis2-devs-core/dhis2/trunk] Rev 5290: Updated backup cron script, skipping aggregated* tables

 

------------------------------------------------------------
revno: 5290
committer: Lars Helge Overland <larshelge@xxxxxxxxx>
branch nick: dhis2
timestamp: Mon 2011-12-05 16:58:38 +0100
message:
  Updated backup cron script, skipping aggregated* tables
modified:
  resources/cron/pg_backup.sh


--
lp:dhis2
https://code.launchpad.net/~dhis2-devs-core/dhis2/trunk

Your team DHIS 2 developers is subscribed to branch lp:dhis2.
To unsubscribe from this branch go to https://code.launchpad.net/~dhis2-devs-core/dhis2/trunk/+edit-subscription
=== modified file 'resources/cron/pg_backup.sh'
--- resources/cron/pg_backup.sh	2011-06-13 21:19:39 +0000
+++ resources/cron/pg_backup.sh	2011-12-05 15:58:38 +0000
@@ -6,7 +6,7 @@
 
 echo "Starting backup..."
 
-/usr/bin/pg_dump dhis2ke -U postgres | gzip > $backupfile
+/usr/bin/pg_dump dhis2ke -U postgres -T aggregated* | gzip > $backupfile
 
 timeinfo=`date '+%T %x'`