[Rt-commit] rt branch, 3.9-trunk, updated. rt-3.9.7-1018-gc4f52fa
Thomas Sibley
trs at bestpractical.com
Thu Dec 23 10:28:38 EST 2010
The branch, 3.9-trunk has been updated
via c4f52fab3dcdb3a32cbf29cdefee068e7d90b471 (commit)
via 6048728bdd67c0ce86d868995150d0cacd4f3c6a (commit)
via f80d8f26a8db7db4cd6c4a8cf20f7c762afceda0 (commit)
from 3df3b0c1052f7b980ca502ffc873f0e0f1239cd3 (commit)
Summary of changes:
.gitignore | 1 +
Makefile.in | 2 +-
configure.ac | 2 +-
sbin/{rt-dump-database.in => rt-dump-metadata.in} | 15 ++++++++++-----
4 files changed, 13 insertions(+), 7 deletions(-)
rename sbin/{rt-dump-database.in => rt-dump-metadata.in} (93%)
- Log -----------------------------------------------------------------
commit f80d8f26a8db7db4cd6c4a8cf20f7c762afceda0
Author: Dominic Hargreaves <dom at earth.li>
Date: Sun Dec 19 23:25:33 2010 +0000
Document that rt-dump-database only dumps configuration
rt-dump-database only dumps configuration data from the database, not
all data; this seems to be a common misconception (example:
<http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=603247>)
Signed-off-by: Thomas Sibley <trs at bestpractical.com>
diff --git a/sbin/rt-dump-database.in b/sbin/rt-dump-database.in
index 5ff1c48..8a3b91b 100755
--- a/sbin/rt-dump-database.in
+++ b/sbin/rt-dump-database.in
@@ -235,12 +235,14 @@ rt-dump-database - dump the Request Tracker database
=head1 DESCRIPTION
-C<rt-dump-database> is a tool that dumps the Request Tracker database
-into XML format, suitable for feeding into C<rt-setup-database>.
+C<rt-dump-database> is a tool that dumps configuration metadata from the
+Request Tracker database into XML format, suitable for feeding into
+C<rt-setup-database>. To dump and load a full RT database, you should generally
+use the native database tools instead, as well as performing any necessary
+steps from UPGRADING.
When run without arguments, the database dump will only include 'local'
configuration changes, i.e. those done manually in the web interface.
When run with the argument '0', the dump will include all configuration
metadata.
-
commit 6048728bdd67c0ce86d868995150d0cacd4f3c6a
Author: Thomas Sibley <trs at bestpractical.com>
Date: Thu Dec 23 10:08:12 2010 -0500
Be a little more explicit about the purpose of this tool
diff --git a/sbin/rt-dump-database.in b/sbin/rt-dump-database.in
index 8a3b91b..ad3147a 100755
--- a/sbin/rt-dump-database.in
+++ b/sbin/rt-dump-database.in
@@ -227,7 +227,7 @@ __END__
=head1 NAME
-rt-dump-database - dump the Request Tracker database
+rt-dump-database - dump configuration metadata from an RT database
=head1 SYNOPSIS
@@ -246,3 +246,6 @@ configuration changes, i.e. those done manually in the web interface.
When run with the argument '0', the dump will include all configuration
metadata.
+
+This is NOT a tool for backing up an RT database.
+
commit c4f52fab3dcdb3a32cbf29cdefee068e7d90b471
Author: Thomas Sibley <trs at bestpractical.com>
Date: Thu Dec 23 10:12:43 2010 -0500
Rename rt-dump-database to rt-dump-metadata for clarity
diff --git a/.gitignore b/.gitignore
index ced6dc9..5580353 100644
--- a/.gitignore
+++ b/.gitignore
@@ -15,6 +15,7 @@ t/tmp/
sbin/rt-attributes-viewer
sbin/rt-clean-sessions
sbin/rt-dump-database
+sbin/rt-dump-metadata
sbin/rt-email-dashboards
sbin/rt-email-digest
sbin/rt-email-group-admin
diff --git a/Makefile.in b/Makefile.in
index 7c1e7be..49cf7ad 100755
--- a/Makefile.in
+++ b/Makefile.in
@@ -141,7 +141,7 @@ BINARIES = $(RT_MAILGATE_BIN) \
SYSTEM_BINARIES = rt-attributes-viewer \
rt-clean-sessions \
- rt-dump-database \
+ rt-dump-metadata \
rt-email-dashboards \
rt-email-digest \
rt-email-group-admin \
diff --git a/configure.ac b/configure.ac
index 02894e1..320815d 100755
--- a/configure.ac
+++ b/configure.ac
@@ -389,7 +389,7 @@ AC_CONFIG_FILES([
etc/upgrade/generate-rtaddressregexp
sbin/rt-attributes-viewer
sbin/rt-session-viewer
- sbin/rt-dump-database
+ sbin/rt-dump-metadata
sbin/rt-setup-database
sbin/rt-test-dependencies
sbin/rt-email-digest
diff --git a/sbin/rt-dump-database.in b/sbin/rt-dump-metadata.in
similarity index 97%
rename from sbin/rt-dump-database.in
rename to sbin/rt-dump-metadata.in
index ad3147a..ebbd32d 100755
--- a/sbin/rt-dump-database.in
+++ b/sbin/rt-dump-metadata.in
@@ -227,21 +227,21 @@ __END__
=head1 NAME
-rt-dump-database - dump configuration metadata from an RT database
+rt-dump-metadata - dump configuration metadata from an RT database
=head1 SYNOPSIS
- rt-dump-database [ 0 ]
+ rt-dump-metdata [ 0 ]
=head1 DESCRIPTION
-C<rt-dump-database> is a tool that dumps configuration metadata from the
+C<rt-dump-metadata> is a tool that dumps configuration metadata from the
Request Tracker database into XML format, suitable for feeding into
C<rt-setup-database>. To dump and load a full RT database, you should generally
use the native database tools instead, as well as performing any necessary
steps from UPGRADING.
-When run without arguments, the database dump will only include 'local'
+When run without arguments, the metadata dump will only include 'local'
configuration changes, i.e. those done manually in the web interface.
When run with the argument '0', the dump will include all configuration
-----------------------------------------------------------------------
More information about the Rt-commit
mailing list