czfgmap |
Subversion Repositories: |
Compare with Previous - Blame - Download
#!/bin/bash
#<!-- Copyright (C) 2008 Petr Simandl www.simandl.cz -->
#<!-- This file is part of CZFGmap. -->
#<!-- -->
#<!-- CZFGmap is free software: you can redistribute it and/or modify -->
#<!-- it under the terms of the GNU General Public License as published by -->
#<!-- the Free Software Foundation, either version 3 of the License, or -->
#<!-- (at your option) any later version. -->
#<!-- -->
#<!-- CZFGmap is distributed in the hope that it will be useful, -->
#<!-- but WITHOUT ANY WARRANTY; without even the implied warranty of -->
#<!-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -->
#<!-- GNU General Public License for more details. -->
#<!-- -->
#<!-- You should have received a copy of the GNU General Public License -->
#<!-- along with CZFGmap. If not, see <http://www.gnu.org/licenses/>. -->
datum=`date '+%Y%m%d%H%M%S'`
username="username"
password="password"
mysqldump -u${username} -p${password} gendb > gendb_dump_${datum}.sql