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

Migration plan #1

Open
icewind1991 opened this issue Jul 14, 2017 · 0 comments
Open

Migration plan #1

icewind1991 opened this issue Jul 14, 2017 · 0 comments

Comments

@icewind1991
Copy link
Owner

User migration

UI

  • migration can be triggered from both the receiving and sending side.
  • migration can be triggered from api, occ and personal settings.
  • list of apps that are supported during the migration is shown

Apps

The "core" path only consists of the ui and triggers a hook with the migration details.
All apps that have data to migrate listen for the hook and handle their own migration using
(mostly existing) api's to get the data from the remote server.

Data

Data is always pulled (even when from a ui perspective the migration is push)
since the receiving end requires more migration specific logic.

Files

  • Use the regular dav access to read files from remote.
  • Use etags to skip files/folders that are already equal on both sides.

Encryption

  • Not handled explicitly, files are simply re-encrypted transparently, this way
    differences in encryption setup will not cause problems.

Trash and versions

  • New dav endpoint that exposes the trashbin and versions.
  • dav endpoint can be reused by apps/webui in the future.

Contacts and Calendar

  • Use existing cal/carddav for export.
  • iirc there is existing import logic in place.

Shares

  • Use existing ocs api to receive shares
  • For incomming fed. shares, a new one is created from share source
  • For outgoing fed. shares, the share origin is changed on the share target.

Activities

  • Use existing activity api
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant