openshift-cartridge-osbs
openshift-cartridge-osbs copied to clipboard
Daily backup does not backup correctly
I have set up the OSBS from the guideline. However, if I hit the Backup Now
, it'll work just fine but the daily backup creates a fake gz
file with zero size.
what happens when you ssh to the osbs gear and run osbs/bin/cron-snapshot -g <gear name> -u <gear uuid> -o daily
It says:
ssh: Could not resolve hostname {appname}-{domain}.rhcloud.comsnapshot: Name or service not known
{"result":true}
Ohh, there was the problem.
Fix commited https://github.com/wshearn/openshift-cartridge-osbs/commit/1590c0724ab857c65fc737773f9fe9bc3bd24fd4
Thanks. Do I have to create the cartridge all over again or there is a way to update it?
You should be able to ssh into the gear and edit that file
Permission denied
. I can't use sudo
on OpenShift. I think I have to create the cartridge from scratch.