Changeset 9b55ebc in osmose-frontend


Ignore:
Timestamp:
Jan 26, 2015 9:00:18 PM (5 years ago)
Author:
Jocelyn Jaubert <jocelyn.jaubert@…>
Children:
28103c7, b2ad4a7
Parents:
b9e7e26
git-author:
Jocelyn Jaubert <jocelyn.jaubert@…> (26/01/2015 21:00:16)
git-committer:
Jocelyn Jaubert <jocelyn.jaubert@…> (26/01/2015 21:00:18)
Message:

Fix SQL dump

  • change name to osmose-planet-latest.sql.bz2
  • remove table dynpoi_status
  • move temporary file to $WORK/tmp/
File:
1 edited

Legend:

Unmodified
Added
Removed
  • tools/cron.sh

    rb9e7e26 r9b55ebc  
    4141             );" 
    4242 
    43 pg_dump -t dynpoi_categ -t dynpoi_class -t dynpoi_item -t dynpoi_status -t dynpoi_update_last -t marker -t marker_elem -t marker_fix -t source $DATABASE \ 
    44   | bzip2 > "$DIR_DUMP/planet-dump.sql.bz2.tmp" 
     43mkdir "$DIR_DUMP/tmp" 
    4544mkdir "$DIR_DUMP/export" 
    46 mv "$DIR_DUMP/planet-dump.sql.bz2.tmp" "$DIR_DUMP/export/planet-dump.sql.bz2" 
     45 
     46pg_dump -t dynpoi_categ -t dynpoi_class -t dynpoi_item -t dynpoi_update_last -t marker -t marker_elem -t marker_fix -t source $DATABASE \ 
     47  | bzip2 > "$DIR_DUMP/tmp/osmose-planet-latest.sql.bz2.tmp" 
     48mv "$DIR_DUMP/tmp/osmose-planet-latest.sql.bz2.tmp" "$DIR_DUMP/export/osmose-planet-latest.sql.bz2" 
Note: See TracChangeset for help on using the changeset viewer.