-
Notifications
You must be signed in to change notification settings - Fork 182
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
[EPIC] In place migration of oc10 to ocis #22
Comments
I leave some notes that could be useful for the import. Versions can be injected into EOS. EOS will create a directory named
Trash-bin can also be injected, but trash-bin lives into a different namespace outside user folder:
The hex number after the extension is the recovery key. For the ACLs, Andreas is implementing a mechanism where you could create a key for a user and use that as the ACL in EOS, without the need to use local users, but this will bring us to the same situation that all data still is owned by only one account. For our migration we have L7 proxy, https://github.com/cernbox/cboxredirectd/ that understands the requests and forwards users to one system or to another. |
|
route requests based on pattern or query parameters
* Add support for /me/drive/root/children * Add chis StripSlashes middleware * Configure REVA gateway endpoint * Explicit authenticate on the gateway * Fill more drive item attributes
efforts on https://github.com/owncloud/ocis-migration supercede this issue. See https://owncloud.github.io/ocis/deployment/#migrate-an-existing-owncloud-10 |
Elcin's implementation: https://github.com/esgarov/Daten-Import-in-Ocis |
In place migration of oc10 to ocis
Milestone issue list: Migration
Scenario
This scenario is based on the one for the data_exporter requirements.
Given an instance at https://demo.owncloud.com where user
einstein
shared a folder/photos
withmarie
who mounted it as/projects/abc
this is the flow that is planned to migrate an instance user by user:0. Prerequisites
1. Set up reverse proxy
OCIS is used to forward requests for unmigrated users to the oc10 instance/domain.
Migrated users will be hosted by ocis
2. Migrate groups (optional)
Can be skipped if all groups are maintained in an LDAP server that has been configured for oc10 & ocis
occ export:groups
TODO there is onlyocc groups:list
occ import:groups
TODO useocc group:add
3. Migrate user by user
occ export:user einstein
,occ export:user marie
,occ export:user richard
/projects/abc
is a reference to typehome
usereinstein
and path/photos
/files
prefix for path in files.jsonlnull
reva import marie --user-iss https://idp.owncloud.com --user-sub cb1dd81e-6967-44f7-8239-dffbbe319e92
marie
with isshttps://idp.owncloud.com
and subcb1dd81e-6967-44f7-8239-dffbbe319e92
into ocisRepeat the import and export for as many users as desired
occ migrate:shares marie https://demo.owncloud.com
marie
are converted into federated shares tomarie@demo.owncloud.com
occ user:delete marie
migrate data (file content)
proxy
The text was updated successfully, but these errors were encountered: