Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New way to migrate a Nextcloud to a new server destination. #22732

Closed
Mannshoch opened this issue Sep 8, 2020 · 2 comments
Closed

New way to migrate a Nextcloud to a new server destination. #22732

Mannshoch opened this issue Sep 8, 2020 · 2 comments
Labels
0. Needs triage Pending check for reproducibility or if it fits our roadmap enhancement

Comments

@Mannshoch
Copy link

Problem:
I have an old Nextcloud with some hacky settings and missing database indices and wish anyway to migrate the Nextcloud server destination to a new one.

As a solution I would propose this idea:

  • Install a new, fresh and clean Nextcloud. Setup all important Parameters.
  • Set up the take-over procedure <-- To develop
  • All connected User get Informed about the Change.
    • Web: Big Prompt
    • Nextcloud App: Notification
    • If encryption get deactivated:
      A content of this Message: This Server change to a non per user encrypted Nextcloud, Please enter Password if you approve that
  • All Nextcloud connected Apps and Federation receive a change of Server Message and automatic move account server to the new location

Take-over procedure
(Only an Idea)

  1. Migrate User database including encryption Keys
  2. Ask Admin if missing Apps should get installed
  3. If Encryption is not active on the new Nextcould -> "User Data only get transferred after the User approve this. - Are you sure you wish to deactivate Encryption here?"
  4. Notification for changing deactivating encryption to Nextcloud Client and Website
  5. The Nextcloud server change immediately. Until the moment all data is transferred directories and Files are external storage link to the old Nextcloud. The moment the data transfer process receive a user account this account get temporary blocked.
  6. After all data is transferred this external storage link get replaced by the transferred, now local data.
  7. User get again access to his account.
@Mannshoch Mannshoch added 0. Needs triage Pending check for reproducibility or if it fits our roadmap enhancement labels Sep 8, 2020
@szaimen
Copy link
Contributor

szaimen commented Jun 11, 2021

Thank you for taking the time to report a bug! 👍

I would like to ask you to raise your question in the forums: https://help.nextcloud.com
If you wish support with setup issues from Nextcloud GmbH we offer this as part of the Nextcloud subscription. Learn more about this at https://nextcloud.com/enterprise/

@Mannshoch
Copy link
Author

May could be based on https://github.com/nextcloud/user_migration

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
0. Needs triage Pending check for reproducibility or if it fits our roadmap enhancement
Projects
None yet
Development

No branches or pull requests

2 participants