Changeset 1253 for cpc/trunk/project/bin


Ignore:
Timestamp:
Jul 27, 2010, 1:11:44 AM (11 years ago)
Author:
teymour
Message:

Rendre génériq le chemin

Location:
cpc/trunk/project/bin
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • cpc/trunk/project/bin/db.inc

    r1011 r1253  
    22DBNAME="cpc"
    33DUMPDIR="data/sql/dumps"
     4PATH_APP="/home/nosdeputes/prod"
     5
  • cpc/trunk/project/bin/dump

    r873 r1253  
    11#!/bin/bash
    22. bin/db.inc
    3 path="/home/nosdeputes/prod"
    43
    5 mysqldump $MYSQLID $DBNAME -q --single-transaction --add-drop-table -R -t --disable-keys --complete-insert | gzip > ${path}/data/sql/data.dump.sql.gz
     4mysqldump $MYSQLID $DBNAME -q --single-transaction --add-drop-table -R -t --disable-keys --complete-insert | gzip > $PATH_APP/data/sql/data.dump.sql.gz
Note: See TracChangeset for help on using the changeset viewer.