-
Notifications
You must be signed in to change notification settings - Fork 2.1k
feat: new command to move a user's home folder - occ user:move-home #39136
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
Conversation
This comment has been minimized.
This comment has been minimized.
e731aa7 to
33b6f54
Compare
e75b1ed to
f2f6a1b
Compare
|
https://drone.owncloud.com/owncloud/core/32044/1/9 needs a reabse - the CI now uses |
f2f6a1b to
a280c87
Compare
a280c87 to
59173d6
Compare
|
Kudos, SonarCloud Quality Gate passed! |
|
@DeepDiver1975 I need some info for understanding it: We have in Now, when using the command above to migrate a users home, some questions raise:
Sorry for that many questions, but they are necessary for a proper documentation. |
yes
not only two data dirs - as many as you want ;-)
nothing planned at the moment. doing multiple users at once can be too error prone
yes - the parent must exist. the user folder is rsynced over to the new location
think of an nfs based installation where different nfs shares exist and due to 'load balancing of storage usage' you want one user to have their files on a different share.
it is an occ command - no php timeouts play into this. heavy lifting of files is done using rsync |
|
Great answers, many thanks !
I was not aware of this capability, how/where do you define multiple data dirs (in config.php), where can I read more? As far I read our documentation, |
|
Q: would it be possible to show the progress of rsync in the output This would help the admin to see how far the command has progressed already |
mainly via the ldap home folder app or some custom code - this is only necessary in very specific large scale setups. |
Not easily right away .... one would need to do some research ... |
|
See related issue: https://github.com/owncloud/enterprise/issues/4637 |
AlexAndBear
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Code-wise LGTM, also works quite well on my system








Description
How Has This Been Tested?
Screenshots (if appropriate):
Types of changes
Checklist: