In attempting to break down a large Store into several smaller stores, here is what I have found:
*Have not had success with the Slide commandline client (may just be ignorance and not understand the documentation on how to use this tool for this function). *Have had success with DAVExplorer as a generic WebDAV GUI copy/moving objects between stores -- but manual process. *Looked at the Slide ANT tasks, these may or may not work, but need a way to programatically identify (i.e. logically separate) which files should be moved. *Based on the assumption that Slide 2.2 will have WCK support/MacroStore support built into the binary release, started working with the WCK kit. I have gotten this far in using WCK utilizing the Macro Move/Copy methods, but I'm assuming that the 'begin' method is where everything gets setup, and I do not understand the usage of the 'begin' method as far as what is usually passed to it: [code] //need WCK, slide-kernel.jar, and commons-transaction (and probably also geronimo-jta) WebdavFileStore wfs = new WebdavFileStore(); //Service, Principal, Object, LoggerFacade, Hashtable wfs.begin(new ExtendedStore(),null,null,null,null); //String sourceUri, String targetUri, boolean overwrite, boolean recursive String sourceUri = "http://localhost:8080/slide/files/"; String targetUri = "http://localhost:8080/slide/files2/"; boolean overwrite = true; boolean recursive = true; wfs.macroCopy(sourceUri, targetUri, overwrite, recursive); wfs.commit(); //not utilized in WebdavFileStore, but good to keep just-in-case. [/code] I've looked at the WCK Wiki page and the API, but I'm just not smart enough I guess ;-) Slide 2.2pre1 CVS build (webapp dist), same CVS build of WCK with macrostore support, on tomcat 5.0.28 and java 1.4.2. -D > -----Original Message----- > From: Darren Hartford [mailto:[EMAIL PROTECTED] > Sent: Thursday, March 24, 2005 11:36 AM > To: Slide Users Mailing List > Subject: Best Practice to disassemble a large Store? > > Hey all, > Does anyone have experience they would like to share on how > to disassemble a large Store into smaller stores? > > Logically, I can break up the data by in various ways, but my > question is on how to copy/move many objects and metadata > from one store to another new store(TxFileContentStore, > TxXMLFileDescriptorsStore). I think the WCK has some support > for this, but it seems like you have to rebuild the Slide > server to support it (and rather not do that). Using Slide > 2.1 binary with Tomcat 5.0.28. > > Any ideas please? > > -D > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
