File:  [Local Repository] / badi / public_scripts / parallelstarter / db_backup / parallelstarter.prepare_process_start
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs - revision graph
Mon Jul 18 11:49:04 2011 UTC (13 years, 4 months ago) by adi
Branches: ik, MAIN
CVS tags: main, HEAD
from IVT CVS


db="$(echo "$RUN_ARGS" | sed -e "s/^.*\(-D\|--database\) \([^ ]*\) *-*.*$/\2/")"
# for OS X use
# db="$(echo "$RUN_ARGS" | sed -E "s/^.*(-D|--database) ([^ ]*) *-*.*$/\2/")"

dbhost="$(echo "$RUN_ARGS" | sed -e "s/^.*\(-h\|--host\) \([^ ]*\) *-*.*$/\2/")"
# for OS X use
# dbhost="$(echo "$RUN_ARGS" | sed -E "s/^.*(-h|--host) ([^ ]*) *-*.*$/\2/")"

STARTMSG="Starting backup of DB $db on $dbhost..."



FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>