From 54ff94e3e3ebf403ee63d91a352997aed039f335 Mon Sep 17 00:00:00 2001 From: Badlop Date: Fri, 7 Aug 2009 10:22:06 +0000 Subject: [PATCH] ejabberdctl commands use _ instead of -. For backwards compatibility - is still supported. SVN Revision: 2440 --- doc/guide.html | 12 ++++++------ doc/guide.tex | 12 ++++++------ 2 files changed, 12 insertions(+), 12 deletions(-) diff --git a/doc/guide.html b/doc/guide.html index 03e3700ec..3a434a12e 100644 --- a/doc/guide.html +++ b/doc/guide.html @@ -3407,7 +3407,7 @@ Available commands in this ejabberd node: ...

The more interesting ones are:

-reopen-log
Reopen the log files after they were renamed. +reopen_log
Reopen the log files after they were renamed. If the old files were not renamed before calling this command, they are automatically renamed to "*-old.log". See section 7.1.
backup ejabberd.backup
@@ -3415,7 +3415,7 @@ Store internal Mnesia database to a binary backup file.
restore ejabberd.backup
Restore immediately from a binary backup file the internal Mnesia database. This will consume quite some memory for big servers. -
install-fallback ejabberd.backup
+
install_fallback ejabberd.backup
The binary backup file is installed as fallback: it will be used to restore the database at the next ejabberd start. Similar to restore, but requires less memory. @@ -3424,21 +3424,21 @@ Dump internal Mnesia database to a text file dump.
load ejabberd.dump
Restore immediately from a text file dump. This is not recommended for big databases, as it will consume much time, -memory and processor. In that case it’s preferable to use backup and install-fallback. -
import-piefxis, export-piefxis, export-piefxis-host
+memory and processor. In that case it’s preferable to use backup and install_fallback. +
import_piefxis, export_piefxis, export_piefxis_host
These options can be used to migrate accounts using XEP-0227 formatted XML files from/to other Jabber/XMPP servers or move users of a vhost to another ejabberd installation. See also ejabberd migration kit. -
import-file, import-dir
+
import_file, import_dir
These options can be used to migrate accounts using jabberd1.4 formatted XML files. from other Jabber/XMPP servers There exist tutorials to migrate from other software to ejabberd. -
delete-expired-messages
This option can be used to delete old messages +
delete_expired_messages
This option can be used to delete old messages in offline storage. This might be useful when the number of offline messages is very high.

diff --git a/doc/guide.tex b/doc/guide.tex index 58a9395b7..75791d16d 100644 --- a/doc/guide.tex +++ b/doc/guide.tex @@ -4350,7 +4350,7 @@ Available commands in this ejabberd node: The more interesting ones are: \begin{description} -\titem{reopen-log} Reopen the log files after they were renamed. +\titem{reopen\_log} Reopen the log files after they were renamed. If the old files were not renamed before calling this command, they are automatically renamed to \term{"*-old.log"}. See section \ref{logfiles}. \titem {backup ejabberd.backup} @@ -4358,7 +4358,7 @@ The more interesting ones are: \titem {restore ejabberd.backup} Restore immediately from a binary backup file the internal Mnesia database. This will consume quite some memory for big servers. -\titem {install-fallback ejabberd.backup} +\titem {install\_fallback ejabberd.backup} The binary backup file is installed as fallback: it will be used to restore the database at the next ejabberd start. Similar to \term{restore}, but requires less memory. @@ -4367,23 +4367,23 @@ The more interesting ones are: \titem {load ejabberd.dump} Restore immediately from a text file dump. This is not recommended for big databases, as it will consume much time, - memory and processor. In that case it's preferable to use \term{backup} and \term{install-fallback}. + memory and processor. In that case it's preferable to use \term{backup} and \term{install\_fallback}. %%More information about backuping can %% be found in section~\ref{backup}. -\titem{import-piefxis, export-piefxis, export-piefxis-host} \ind{migrate between servers} +\titem{import\_piefxis, export\_piefxis, export\_piefxis\_host} \ind{migrate between servers} These options can be used to migrate accounts using \xepref{0227} formatted XML files from/to other \Jabber{}/XMPP servers or move users of a vhost to another ejabberd installation. See also \footahref{https://support.process-one.net/doc/display/P1/ejabberd+migration+kit}{ejabberd migration kit}. -\titem{import-file, import-dir} \ind{migration from other software} +\titem{import\_file, import\_dir} \ind{migration from other software} These options can be used to migrate accounts using jabberd1.4 formatted XML files. from other \Jabber{}/XMPP servers There exist tutorials to \footahref{http://www.ejabberd.im/migrate-to-ejabberd}{migrate from other software to ejabberd}. -\titem{delete-expired-messages} This option can be used to delete old messages +\titem{delete\_expired\_messages} This option can be used to delete old messages in offline storage. This might be useful when the number of offline messages is very high. \end{description} -- 2.40.0