#!/bin/sh # # create-sql-dump.sh - dump data from transaction database # # Developed by Lubomir Host 'rajo' # Copyright (c) 2004 Platon SDG, http://platon.sk/ # Licensed under terms of GNU General Public License. # All rights reserved. # # Changelog: # 08/04/2004 - created # # $Platon: web-apps/finance-manager/sql/create-sql-dump.sh,v 1.1 2004/04/09 09:18:58 rajo Exp $ # # Database tables for finanace-manager needs to be dumped in special order. # This script tries fix this issue. # OUTPUT="finance.sql" SQL_USER="finance" SQL_HOST="localhost" SQL_DATABASE="finance" SQL_PASSWD="" cat > $OUTPUT <> "$OUTPUT"