With v7.8.0 Open-Xchange Server supports to specify dedicated file storages on a per user basis. Thus an administrator is able to distinguish between context- and user-related data on a storage basis; e.g. assign a faster storage to user-related documents held in Drive application. Moreover by assigning a dedicated file storage to a user, the quota is also accounted per user allowing to sell/account storage space.

The following command-line tools (CLI) have been introduced:


CLI to move a user's files from one storage to another
===========================================

moveuserfilestore
-h,--help Prints a help text
--environment Show info about commandline environment
--nonl Remove all newlines (\n) from output
-i,--userid <userid> | Id of the user
-u,--username <username> | Username of the user
-A,--adminuser <adminuser> ? Admin username
-P,--adminpass <adminpass> ? Admin password
-c,--contextid <contextid> | The id of the context
-N,--contextname <contextname> | context name
-f,--filestore <filestore> * The identifier for the file storage.



CLI to move a user's files from his own storage to the storage of specified master
================================================== =

moveuserfilestore2master
-h,--help Prints a help text
--environment Show info about commandline environment
--nonl Remove all newlines (\n) from output
-i,--userid <userid> | Id of the user
-u,--username <username> | Username of the user
-A,--adminuser <adminuser> ? Admin username
-P,--adminpass <adminpass> ? Admin password
-c,--contextid <contextid> | The id of the context
-N,--contextname <contextname> | context name
-m,--master <master> Master user id. If not set, the context administrator is assumed to be the master user.


CLI to move a user's files from a master account to his own storage
================================================== =

Usage: movemasterfilestore2user
-h,--help Prints a help text
--environment Show info about commandline environment
--nonl Remove all newlines (\n) from output
-i,--userid <userid> | Id of the user
-u,--username <username> | Username of the user
-A,--adminuser <adminuser> ? Admin username
-P,--adminpass <adminpass> ? Admin password
-c,--contextid <contextid> | The id of the context
-N,--contextname <contextname> | context name
-m,--master <master> Master user id. If not set, the context administrator is assumed to be the master user.
-f,--filestore <filestore> * The identifier for the file storage.
-q,--quota <quota> * The file storage quota in MB for associated user.


CLI to move a user's files from his own to a context storage
================================================== =

Usage: moveuserfilestore2context
-h,--help Prints a help text
--environment Show info about commandline environment
--nonl Remove all newlines (\n) from output
-i,--userid <userid> | Id of the user
-u,--username <username> | Username of the user
-A,--adminuser <adminuser> ? Admin username
-P,--adminpass <adminpass> ? Admin password
-c,--contextid <contextid> | The id of the context
-N,--contextname <contextname> | context name


CLI to moves a user's files from a context to his own storage
================================================== =

Usage: movecontextfilestore2user
-h,--help Prints a help text
--environment Show info about commandline environment
--nonl Remove all newlines (\n) from output
-i,--userid <userid> | Id of the user
-u,--username <username> | Username of the user
-A,--adminuser <adminuser> ? Admin username
-P,--adminpass <adminpass> ? Admin password
-c,--contextid <contextid> | The id of the context
-N,--contextname <contextname> | context name
-f,--filestore <filestore> * The identifier for the file storage.
-q,--quota <quota> * The file storage quota in MB for associated user.


All CLIs apply to the following legend:

Entries marked with an asterisk (*) are mandatory.
Entries marked with an question mark (?) are mandatory depending on your
configuration.
Entries marked with a pipe (|) are mandatory for one another which means that
at least one of them must be set.