question

christmascactus avatar image
0 Votes"
christmascactus asked EchoDu-MSFT commented

Does the sharepoint migration tool delete data in the destination that no longer exists in the source?

Hi,

I'm planning out how to migrate our NAS home folder OneDrive and I've run a couple of tests using the SharePoint migration tool. I want to run incremental copies so the bulk of the data is copied ahead of the cut over date, however the tool doesn't delete data from the destination (OneDrive) that no longer exists in the source (home folder) and anything renamed in the source is copied as a new file or folder which results in duplicate data being copied to the destination.

Am I missing a setting or something?

office-sharepoint-online
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

JoyZ avatar image
0 Votes"
JoyZ answered EchoDu-MSFT commented

@christmascactus,

This is by design that SharePoint Migration Tool does not delete data in the destination that no longer exists in the source.

The SharePoint Migration Tool only copies your files from SharePoint on-premises document libraries or regular file shares to SharePoint in Microsoft 365.

If you enable incremental migration, files are evaluated as follows:

141176-image.png


If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.





image.png (36.6 KiB)
· 5
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Hi,

Thanks for clarifying that. It seems a strange decision to me but I've only ever dealt with moving data in file shares rather than SharePoint so maybe it makes sense to SharePoint people.

0 Votes 0 ·
JoyZ avatar image JoyZ christmascactus ·

@christmascactus,

Moving data in file share also applies to the above principles.

0 Votes 0 ·

I understand that. I don't understand why there isn't an option to keep the 2 file system in sync as part of the incremental copy.
If I had a source folder containing Folder A and Folder B. Use SPMT to copy this so the destination has Folder A and Folder B. If the user then deletes a folder and renames the other so the source now only has Folder B-2, I run an incremental copy and the destination now has Folder A, Folder B and Folder B-2 in it and when we go live I have a user asking why deleted folders have reappeared.

0 Votes 0 ·
Show more comments