Sharepoint Forum

Ask Question   UnAnswered
Home » Forum » Sharepoint       RSS Feeds

Content Deployment Dosen't Clean Up TempFiles

  Asked By: Conor    Date: Mar 16    Category: Sharepoint    Views: 2198

Deploying content between two farms, the Authoring farm cleans up temp cab files after deployment job runs but the destination farm keeps the cab files and folders around after the job completes and never deletes. They seem to have a lock on them since I can't delete them says another process is using them.. I thought that it was supposed to clean up after? Any ideas?



1 Answer Found

Answer #1    Answered By: Bhairavi Damle     Answered On: Mar 16

Usually SharePoint clean  up the content  deployment temporary files  unless you tell him not to. These files cannot be deleted unless you delete  the content deployment  job first and restart the OWSTimer.

To tell SharePoint to keep or to not keep the temporary files, there is an StsAdm command : Editcontentdeploymentpath. It has a parameter (-KeepTemporaryfiles) that you can configure to Never, Always, or on Failure. See more details here : technet.microsoft.com/en-us/library/cc262814.aspx

Sometimes, it's helpful to keep the temporary files for debugging purposes in case the deployment job  fails.

Didn't find what you were looking for? Find more on Content Deployment Dosen't Clean Up TempFiles Or get search suggestion and latest updates.