Add Custom Rules and Filters During Migration or Import
[Admin note: Merged all suggestion related to more complex filtering during Migration or Import]
- Filter on full file names instead of just exensions.
- Filter with wildcards
- Include / Exclude folder by name using the custom templates
- Exclude specific (sub) folders based on names
- Timestamp/range filters - last modified date and created date
- List or site template filters
- Filter by property (name, type, etc.)
- Filter by size
- Filter empty objects (sites, libraries, folders, ...)
- Exclude specific type of objects (Microfeed...)
We feel like our migration experience is quite good right now and we don’t plan on doing custom rules and filters for now.
Some of those can already be done using PowerShell, SharePoint views and other means.
We will eventually reevaluate this once we advance further in our roadmap.
I need an urgent help. I am trying to do some delta migration via script. I want to migrate any files modified after a certain date.
In my script the date filter is not working correctly and is migrating some extra files and folders too.
I think the string to date conversion is not correct.(Edited by admin)
at least we should able to apply date range for data to be migrated with copy structure & contents as well, that will give more control to ingore data to be migrated which does not needed to retain while migrating to new sites.
We would like file and folder filter options. Essentially ROBOCOPY /XF /XD options. If we can't exclude - then we really have to fall back to other options (robocopy, copy, powershell), which moots the value of the migration utility.
Acep Karmana commented
Copy Structure with Filtered Contents will be a huge improvement. Am I miss it, is there already workaround for this? powershell script fine too.
Murali Rama Krishnan commented
Is it possible to update the content editor webpart's content during migration. user's seems hardcoded styles to disable the SharePoint default header, side navigation, and footor contnent lots of pages.
When we migrate the content remains same, but the user expected behaviour is lost as the new version does not hold the same css class names for header, side navigation, and footer.
Any suggestions or recommended approch for this kind migration.
Appreciate your advice on this.
It's nice that you feel like your migration experience is quite good right now, but many people have asked for this feature. I understand it's a big change to add it to the UI, so how about adding it to PowerShell? I've tried migrating a specified set of lists as a substitute for excluding lists, but we have a lot of lookup columns, and this rapidly becomes too complex to be workable.
My client is migrating everyone's homedrive from the SAN to OneDrive. Of course each person's homedrive is different, but there are some common top level folders that were created for users that the client does not want copied to OneDrive. Such as WINDOWS or DESKTOP. What we would like to be able to do is feed in a list of foldernames to be excluded from being copied. Similar to the existing functionality to feed a list of file extensions to be excluded.
File Size should be able to be limited when copying content.
We want to do all sites/subsites migrated without one library in each site. And I don’t find any option for migration excluding a library/list. Can such migration through Sharegate tool is possible?
Douglas Punchak commented
I'd also like to add further filtering options. I have a requirement now to not upload any file > 1 GB.
Asif Khawaja commented
This is extremely required. Especially the ability to filter libraries or lists that are empty.
Dany Lavertu commented
Add the time range and extension filter to structure migrations as well (only available for content migrations for now)
When running a Copy Site Structure task, please stop trying to migrate the MicroFeed. It is know that it cannot be migrated, so, simply skip it.
Feedback sent from the Migration Report view.
For customers running a ShareGate job on a regular, scheduled basis, the time range filter is a nuisance. You need to keep changing the time range for every job. It would be a big improvement if we could filter by "present date minus 3 years or more" to migrate documents that are 3 years old or older, for example. That way, we could continually send old documents to an archive location, without admin interaction.
It would be good to have an -exclude option for Copy-Content.
With SharePoint migrations, in some instances the target environment has some pages already created, and should not be overwritten from the source environment (they are pre-configured).
In the above example, you could have a page library (20 items), but you only ever want to migrate 19 of them.
Agreed I would love to be able to excluded certain files for a File Share to OneDrive migration. For instance "Desktop" because this is be handled via folder redirection.
I'd like to be able to apply multiple filters. This would super handy for cleaning up content as it comes across from a file share.
For example, I want to exclude the any files matching the following exact filenames:
...as well as any temporary files that match the following wildcards (where the asterisk "*" is the wildcard):
Being able to apply all of these filename filters would be amazing. Thanks! :)
When copying content though a Powershell script, the time range filter is available by creating a property template. You can find more info on the subject here: https://support.share-gate.com/hc/en-us/articles/115000598707-New-Property-Template
Martijn de Bont commented
Timerange is available from the UI (thanks!)
But I am wondering how to set this up for powershell, or when this feature is coming?
Michael Williams commented
Hi just wondering if this feature exists or has been considered, however quite often during migrations we end up migrating empty folders. For example, due to certain rules we set (e.g. restrict file types or disable migrating files older than a set date) it's quite often when migrating a folder moves, however the contents are empty as the files don't meet the criteria we want to migrate. Would it be possible to have an optoin "Not to migrate empty folders"