Collaboration & Productivity

Migrate from SharePoint to Nextcloud: A Step-by-Step Guide

L
Lena Hartmann
··16 min read
Step-by-step guide to migrating SharePoint to Nextcloud: export options, permission mapping, version history, and zero-downtime cutover strategies. Plan 3-4 weeks.
TL;DR
  • SPMT is free but exports only the latest version, not version history
  • Permission mapping is manual: SharePoint groups become Nextcloud groups, but inheritance collapses and requires restructuring
  • Power Automate workflows do not translate; rewrite or retire them before cutover
  • Phased migration (one team at a time) minimizes disruption and gives users time to adapt
  • Plan 3-4 weeks for a 50-100 GB migration, with 50% of the time spent on validation and permissions

SharePoint migrations to open-source platforms like Nextcloud are rare in public guidance: the top search results all cover Microsoft-to-Microsoft moves. If you are evaluating Nextcloud as a SharePoint replacement, you need a different roadmap. This guide walks you through the export process, permission mapping, what breaks, and how to cut over without disrupting your teams.

Why Migrate from SharePoint to Nextcloud?

Migrating from SharePoint to Nextcloud makes sense when licensing costs, data sovereignty, or vendor lock-in concerns outweigh the complexity. SharePoint Online costs roughly $10-20/user/month in Enterprise plans. Nextcloud, self-hosted, has no per-user costs. But you trade operational convenience for control: you run the infrastructure.

The cost argument is straightforward. A 50-person team on SharePoint Online at $15/user/month pays $9,000 annually in licensing alone. A single Nextcloud server instance, self-hosted, costs storage (a few hundred dollars per month) and your admin time. The math tips sharply toward Nextcloud when you have in-house operations capacity or can hire a part-time admin to maintain it.

Control and data sovereignty are the second lever. GDPR, HIPAA, or industry-specific data residency rules often push teams toward self-hosted solutions. Nextcloud runs entirely on your infrastructure, in your data center or on a hosting provider you choose. Microsoft 365 stores data in Microsoft's global regions; if that conflicts with your compliance profile, Nextcloud is a practical alternative.

Vendor lock-in is the third reason. SharePoint document libraries are deeply integrated with Microsoft Teams, Outlook, Power Automate, and Microsoft 365. Extracting data and switching ecosystems requires deliberate engineering. Nextcloud is open-source: you own the data schema and can export freely at any time.

But here is the tradeoff: Nextcloud does not replace SharePoint 1:1. You lose Power Automate workflows, rich metadata handling (custom content types), and deep Microsoft 365 integration. Most teams are not using Power Automate heavily or have not built critical business logic inside SharePoint. If you have, you need to rehost or rewrite that logic. The real question is whether the cost savings and control outweigh the feature gap for your use case.

Understanding SharePoint Export Options

SharePoint exports depend on whether you run on-premises (SharePoint Server 2016, 2019) or online (SharePoint Online in Microsoft 365). On-premises: PowerShell scripts or native export tools send data to file shares. Online: Microsoft provides SPMT and PnP PowerShell for bulk export. Both require administrator access and produce folder structures, CSV metadata, and file copies suitable for re-import.

If you run on-premises SharePoint (Server 2016, 2019), you can export document libraries directly to network file shares using PowerShell or the Content Migration API. The native SharePoint export tools produce folder hierarchies and metadata in CSV formats, making them straightforward to consume in Nextcloud.

If you run SharePoint Online (the SaaS version in Microsoft 365), the SharePoint Migration Tool (SPMT), a free Microsoft utility, can export entire site collections to a staged directory on your local machine or network. SPMT handles permissions, metadata, and versions, with caveats discussed below. It runs on Windows and requires a service account with tenant administrator rights.

PnP PowerShell, a community-maintained open-source toolkit, is an alternative to SPMT and offers finer-grained control over exports. PnP can target specific lists, libraries, or sites, skip certain content types, and filter by date range. For selective migrations (one department at a time), PnP is often faster than SPMT because it avoids exporting the entire tenant.

For smaller libraries (under 10 GB), manual export is an option: download files via the SharePoint UI, export metadata as CSV, and restructure locally. For teams migrating less than 100 GB, this is often simpler than configuring SPMT, though it does not scale.

Assessing Your SharePoint Environment Before Migration

Before exporting, audit your SharePoint instance: identify ROT content (redundant, outdated, trivial), document custom columns and content types, list all permission groups, and size total data volume. Most SharePoint instances contain 30-40% ROT. Removing it before migration cuts export time, storage costs, and downstream validation work by half.

ROT content is ubiquitous in SharePoint. IT teams routinely find that 30-50% of document libraries have not been accessed in two years. Before migration, run a content audit: enumerate all libraries, measure each one, identify stale archives, and decide what stays. This is your opportunity to retire old SharePoint sites and consolidate fragmented libraries that should have been merged years ago.

Document custom columns (metadata) and content types. If you have custom columns such as "Project Code," "Cost Center," or "Document Type," map these to Nextcloud equivalents (custom metadata, tags, or folder naming). SharePoint content types are blueprints for document structure with enforced fields. They do not translate to Nextcloud. You must decide: do you replicate this structure in Nextcloud using folder conventions and tags, or accept that Nextcloud's flatter approach requires users to adjust their workflows?

List all SharePoint security groups and NTFS ACLs (on-premises). These will become Nextcloud groups and folder ACLs, covered below. Tools like the SharePoint Assessment Tool or community scripts can enumerate groups and permissions. This data is essential to your Nextcloud group and share design.

Calculate total data volume and file counts. SPMT and bulk exports struggle with very large libraries (1+ terabyte, 1+ million files). If you are migrating multi-terabyte data, plan for phased exports and validate checksums at each stage to catch data loss early.

Mapping SharePoint Permissions to Nextcloud

SharePoint permissions map imperfectly to Nextcloud. SharePoint groups and NTFS ACLs must become Nextcloud groups and folder ACLs. Inherited permissions often collapse because Nextcloud shares are flat, requiring manual restructuring. Budget 20-30% of your project time for permission audits and remediation post-migration.

In SharePoint, permissions flow through security groups (e.g., "Marketing Team," "Finance Reviewers"). Each group is tied to a SharePoint site and inherits permissions up a hierarchy. In Nextcloud, groups exist globally, and you grant access to shares (folders) via ACL. Translation: create a Nextcloud group for each SharePoint group, then assign each folder to the corresponding group or groups.

The problem is inheritance. SharePoint permission inheritance is complex: a document can inherit from its folder, which inherits from the library, which inherits from the site. Breaking inheritance and assigning unique permissions to subsets of folders is common practice. Nextcloud shares are flat: there is no automatic inheritance, so you must manually configure each folder's ACL. If you have 50+ folders with unique permission sets, this is tedious and error-prone.

A practical strategy: during export, document the permission set for each library and folder. After import to Nextcloud, assign each folder to one or more Nextcloud groups using the ACL app. Then validate ruthlessly: have three or four users from each group actually open Nextcloud and confirm they see the right folders and can open files. Permission errors are subtle and often go undetected until after cutover.

External users and guest access are another pain point. SharePoint supports guest links and external sharing. Nextcloud also supports guest shares and public links, but the mechanisms differ. You will need to re-create external sharing rules in Nextcloud post-migration and notify external users of new access links. Do this as a last step, after all internal access is validated.

Handling Document Versions, Metadata, and File Properties

Version history is partially lost during migration. SharePoint stores multiple versions; SPMT and PowerShell exports preserve only the latest version by default. Metadata (custom columns, dates, authors) is exported to CSV but does not automatically map to Nextcloud. Recovery requires post-import scripting or manual remapping.

SharePoint version history is a genuine strength: documents can have 50+ versions, and you can revert to any of them. Nextcloud has versioning too (enabled by default), but it starts fresh after import. SPMT and PowerShell exports preserve file timestamps and the latest version but drop the full version history. If version history is critical for compliance or audit purposes, plan to archive it separately: export version history to CSV or JSON before migration, store it in a read-only archive outside Nextcloud.

Metadata is trickier. SharePoint custom columns (e.g., "Cost Center," "Project," "Reviewed By") are exported to CSV but do not auto-import into Nextcloud files. Nextcloud has metadata support via the Metadata app, but mapping is manual. For each column, decide: use Nextcloud Tags (simple, not queryable), folder naming (e.g., /Marketing/ProjectA/), or metadata fields (more work, queryable). Document this mapping and update users on the new system.

Author information and file properties (created date, modified date, checked out by) are mostly preserved during export and import. But SharePoint's "Modified By" column depends on having corresponding user accounts in Nextcloud. If you are not migrating all SharePoint users to Nextcloud, or if you are changing usernames, this metadata may break, showing "User not found" instead of the original name. Plan accordingly.

For large migrations, automate post-import metadata work. Write a script that reads the CSV export, parses metadata, and updates Nextcloud folder descriptions or tags. This reduces manual toil and ensures consistency.

What SharePoint Features Don't Translate to Nextcloud

Power Automate flows, content types, SharePoint Designer workflows, and Microsoft Teams integration do not exist in Nextcloud. These features must be rewritten, replaced with open-source alternatives, or retired. Assess whether your teams actually depend on these before committing to the migration.

Power Automate (formerly Flow) is Microsoft's low-code automation engine. It can trigger document approvals, send emails on file uploads, or move files based on metadata. Nextcloud has no direct equivalent. You can approximate some workflows with Nextcloud's native automation (rules that tag files, delete old versions) or external tools like Zapier, IFTTT, or homegrown scripts. If your teams have invested in Power Automate, rewriting those flows for Nextcloud is time-consuming.

SharePoint content types are structured templates for documents: they enforce metadata fields, validation rules, and workflows. Nextcloud folders are unstructured; you can tag files or use folder names to impose structure, but there is no enforcement. If your teams depend on consistent metadata and validation (e.g., "all project documents must have a Project Code"), you will need to rebuild this enforcement in Nextcloud using folder conventions or external tools.

SharePoint Designer workflows and 2013 workflows are declarative workflows tied to lists and libraries. They are being retired by Microsoft and do not exist in Nextcloud. If you have legacy workflows, evaluate whether they are actually used (often they are not). If they are, consider replacing them with Nextcloud Deck (a kanban board for task-driven workflows) or external automation tools.

Microsoft Teams integration is deep in SharePoint: Teams channels are backed by SharePoint sites, and users access files from the Teams app. Nextcloud does not integrate with Teams. You will be moving away from Teams for collaborative editing and file access, which can be a cultural shift for teams reliant on it. Confirm your teams understand this and are bought into using Nextcloud as the alternative.

Step-by-Step Migration Process

The migration process has five distinct steps: export from SharePoint, prepare files locally, set up Nextcloud structure, bulk import, and validate. The entire process takes 2-4 weeks for a 50-100 GB library, depending on parallelization and team size.

Step 1: Export from SharePoint. Use SPMT (for Online) or PowerShell (for on-premises). Configure SPMT to export to a local staging directory, specifying which site collections and libraries to include. If you are doing a phased migration (one department at a time), run SPMT separately for each phase. The export produces folder structures and CSV files with metadata.

Step 2: Prepare Files Locally. Review the exported files for corruption or truncation; SPMT sometimes fails silently on individual files. Deduplicate: check for copies or near-duplicates across the export, a common SharePoint problem. Rename files or folders if needed (remove special characters that Nextcloud dislikes). If you are pruning ROT content, delete it now. Verify file counts and checksums match your pre-export audit.

Step 3: Set Up Nextcloud Structure. Create Nextcloud groups for each SharePoint security group. Create the folder hierarchy in Nextcloud matching your post-migration structure. This may differ from SharePoint: you might consolidate fragmented libraries into one coherent share, or flatten deeply nested folders. Apply ACLs to folders: assign each folder to the group(s) that should access it. This is your chance to clean up and reorganize.

Step 4: Bulk Import Files. Use Nextcloud's bulk upload features (web UI, WebDAV, or Nextcloud CLI) to import files from the staging directory. For large imports (100+ GB), WebDAV is faster than the web UI. Alternatively, use rsync if the Nextcloud server is on the same network. Monitor the import: watch for disk space errors, timeouts, or skipped files.

Step 5: Validate File Integrity. After import, spot-check files: open a sample of documents, verify permissions, check for corruption. Count total files and compare to the export. If possible, verify checksums. Have power users from each team navigate Nextcloud and confirm they see the right files and can open them.

Planning Zero or Minimal Downtime

To minimize disruption, plan a phased cutover: migrate one department or team at a time, run Nextcloud in read-write mode while SharePoint is still live, then cut over the remaining users at a scheduled time. Parallel access for 1-2 weeks allows teams to adjust before SharePoint goes read-only.

Full-downtime migrations (shut down SharePoint, migrate everything, restart) work only for small instances (under 10 GB). For larger instances, a phased approach is safer. Identify logical units (departments, projects, or libraries) and migrate each over 2-4 weeks, one unit per week. This spreads risk and allows teams to get comfortable with Nextcloud before others cut over.

Run a parallel-access window: before cutting over a team, turn on Nextcloud read-write access to their data while SharePoint is still live. This lets them get familiar with the interface, sync files to their laptops via Nextcloud Desktop Client, and build confidence. Announce a firm cutover date (e.g., "SharePoint goes read-only on Friday at 5 PM") so teams know they must finish uploading new files before then.

User communication is critical. Email a migration schedule, explain what changes (interface, how to find files, new group permissions), provide training (a 15-minute video walkthrough helps), and set up a support channel (Slack, Teams, email) for post-cutover questions. Appoint power users as internal champions who can help teammates navigate Nextcloud. The first week post-cutover is chaotic; over-invest in support.

Plan for accidental writes to SharePoint after cutover. Some teams will forget and upload new files to old SharePoint after you have told them not to. Designate one person to monitor SharePoint for a week post-cutover and manually move any stray files to Nextcloud. After one week, make SharePoint read-only; after one month, archive it and take it offline.

Post-Migration Validation and Archive

After cutover, validate permissions, run spot-checks on file integrity, and monitor for missing files or access errors. Give users two weeks to report problems. Then put SharePoint in archive mode (read-only, backed up, but not actively used). Keep it for 12 months before deleting, for compliance and disaster recovery.

In the first week post-cutover, monitor Nextcloud logs for access errors, failed file operations, and permission denials. Reach out to three or four users from each team and ask: "Can you find your key files? Are you seeing anything missing? Do you have access to everything you need?" This is your early-warning system for permission or data integrity problems.

Run a secondary audit at the two-week mark. Compare file counts and sizes between the Nextcloud import and the original SharePoint export. Spot-check 10-20 random files from each team's library: open them, verify they are not corrupted, and check that metadata (dates, authors, etc.) is sensible. Document any gaps and decide whether to re-import or manually restore from backup.

Set SharePoint to read-only and restrict write access to admins only. Schedule a final backup of SharePoint (for archival and compliance), then take it offline from user-facing services. Keep the backup for 12 months (meet your retention policy), then delete. This covers both regulatory holdout periods and the rare case where you need to recover a file from SharePoint years later.

Document the migration: create a post-mortem capturing what went smoothly, what was painful, and what you would do differently. This becomes tribal knowledge for future migrations and helps you improve your processes.

Frequently Asked Questions

How do you migrate from SharePoint to Nextcloud?

Export your SharePoint libraries using SPMT (Online) or PowerShell (on-premises), prepare the files locally (deduplicate, clean metadata), set up Nextcloud groups and folders, then bulk-import files via WebDAV or the web UI. Validate permissions and file integrity after import. Budget 2-4 weeks for a 50-100 GB migration.

Does SharePoint have a native migration tool?

Yes. Microsoft's SharePoint Migration Tool (SPMT) is free and handles exports from SharePoint Online. For on-premises SharePoint, you use PowerShell and the Content Migration API. Both are free but require admin access and technical setup.

What is the fastest way to migrate files from SharePoint?

SPMT with parallel exports and WebDAV bulk upload to Nextcloud are fastest. For a 100 GB library, plan 3-5 days of actual processing. The rest of the time is spent on permissions, validation, and user communication.

Does Nextcloud preserve SharePoint version history?

Only the latest version. SPMT exports the most recent file version by default. If version history is required, export it separately to CSV or archive before migration. Most teams do not need 12-month history and can accept losing old versions.

Can you migrate Power Automate workflows to Nextcloud?

No. Power Automate is a Microsoft service with no Nextcloud equivalent. Rewrite critical workflows using Nextcloud Deck, external automation tools (Zapier, IFTTT), or custom scripts. Evaluate whether workflows are truly used before investing in rewrites.

What happens to SharePoint custom columns during migration?

Custom columns (metadata) are exported to CSV but do not auto-import into Nextcloud. You must manually map them to Nextcloud Tags, folder naming conventions, or metadata fields. Plan 2-3 days for mapping and testing.

Is the SharePoint Migration Tool free?

Yes, SPMT is free. It requires Windows and a service account with tenant admin rights. Cloud storage (for the staging directory) may incur costs if you use Azure for temporary staging.

How long should I keep SharePoint after migrating to Nextcloud?

Keep it in read-only, archived mode for 12 months. This covers most compliance retention requirements and allows disaster recovery if a critical file is found to be missing. After 12 months, delete it following your data deletion policy.

The Bottom Line

Migrating from SharePoint to Nextcloud is achievable but not trivial. You will lose Power Automate flows, complex permission inheritance, and Microsoft 365 integration, but you gain cost savings, data control, and operational independence. Budget 3-4 weeks for a 50-100 GB migration, with half that time spent on permissions and validation, not moving files.

The key is honesty about what breaks. Know your workflow dependencies, communicate them to your teams, and plan for retraining before cutover. A smooth migration requires phased rollouts, parallel access windows, and over-communication.

Nextcloud can run on your own servers, but the infrastructure burden is real. Opsily's managed Nextcloud hosting eliminates the operational headaches that derail self-hosted deployments, so you can focus entirely on the migration itself.

Self-hosted is hard. Let us help.
Opsily runs Nextcloud for you, so you skip the infrastructure work and focus on migrating your data.
Get Started Free

Ready to self-host your own apps?

One server. Multiple apps. No per-app fees.

Get started →