CLI zmrestoreLDAP Network Edition only: Difference between revisions

(Adding category)
(Updating content to ZCS 6.0)
Line 1: Line 1:
==<font size="4" color="#00007f" face="Arial"> ''' zmrestoreldap ''' </font>==
The CLI command zmrestore is available only on ZCS Network Edition.  For the most recent information on this CLI, including syntax and description, see [http://www.zimbra.com/docs/ne/latest/administration_guide/A_app-command-line.20.1.html ZCS Administrator's Guide Network Edition > Appendix A Command-Line Utilities].


<font size="3" color="#000000" face="Arial"> This tool is run to restore accounts from the ldap backup. </font>
=ZCS 6.0.x=
==zmrestoreLDAP==
This tool is run to restore accounts from the LDAP backup.


===<font size="3" color="#00007f" face="Arial"> ''' Syntax ''' </font>===
===Syntax===
zmrestoreldap {-lb <arg>} {-t <arg>} [options]


<font size="3" color="#000000" face=""Times New Roman""> '''  <font size="3" color="#000000" face=""Times New Roman""> '''zmrestoreldap -lb session -t target <options>''' </font>  ''' </font>
===Description===
 
{|style="width:100%" border="1" cellpadding="5" cellspacing="0"
===<font size="3" color="#00007f" face="Arial"> ''' Description ''' </font>===
! align="left" bgcolor="tan" |Short Name
 
! align="left" bgcolor="tan"|Description
<div>
 
{| border="1" cellpadding="8"
|+
|-
| valign="middle" |
<font size="3" color="#00007f" face="Arial"> ''' Long Name ''' </font>
| valign="middle" |
<font size="3" color="#00007f" face="Arial"> ''' Short Name''' </font>
| valign="middle" |
<font size="3" color="#00007f" face="Arial"> ''' Description ''' </font>
|-
| valign="top" |
<font size="3" color="#000000" face=""Times New Roman""> ''' '''</font>
 
<div> </div>
| valign="top" |
<font size="3" color="#000000" face=""Times New Roman""> '''  <font size="3" color="#000000" face=""Times New Roman""> '''-lb''' </font>  ''' </font>
| valign="top" |
<font size="3" color="#000000" face="Arial"> Session label to restore from. For example full200512291821113.</font>
|-
|-
| valign="top" |
|<nowiki>-lb</nowiki>
<font size="3" color="#000000" face=""Times New Roman""> '''  <font size="3" color="#000000" face=""Times New Roman""> '''--target''' </font>  ''' </font>
|'''<arg>''' Session label to restore from. For example, full200612291821113.
| valign="top" |
<font size="3" color="#000000" face=""Times New Roman""> ''' <font size="3" color="#000000" face=""Times New Roman""> '''-t''' </font>  ''' </font>
| valign="top" |
<font size="3" color="#000000" face="Arial"> Specifies the backup target location. The default is default to /opt/zimbra/backup.</font>
|-
|-
| colspan="2" valign="top" |
|<nowiki>-t</nowiki>
<font size="3" color="#000000" face="Arial"> ''' Common Options ''' </font>
|'''<arg>''' Specifies the backup target location. The default is /opt/zimbra/backup.
| valign="top" |
<font size="3" color="#000000" face="Arial"> </font>
 
<div> </div>
|-
|-
| valign="top" |
|<nowiki>-lbs</nowiki>
<font size="3" color="#000000" face=""Times New Roman"">'''''' </font>
|Lists all session labels in backup
| valign="top" |
<font size="3" color="#000000" face=""Times New Roman""> '''  <font size="3" color="#000000" face=""Times New Roman""> '''-lbs''' </font>  ''' </font>
| valign="top" |
<font size="3" color="#000000" face="Arial"> Lists all session labels. </font>
|-
|-
| valign="top" |
|<nowiki>-l</nowiki>
<font size="3" color="#000000" face=""Times New Roman"">'''''' </font>
|Lists accounts in file.
| valign="top" |
<font size="3" color="#000000" face=""Times New Roman""> ''' -l ''' </font>
| valign="top" |
<font size="3" color="#000000" face="Arial"> Lists accounts in file. </font>
|-
|-
| valign="top" |
|<nowiki>-a</nowiki>
<font size="3" color="#000000" face=""Times New Roman"">'''''' </font>
|'''<arg>''' Restores named account(s). List account names separated by white space.
| valign="top" |
<font size="3" color="#000000" face=""Times New Roman""> ''' -a ''' </font>
| valign="top" |
<font size="3" color="#000000" face="Arial"> Restores all named accounts. List account names separated by white space.</font>
|}
|}


</div>
=ZCS 5.0=
*[http://www.zimbra.com/docs/ne/5.0.19/administration_guide/A_app-command-line.18.15.html#1268579 ZCS Administrator's Guide Network Edition 5.0 > Appendix A Command-Line Utilities > zmrestoreLDAP]
 
=ZCS 4.5=
*[http://www.zimbra.com/docs/ne/4.5.10/administration_guide/A_app-command-line.14.10.html#1173865 ZCS Administrator's Guide Network Edition 4.5 > Appendix A Command-Line Utilities > zmrestoreLDAP]
 
 
 
 
{{Article Footer|Zimbra Collaboration Suite 6.0.x|5/2/2006}}


[[Category:Backup and Restore]]
[[Category:Command Line Interface]]
[[Category:Command Line Interface]]
[[Category:ZCS 6.0]]
[[Category:ZCS 5.0]]
[[Category:ZCS 4.5]]

Revision as of 00:23, 16 January 2010

The CLI command zmrestore is available only on ZCS Network Edition. For the most recent information on this CLI, including syntax and description, see ZCS Administrator's Guide Network Edition > Appendix A Command-Line Utilities.

ZCS 6.0.x

zmrestoreLDAP

This tool is run to restore accounts from the LDAP backup.

Syntax

zmrestoreldap {-lb <arg>} {-t <arg>} [options]

Description

Short Name Description
-lb <arg> Session label to restore from. For example, full200612291821113.
-t <arg> Specifies the backup target location. The default is /opt/zimbra/backup.
-lbs Lists all session labels in backup
-l Lists accounts in file.
-a <arg> Restores named account(s). List account names separated by white space.

ZCS 5.0

ZCS 4.5



Verified Against: Zimbra Collaboration Suite 6.0.x Date Created: 5/2/2006
Article ID: https://wiki.zimbra.com/index.php?title=CLI_zmrestoreLDAP_Network_Edition_only Date Modified: 2010-01-16



Try Zimbra

Try Zimbra Collaboration with a 60-day free trial.
Get it now »

Want to get involved?

You can contribute in the Community, Wiki, Code, or development of Zimlets.
Find out more. »

Looking for a Video?

Visit our YouTube channel to get the latest webinars, technology news, product overviews, and so much more.
Go to the YouTube channel »

Jump to: navigation, search