projects
/
eq
/
.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Minor restructuring of program locations.
[eq/.git]
/
bin
/
backup_phpgw_db
1
#!/bin/bash
2
3
MNTPNT="/backup"
4
DSTDIR="/backup/mysql/"
5
DBNAME=phpgroupware
6
DBUSER=phpgroupware
7
DBPASS=phpgroupware
8
9
mount -w -o remount $MNTPNT
10
/usr/bin/mysqldump --databases $DBNAME -u $DBUSER --password=$DBPASS -c > $DSTDIR/mysql_phpgw_backup.sql
11
ls -l $DSTDIR/mysql_phpgw_backup.sql
12
mount -r -o remount $MNTPNT
13