Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

executable file 15 lines (9 sloc) 0.577 kb
# Usage: export_database.sh databaseName databaseName...
openssl pkcs12 -in ${EUCALYPTUS}/var/lib/eucalyptus/keys/euca.p12 \
-name eucalyptus -name "eucalyptus" \
-password pass:eucalyptus -passin pass:eucalyptus -passout pass:eucalyptus \
-nodes | \
grep -A30 "friendlyName: eucalyptus" | \
egrep -A27 "BEGIN (RSA|PRIVATE)" | grep -v 'Bag Attributes' > ${EUCALYPTUS}/var/lib/eucalyptus/keys/cloud-pk.pem
PASS=$($(dirname $(readlink -f $0))/dbPass.sh)
for xx in ${@}; do echo "connect $xx"; mysqldump -u eucalyptus --password=${PASS} --port=8777 --protocol=TCP $xx; done
Jump to Line
Something went wrong with that request. Please try again.