Depending on how you uploaded your project to OpenShift Online, you have a couple of options for recovering your files.
- SCP/SFTP : You can use a file transfer program that supports the SCP or SFTP protocols to download the files for your website, which should be located in your ~/app-root/repo directory.
- Git : If you were using Git to add/push your files to your OpenShift online application, you can re-clone your application to your local machine using the
rhc git-clone
command.
- Download an Archived Backup : You can use the
rhc snapshot-save
command to created an archived backup of your application, which will then be downloaded to your local machine. You can then decompress the archive and extract your files.