Allows to export all metadata to a file. This file can be reloaded by entering "import all". Usually you should directly zip and file the export data in the File System to save memory, as they will be filed in an XML dialect. To do so, use export all | zip > myExportFile.zip or export all > myExportFile.zip.
Note that the ZIP file has to be created inside the internal file system: cd fileserver.
Use: export all > myFile.zip
Enables to change groups. The following subcommands are available:
|addmembers||Add or remove members to a group. These can be users, OUs, or another groups.|
The syntax for adding/removing members to/from a group is
groupmod addmembers [-c] group [members] [members...]
Here, group is an object resolver query that returns exactly one group. Refer to Section 12.5. Object Resolver for more information on object resolver queries. If the optional parameter -c is given, the given members are removed instead of added. If no members are given, all members are being deleted from the group member list. Finally, the members list parameters refer to one or more object resolver queries that return a user, a group, or an OU. Usage examples:
Deletes all members from the group with id 123:
groupmod addmembers -c id:Group:123
Deletes one user from the group with id 123:
groupmod addmembers -c id:Group:123 id:User:456
Adds three members (one user, one group, one OU) to the group with id 123:
groupmod addmembers id:Group:123 id:User:456 "hql:from Group where id=789" id:OrganisationalUnit:987