Discussions
Categories
Groups
Community Home
Categories
INTERNAL ENABLEMENT
POPULAR
THRUST SERVICES & TOOLS
CLOUD EDITIONS
Quick Links
MY LINKS
HELPFUL TIPS
Back to website
Home
Web CMS (TeamSite)
Deleting Files on Prod (using do_deletes)
keranki
Deleting some of the Content Files on Prod Server (using do_deletes option, OpenDeploy)
What am i looking for?
1) How do i get the list of existing files on Prod server (so that i can select and mark files for deletion.)
2) How can i Review the files before actually deleting the Files on Prod server.
Any ideas?
Find more posts tagged with
Comments
Adam Stoller
I'm assuming you're talking OpenDeploy 4.x as you are using 4.x terminology.
You are looking for an interactive process - OpenDeploy is an automated non-interactive process for deploying content.
In order to do what you want, you'd need to run OpenDeploy in dont_do (or dont_run?) mode to see what it *would* do, parse the results, and provide an interface to removing select files from yhour production server.
This could be done - but there's an unknown amount of coding involved here - depending on how you expect to use this and what kind of UI you want to see for doing this - and all of this would have to be run with OpenDeploy in dont_do mode or without do_deletes so that you can see what's going on.
If it's just a matter of getting things tuned - you can run it in dont_do mode and then add exclusion filters to fine-tune the list of things that would be considered for deletion on the target (production) server - once you've gotten it tuned the way you want - then you can run OpenDeploy in its normal mode and there is no need to try and interactively pick what gets deleted.
Perhaps you need a better understanding of OpenDeploy - what it does, how it does it? If so - I'd recommend (a) reading the manual and (b) attending the OpenDeploy course offered by Interwoven's Education department
--fish
(Interwoven, Curriculum Development)
Content_Server_65_SP1_release_notes.pdf
keranki
Here are some more details:
1) I am having a OpenDeploy 5.5.1 Installed on Unix/Solaris.
2) The target Prod servers on which we are deploying the files are Windows boxes.
What am i looking for?
a) Compare the list of files in Staging area (on TS OpenDeploy) and Target (Prod) server and then select the files that have to be deleted from the Prod server.
b) However, If i use the 'doDeletes' option in Opendeploy it will be deleting alll the files on the Prod and deploy the new files. I want to retain some of the files and directories on the target (prod) server that are not in the Staging area for OpenDeploy.
Adam Stoller
You need to read the sections in the OpenDeploy manual which talk about "filters" - in your case you need to specify files and directories that should be ignored (as if they aren't there) on the target side - so that they aren't treated as "missing from source" during the deployment.
Take a look at the manual - and then, if you're still having problems - post again.
--fish
(Interwoven, Curriculum Development)