Difference between revisions of "AppSuite:Data management"

(html to wiki)
 
(5 intermediate revisions by 4 users not shown)
Line 1: Line 1:
 
+
This article has been moved to [https://documentation.open-xchange.com/7.10.2/middleware/ documentation.open-xchange.com]
== deleteinvisible ==
 
 
 
The '''<code>deleteinvisible</code>''' command line tool can be used to remove not visible data inside a context. Before calling this CLT the module access for all users in the context should be changed to the according permissions. This CLT uses the changed permissions to determine what data is not visible for the context users anymore. Changing permissions can be done by either changing the module access for every single user in the context through the CLT changeuser or by the CLT for changing the module access for an entire context.
 
 
 
''Be careful because the deleted data is lost completely and can not be restored anymore.''
 
 
 
 
 
=== Parameters ===
 
 
 
{| border="1"
 
|-
 
| -h,--help
 
|Prints a help text for this CLT
 
|-
 
| --environment
 
|Shows information about environment variables
 
|-
 
| --nonl
 
|Removes all newlines (\n) from output
 
|-
 
| -c,--contextid &lt;contextid&gt;
 
|The unique identifier of the context that invisible data should be deleted.
 
|-
 
| -N,--contextname &lt;contextname&gt;
 
|A name that is assigned to the context.
 
|}
 
 
 
Either the unique context identifier must be given or a name that is assigned to it.
 
 
 
 
 
=== Extra parameters ===
 
 
 
{| border="1"
 
|-
 
|-A,--adminuser &lt;adminuser&gt;
 
|Master adminstrator user name that is defined for managing contexts.
 
|-
 
|-P,--adminpass &lt;adminpass&gt;
 
|Master adminstrator user password.
 
|}
 
 
 
=== Return value ===
 
 
 
<code>0</code> on success
 
 
 
<code>&gt;0</code> on failure
 
 
 
=== Mandatory parameters ===
 
 
 
'''<code>(contextid or contextname) {adminuser adminpass}</code>'''
 
 
 
=== Command output ===
 
 
 
On success:
 
 
 
<code>context &lt;contextid or contextname&gt; invisible data deleted</code>
 
 
 
On failure:
 
 
 
<code>context &lt;contextid or contextname&gt; invisible data could not be deleted: &lt;reason from server&gt;</code>
 
 
 
 
 
=== Example ===
 
 
 
<code>root@oxhe~# </code>'''<code>/opt/open-xchange/sbin/deleteinvisible -N default</code>'''
 
 
 
<code>context default invisible data deleted</code>
 
 
 
[[Category:AppSuite]]
 
[[Category:AdminGuide]]
 

Latest revision as of 08:57, 15 May 2019

This article has been moved to documentation.open-xchange.com