Jump to content


  • 0
kornboy82

Migrate folders and ignore extensions exclusions

Question

Hi all,

 

Is it possible to migrate a folder when ignoring the extension filters ?

 

Here are the explanations :

 

In my MigData.xml file, there are some file extensions excluded (we don't want to overload our backup source).

 

<component type="Documents" context="UserAndSystem">
<displayName>ExclusiondeCertainTypedeFichiers</displayName>
<role role="Data">
<rules>
<unconditionalExclude>
 <objectSet>
 <script>MigXmlHelper.GenerateDrivePatterns ("* [*.gho]", "Fixed")</script>
 <script>MigXmlHelper.GenerateDrivePatterns ("* [*.exe]", "Fixed")</script>
 <script>MigXmlHelper.GenerateDrivePatterns ("* [*.msi]", "Fixed")</script>
 <script>MigXmlHelper.GenerateDrivePatterns ("* [*.iso]", "Fixed")</script>
 <script>MigXmlHelper.GenerateDrivePatterns ("* [*.inf]", "Fixed")</script>
 <pattern type="File">%CSIDL_PERSONAL%\Ma musique\ [*chantillons de musique.lnk]</pattern>
 <pattern type="File">%CSIDL_PERSONAL%\Mes images\ [*chantillons d'images.lnk]</pattern>
 <pattern type="File">%CSIDL_COMMON_DOCUMENTS%\Ma musique\*llons de musique [*]</pattern>
 <pattern type="File">%CSIDL_COMMON_DOCUMENTS%\Mes images\*llons d'images [*]</pattern>
					 <pattern type="File">%SYSTEMDRIVE%\Temp\* [*]</pattern>
 <pattern type="File">%PROFILESFOLDER%\206instsac\* [*]</pattern>
 <pattern type="File">%PROFILESFOLDER%\206instsac.csdps\* [*]</pattern>
 <pattern type="File">%PROFILESFOLDER%\prep\* [*]</pattern>
 <pattern type="File">%PROFILESFOLDER%\admincsdps\* [*]</pattern>
 <pattern type="File">%PROFILESFOLDER%\cisccm\* [*]</pattern>
 <pattern type="File">%SYSTEMDRIVE%\Windows\* [*]</pattern>
 <pattern type="File">%SYSTEMDRIVE%\CSDPS\* [*]</pattern>
 <pattern type="File">%SYSTEMDRIVE%\Cakewalk* [*]</pattern>
 <pattern type="File">%SYSTEMDRIVE%\Program Files\* [*]</pattern>
 <pattern type="File">%SYSTEMDRIVE%\HotFix\* [*]</pattern>
 <pattern type="File">%SYSTEMDRIVE%\ProgramData\* [*]</pattern>
 <pattern type="File">D:\Recit* [*]</pattern>
 <pattern type="File">D:\SMART Technologies* [*]</pattern>		
 </objectSet>
</unconditionalExclude>
</rules>
</role>
</component>

 

Those extensions and folders are all excluded. In this file, we have also included a folder to backup. I want it to be backuped inconditionally from these ignored extensions.

 

<!-- Ce composant est pour migrer Accusound-->
<component type="Documents" context="System">
<displayName>Composant pour migrer Accusound</displayName>
<role role="Data">
<rules>
	 <include>
	 <objectSet>
	 <script>MigXmlHelper.GenerateDrivePatterns ("c:\Maxivox\* [*] ", "Fixed")</script>					
 </objectSet>
	 </include>
</rules>
</role>
</component>

 

Is it possible ??? Thank you !

Share this post


Link to post
Share on other sites

1 answer to this question

Recommended Posts

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...


×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.