Migrate Nextcloud or WebDAV files to SharePoint
This article explains how to copy files from a self-hosted server, such as Nextcloud, IceWarp, or some NAS devices, into SharePoint with FileMigrata.
Most failures are caused by the URL. If you enter the Files web app address, FileMigrata receives HTML and Verify fails.
Limitations
- Nextcloud Talk, Deck, and OnlyOffice sessions are not copied.
- Server-side encrypted folders are not copied unless they are unlocked.
- Unicode file names may be changed by SharePoint sanitization.
- A server on a private LAN cannot be reached by the FileMigrata engines without a VPN or private link.
What is migrated
- Files and folders returned by a WebDAV PROPFIND, rebuilt as a folder tree in SharePoint
Prerequisites
- A Nextcloud app password. MFA login passwords usually fail over DAV.
- The DAV URL, not
/apps/files. For one account:https://host/remote.php/dav/files/<user>/. See Connect WebDAV and Nextcloud / IceWarp. - A SharePoint library. See Connect SharePoint.
IceWarp uses the same adapter but a different DAV path. Use the path in the IceWarp documentation.
Mapping
- Map one Nextcloud user folder or group folder to one SharePoint library. Group folders and user folders use different paths.
- Map a personal account to that user's OneDrive.
Steps
- In Nextcloud security settings, create an app password.
- Connect WebDAV with the DAV URL.
- Connect the SharePoint library.
- If Verify times out, the server is on your LAN and cannot be reached. Use a VPN or private link, or copy the data to MinIO first and migrate from there.
- Run the job.
To send the files to S3 instead, see the WebDAV and S3 connection pages.
Troubleshooting
- HTML with status 200: The URL is wrong. Use the DAV path.
- 401: The app password is missing or wrong. Create one under Security > Devices & sessions.
- 405 or 404: The address is not a DAV path. Use
remote.php/dav/files/USERNAME/. - Timeout: FileMigrata cannot reach the server. Fix the network path, then resume.
- Network dropped: Resume the same job.