Then you'll most likely want to use this https://www.openshift.com/blogs/introducing-a-new-backup-cartridge.
Periodic snapshots/backups for openshift instance
문제
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:
- Openshift instance can't create snapshot of itself, so you have to have separate instance to create this snapshot for you.
- When I've created separate instance, I didn't managed to setup
rhc
properly. When I ranrhc setup
(aftergem 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.
해결책
다른 팁
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.
제휴하지 않습니다 StackOverflow