Last active
February 21, 2017 13:35
-
-
Save boina-n/08b2d9375857daa9d6163a14444e5f4a to your computer and use it in GitHub Desktop.
This java program will create a script to recreate all the ressources of you Cloud Foundry installation (Account, orgs, spacs, quotas etc...)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
export MAVEN_OPTS="-Dhttps.proxyHost=1.2.3.4 -Dhttps.proxyPort=3128" | |
./mvnw clean package | |
mkdir -p /root/script/cfbackup | |
java -jar target/gencfscript-0.0.2-SNAPSHOT.jar http://api.pcfdev admin admin --skip-ssl-validation --hideProgress > /root/script/cfbackup/$(date +"%Y%m%d").cfbackup.sh | |
0 0 * * * /root/script/usagereport.sh &>/dev/null |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment