Bug 1027457 - rhc snapshot command does not backup app-root/runtime/repo directory
Summary: rhc snapshot command does not backup app-root/runtime/repo directory
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: OpenShift Online
Classification: Red Hat
Component: oc
Version: 2.x
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: ---
Assignee: Clayton Coleman
QA Contact: libra bugs
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-11-06 21:46 UTC by Corey Daley
Modified: 2015-05-15 02:26 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-11-07 15:05:40 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

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.


Note You need to log in before you can comment on or make changes to this bug.