Author: areshetnyak
Date: 2011-10-04 09:07:38 -0400 (Tue, 04 Oct 2011)
New Revision: 5021
Modified:
jcr/trunk/exo.jcr.docs/exo.jcr.docs.developer/en/src/main/docbook/en-US/modules/jcr/backup/backup-client.xml
jcr/trunk/exo.jcr.docs/exo.jcr.docs.developer/en/src/main/docbook/en-US/modules/jcr/backup/backup-clonsole-dist.xml
Log:
EXOJCR-1531 : Help information in backup client was extended and fixed.
Modified:
jcr/trunk/exo.jcr.docs/exo.jcr.docs.developer/en/src/main/docbook/en-US/modules/jcr/backup/backup-client.xml
===================================================================
---
jcr/trunk/exo.jcr.docs/exo.jcr.docs.developer/en/src/main/docbook/en-US/modules/jcr/backup/backup-client.xml 2011-10-04
13:07:08 UTC (rev 5020)
+++
jcr/trunk/exo.jcr.docs/exo.jcr.docs.developer/en/src/main/docbook/en-US/modules/jcr/backup/backup-client.xml 2011-10-04
13:07:38 UTC (rev 5021)
@@ -1006,13 +1006,13 @@
stop <backup_id>
status <backup_id>
restores <repo[/ws]>
- restore [remove-exists] [<repo[/ws]>]
{<backup_id>|<backup_set_path>}
[<pathToConfigFile>]
+ restore [remove-exists]
{{<backup_id>|<backup_set_path>} | {<repo[/ws]>
{<backup_id>|<backup_set_path>}
[<pathToConfigFile>]}}
list [completed]
info
drop [force-close-session] <repo[/ws]>
help
- start - start backup of repositpry or workspace
+ start - start backup of repository or workspace
stop - stop backup
status - information about the current or completed backup by
'backup_id'
restores - information about the last restore on specific repository or workspace
@@ -1029,8 +1029,23 @@
<backup_set_dir> - path to folder with backup set on remote server
<incr> - incemental job period
<pathToConfigFile> - path (local) to repository or workspace
configuration
- remove-exists - removed fully (db, value storage, index) existed
repository/workspace
- force-close-session - close opened sessions on repositpry or
workspace.</programlisting>
+ remove-exists - remove fully (db, value storage, index) exists
repository/workspace
+ force-close-session - close opened sessions on repository or workspace.
+
+ All valid combination of parameters for command restore:
+ 1. restore remove-exists <repo/ws> <backup_id>
<pathToConfigFile>
+ 2. restore remove-exists <repo> <backup_id>
<pathToConfigFile>
+ 3. restore remove-exists <repo/ws> <backup_set_path>
<pathToConfigFile>
+ 4. restore remove-exists <repo> <backup_set_path>
<pathToConfigFile>
+ 5. restore remove-exists <backup_id>
+ 6. restore remove-exists <backup_set_path>
+ 7. restore <repo/ws> <backup_id>
<pathToConfigFile>
+ 8. restore <repo> <backup_id>
<pathToConfigFile>
+ 9. restore <repo/ws> <backup_set_path>
<pathToConfigFile>
+ 10. restore <repo> <backup_set_path>
<pathToConfigFile>
+ 11. restore <backup_id>
+ 12. restore <backup_set_path>
+</programlisting>
</section>
<section>
@@ -1563,10 +1578,11 @@
status code = 200</programlisting>The
/home/rainf0x/java/exo-working/JCR-839/exo-jcr-config_backup.xml
content the configuration for restored workspace <emphasis
-
role="bold">"backup"</emphasis>:</para></listitem>
+ role="bold">"backup"</emphasis>:</para>
+ </listitem>
</itemizedlist>
-
- <programlisting language="xml"><repository-service
default-repository="repository">
+
+ <programlisting language="xml"><repository-service
default-repository="repository">
<repositories>
<repository name="repository"
system-workspace="production" default-workspace="production">
<security-domain>exo-domain</security-domain>
@@ -1650,7 +1666,7 @@
<para>This usecase needs RestRepositoryService enabled. (Deleting the
repository needs it)</para>
-
+
<programlisting language="xml"><component>
<type>org.exoplatform.services.jcr.ext.repository.RestRepositoryService</type>
</component></programlisting>
@@ -1738,8 +1754,8 @@
role="bold">"repository"</emphasis>:</para>
</listitem>
</itemizedlist>
-
- <programlisting language="xml"><repository-service
default-repository="repository">
+
+ <programlisting language="xml"><repository-service
default-repository="repository">
<repositories>
<repository name="repository"
system-workspace="production" default-workspace="production">
<security-domain>exo-domain</security-domain>
@@ -1873,7 +1889,6 @@
</repositories>
</repository-service>
</programlisting>
-
</section>
<section>
Modified:
jcr/trunk/exo.jcr.docs/exo.jcr.docs.developer/en/src/main/docbook/en-US/modules/jcr/backup/backup-clonsole-dist.xml
===================================================================
---
jcr/trunk/exo.jcr.docs/exo.jcr.docs.developer/en/src/main/docbook/en-US/modules/jcr/backup/backup-clonsole-dist.xml 2011-10-04
13:07:08 UTC (rev 5020)
+++
jcr/trunk/exo.jcr.docs/exo.jcr.docs.developer/en/src/main/docbook/en-US/modules/jcr/backup/backup-clonsole-dist.xml 2011-10-04
13:07:38 UTC (rev 5021)
@@ -4,14 +4,14 @@
<chapter id="JCR.BackupClient">
<?dbhtml filename="ch-backup-clonsole.dist.html"?>
- <title>Backup console binary distribution </title>
+ <title>Backup console binary distribution</title>
<section>
<title>Introduction</title>
<para>The backup console binary distribution is script-based front-end to
backup client to creation backup, restore, getting status of current or
- completed backup/restore, etc. </para>
+ completed backup/restore, etc.</para>
<para>The backup console binary distribution conatins original backup
console and script adaptation for use with GateIn based products like
@@ -41,7 +41,7 @@
stop <backup_id>
status <backup_id>
restores <repo[/ws]>
- restore [remove-exists]
[<repo[/ws]>] {<backup_id>|<backup_set_path>}
[<pathToConfigFile>]
+ restore [remove-exists]
{{<backup_id>|<backup_set_path>} | {<repo[/ws]>
{<backup_id>|<backup_set_path>}
[<pathToConfigFile>]}}
list [completed]
info
drop [force-close-session]
<repo[/ws]>
@@ -64,7 +64,23 @@
<incr> : incremental job period
<pathToConfigFile> : path (local) to repository or
workspace configuration
remove-exists : remove fully (db, value storage, index) exists
repository/workspace
- force-close-session : close opened sessions on repository or
workspace</programlisting>
+ force-close-session : close opened sessions on repository or workspace
+
+
+ All valid combination of parameters for command restore:
+ 1. restore remove-exists <repo/ws> <backup_id>
<pathToConfigFile>
+ 2. restore remove-exists <repo> <backup_id>
<pathToConfigFile>
+ 3. restore remove-exists <repo/ws>
<backup_set_path> <pathToConfigFile>
+ 4. restore remove-exists <repo>
<backup_set_path> <pathToConfigFile>
+ 5. restore remove-exists <backup_id>
+ 6. restore remove-exists <backup_set_path>
+ 7. restore <repo/ws> <backup_id>
<pathToConfigFile>
+ 8. restore <repo> <backup_id>
<pathToConfigFile>
+ 9. restore <repo/ws> <backup_set_path>
<pathToConfigFile>
+ 10. restore <repo> <backup_set_path>
<pathToConfigFile>
+ 11. restore <backup_id>
+ 12. restore <backup_set_path>
+</programlisting>
</section>
<section>
@@ -86,7 +102,7 @@
stop <backup_id>
status <backup_id>
restores <repo[/ws]>
- restore [remove-exists]
[<repo[/ws]>] {<backup_id>|<backup_set_path>}
[<pathToConfigFile>]
+ restore [remove-exists]
{{<backup_id>|<backup_set_path>} | {<repo[/ws]>
{<backup_id>|<backup_set_path>}
[<pathToConfigFile>]}}
list [completed]
info
drop [force-close-session]
<repo[/ws]>
@@ -109,7 +125,22 @@
<incr> : incremental job period
<pathToConfigFile> : path (local) to repository or
workspace configuration
remove-exists : remove fully (db, value storage, index) exists
repository/workspace
- force-close-session : close opened sessions on repository or
workspace</programlisting>
+ force-close-session : close opened sessions on repository or workspace
+
+
+ All valid combination of parameters for command restore:
+ 1. restore remove-exists <repo/ws> <backup_id>
<pathToConfigFile>
+ 2. restore remove-exists <repo> <backup_id>
<pathToConfigFile>
+ 3. restore remove-exists <repo/ws>
<backup_set_path> <pathToConfigFile>
+ 4. restore remove-exists <repo>
<backup_set_path> <pathToConfigFile>
+ 5. restore remove-exists <backup_id>
+ 6. restore remove-exists <backup_set_path>
+ 7. restore <repo/ws> <backup_id>
<pathToConfigFile>
+ 8. restore <repo> <backup_id>
<pathToConfigFile>
+ 9. restore <repo/ws> <backup_set_path>
<pathToConfigFile>
+ 10. restore <repo> <backup_set_path>
<pathToConfigFile>
+ 11. restore <backup_id>
+ 12. restore <backup_set_path> </programlisting>
</section>
<section>
Show replies by date