nextcloud / nextcloud/server

Admin tooling for local->object Primary Storage migrations

Open
#63,084 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

0. Needs triage enhancement feature: filesystem feature: object storage
Dominant language
PHP
Stars
36.9k
Forks
5.2k
Avg merge
2d 3h
Merged PRs (30d)
713

Description

[!TIP]

Help move this idea forward
  • Use the 👍 reaction to show support for this feature.
  • Avoid commenting unless you have relevant information to add; unnecessary comments create noise for subscribers.
  • Subscribe to receive notifications about status changes and new comments.

Is your feature request related to a problem?

Migrating a Nextcloud instance from local Primary Storage to Object Storage currently requires an out-of-band data migration and may result in the loss of metadata such as ownership and sharing information.

Describe the solution you'd like

Provide an administrative mechanism to migrate local Primary Storage to Object Storage while preserving file metadata, ownership, shares, and other configuration.

Describe alternatives you've considered

  • External Storage does not provide equivalent Primary Storage functionality.
  • DAV and user-to-user transfers are not scalable and may not preserve sharing information.
  • Out-of-band migration requires accepting metadata loss.

Additional context

This would address an important gap for deployments transitioning to Object Storage and could potentially build on existing multi-bucket or multi-instance Primary Storage functionality.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reviewing the existing multi-bucket or multi-instance Primary Storage functionality mentioned in the issue, along with how local and Object Storage are currently configured. Define the migration scope and preservation requirements for metadata, ownership, shares, and other configuration; the work is done when an administrative migration path satisfies those requirements.

Written by the indexing model from the issue text.

Assessment

Tech stack
php
Domain
backend, cloud
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Quiet
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.