openshift-cartridge-osbs icon indicating copy to clipboard operation
openshift-cartridge-osbs copied to clipboard

Daily backup does not backup correctly

Open norbertpy opened this issue 10 years ago • 6 comments

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.

osbs

norbertpy avatar Dec 29 '14 19:12 norbertpy

what happens when you ssh to the osbs gear and run osbs/bin/cron-snapshot -g <gear name> -u <gear uuid> -o daily

wshearn avatar Jan 02 '15 22:01 wshearn

It says:

ssh: Could not resolve hostname {appname}-{domain}.rhcloud.comsnapshot: Name or service not known
{"result":true}

norbertpy avatar Jan 03 '15 00:01 norbertpy

Ohh, there was the problem.

Fix commited https://github.com/wshearn/openshift-cartridge-osbs/commit/1590c0724ab857c65fc737773f9fe9bc3bd24fd4

wshearn avatar Jan 03 '15 22:01 wshearn

Thanks. Do I have to create the cartridge all over again or there is a way to update it?

norbertpy avatar Jan 03 '15 23:01 norbertpy

You should be able to ssh into the gear and edit that file

wshearn avatar Jan 04 '15 01:01 wshearn

Permission denied. I can't use sudo on OpenShift. I think I have to create the cartridge from scratch.

norbertpy avatar Jan 04 '15 18:01 norbertpy