How to download or backup or to save a copy of a file from openshift remote folder into my local-system folder using rhc client tool? or is there any other way other than rhc client tool to make a backup of it to my local system?
Also, Is there a way to copy an entire folder from remote(openshift) to local?
First,
tar
andgzip
your folder on the server within assh
session, the syntax is:Second, after you have disconnected from the openshift server (with
CTRL-D
), download this file to your local system:Then on your local machine you can extract the file and perform your actions.
Use winscp (if on windows) to ssh into your openshift app. Navigate to your folder. Drag and drop folder or files to local machine.
Filezilla - using filezilla and sftp with openshift