Bug 1027457

Summary: rhc snapshot command does not backup app-root/runtime/repo directory
Product: OpenShift Online Reporter: Corey Daley <cdaley>
Component: ocAssignee: Clayton Coleman <ccoleman>
Status: CLOSED NOTABUG QA Contact: libra bugs <libra-bugs>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 2.xCC: agoldste
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-11-07 15:05:40 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Corey Daley 2013-11-06 21:46:25 UTC
Description of problem:
rhc snapshot command does not back up app-root/runtime/repo directory

if users have been sshing into their application to make file changes in their runtime directory (like php files etc) then the rhc snapshot command will not back up those changes.  Also would be useful for users to download their changes and copy them into their current git repo if they want to start using git push to deploy

Version-Release number of selected component (if applicable):


How reproducible:
100%

Steps to Reproduce:
1. run rhc snapshot save on an application
2. tar -xvzf the downloaded *.tar.gz
3. there is no app-root/runtime/repo directory

Actual results:


Expected results:


Additional info:

Comment 1 Andy Goldstein 2013-11-07 15:05:40 UTC
Any time you deploy to OpenShift, all content in app-root/runtime/repo is wiped out and replaced. Adding app-root/runtime/repo to the snapshot wouldn't result in any usable content for the snapshot restore - we restore from app-deployments. If a user wants to download any changes they made to app-root/runtime/repo to their local git repo, they should be able to use scp.