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)
Retrieving Part of an Edition
jajtiii
I have a problem that I am hoping for a suggestion on. A simple high level direction would be great (I can do the legwork in building out the script to do this.)
I have a branch with several workareas that had a large amount of content reverted to an edition from March 21 on October 3 of this year (this was caused by a junior developer and me not catching an error in an advanced workflow they were working on.)
Since only part (say 1000 pieces of content out of 10,000) of the content was reverted, the problem was not immediately recognized. In fact, the users have only just reported the issue (Dec 6).
Effectively, I am looking for any TeamSite tools that can help me to revert all of the content back to the Oct 2 stage.
Off the top of my head, I could build a script that checks for the last version of every file in the workarea. If it is set to March 21 and the prior version is AFTER that date, I could revert it to the prior version. I would do this via TeamSite command line tools. The rest of the content would be left alone (as, there is a lot of content that was either not touched in the error or has been updated since then and is no longer at issue.)
My question to this group of experts is 'do any advanced tools exist that would make this easier?' or 'Is there a better way of doing what I want to do other then what I have suggested?'
Find more posts tagged with
Comments
nipper
You may need to do it yourself, it should not be that hard, iwrlog should provide the you need. I hope you are good with regex
That being said have you tried comparing editions ? Even if you do not create editions yourself, TS makes hidden editions every time something is submitted. you those *may* help.
John742
Off the top of my head:
1- Identify using the Update log when exactly the update from the older edition occured to your WA.
2- Using this time find the edition (implicit or explicit) that was made just prior to the update.
3- Do a compare between your WA and this identified edition (if it is implicit you will have to hand type in the name since the edition list will not show these; example "#103").
4- Copy all files from this edition back to your WA that are listed as being newer in the edition.
A couple of disclaimers:
- Try to define whether or not there is any condition that would be valid where files in the WA could be older than those found in the comparing edition. IF the answer is no you are ok.
- This will not take into account work in progress not submitted in the WA. The replaced file will be that of changes that were actually submitted. Unfortunatley, if files were replaced that were in a modified state, those delta changes are lost.
One other thought:
This is always the fun one
Request a restore of your content repository from the date just prior to the update and begin the multiple steps needed to get the old verison of the WA to a place that will allow a compare to be done to your existing WA. I will not bore you with the details but if you are interested let me know.
Interwoven actually recommends allowing your backup utility to make backups of your main WA's via the exposed mount for just this reason(if you have the time and space to do so). Doing the "fix" this way could restore work in progress lost also. Check out page 136 of the TeamSite 6.5 Unix admin guide for more info on this.