Question

I want to configure daily snapshots for my Openshift instance and save those snapshots to Amazon S3. When I tried to accomplish this task, I faced several difficulties:

  1. Openshift instance can't create snapshot of itself, so you have to have separate instance to create this snapshot for you.
  2. When I've created separate instance, I didn't managed to setup rhc properly. When I ran rhc setup (after gem install rhc), it throw me an error:

`mkdir': Permission denied - /var/lib/openshift/530...0132/.openshift (Errno::EACCES)

I think it will be simpler create backups for database, like described here, but I want try snapshots first. Can you provide me some hints on doing them in daily manner?

Thank you.

Was it helpful?

Solution

Then you'll most likely want to use this https://www.openshift.com/blogs/introducing-a-new-backup-cartridge.

OTHER TIPS

the rhc client should be installed to your local machine. From the looks of var/lib/openshift/530...0132/ you're trying to install it on your gear. Take a look here for more information on how to get it installed https://www.openshift.com/get-started.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top