Changeset 1012


Ignore:
Timestamp:
Jan 5, 2010, 11:36:13 PM (11 years ago)
Author:
teymour
Message:

Encore un peu plus générique

File:
1 edited

Legend:

Unmodified
Added
Removed
  • cpc/trunk/project/bin/autodump

    r1011 r1012  
    11#!/bin/bash
     2if [ -z "$1" ] ; then
    23source bin/db.inc
     4else
     5source $1
     6fi
    37
    48mysqldump $MYSQLID $DBNAME -q --single-transaction --add-drop-table -R -t --disable-keys --complete-insert | gzip > $DUMPDIR/$DBNAME.$(date +%y%m%d).sql.gz
Note: See TracChangeset for help on using the changeset viewer.