question

OliverLennox-4187 avatar image
0 Votes"
OliverLennox-4187 asked WendyLi-MSFT edited

SPMT - Sharepoint Migration Tool - file deletion on incrementals?

Hi There,

I'm currently doing some testing with SPMT for a migration project we have coming up. I've noticed during testing that when you run an incremental copy, files that have been deleted in the source filesystem are not deleting in the target Sharepoint library (we're migrating from local file server -> Sharepoint).

Is the any setting to delete files in the target library that have been deleted in the source? Kind of like the -MIR option of robocopy.

Thanks,

Olly

office-sharepoint-onlinewindows-server-migration
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.

LimitlessTechnology-2700 avatar image
0 Votes"
LimitlessTechnology-2700 answered

Hello @OliverLennox-4187

That is a expected behavior. As the name states the type is Incremental copy so it doesn't support "decremental". Incremental migration will only copy files if they are new or have been modified since the last migration, but will not remove or set for deletion files that are deleted on local.

Hope this helps with your query,


--If the reply is helpful, please Upvote and Accept as answer--

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.

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

Hello @oliverlennox-4187

According to my research, The SharePoint Migration Tool (SPMT) cannot support your needs.

The SharePoint Migration Tool (SPMT) is a free and easy to use migration solution to help you migrate the content in the local file server to SharePoint, OneDrive, and Teams.

139290-spmt.png

Once the migration is successful, any changes you make to the content in the local file system (Eg: edit files, delete files, add files...) will not affect the content that has been uploaded to the target Sharepoint Document library.

More information about SPMT Settings, please see the "SharePoint Migration Tool Settings" article.

Thanks,
Echo Du
==============================
If an Answer is helpful, please click "Accept Answer" and upvote it.
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.





spmt.png (19.9 KiB)
· 2
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 Echo Du,

The SPMT does have an incremental option once you have run the first full migration. It is this incremental mode that I'm referring to.

0 Votes 0 ·

Hi @oliverlennox-4187

Thanks for your reply.

According to my test, the SharePoint Migration Tool (SPMT) selects the "Run incremental" option, only the newly added content will be added to SharePoint Document library. That is, Modified files will be modified. New files will copy. Renamed files will get copied, and the one it replaced will continue to exist on the destination.

139453-a2.png

139454-a5.png

And, SharePoint will not delete content that has been deleted from the local file system. In other words, SPMT will not delete content synchronously.

Reference:

0 Votes 0 ·
a2.png (58.5 KiB)
a5.png (29.1 KiB)