[Rt-commit] rt branch, 4.0-trunk, updated. rt-4.0.13-40-g32250bd

Thomas Sibley trs at bestpractical.com
Thu May 23 14:43:47 EDT 2013


The branch, 4.0-trunk has been updated
       via  32250bdaba5989e4548e7f56c9be367646d1a9e3 (commit)
      from  babd35f1bc975123e07f31b649d10cb68b0f1d49 (commit)

Summary of changes:
 docs/backups.pod | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

- Log -----------------------------------------------------------------
commit 32250bdaba5989e4548e7f56c9be367646d1a9e3
Author: Thomas Sibley <trs at bestpractical.com>
Date:   Thu May 23 11:37:00 2013 -0700

    Date format typo: %M is minute but we want month, %m.

diff --git a/docs/backups.pod b/docs/backups.pod
index 6fce6bc..0928790 100644
--- a/docs/backups.pod
+++ b/docs/backups.pod
@@ -33,7 +33,7 @@ RT. :)
 
     ( mysqldump rt4 --tables sessions --no-data; \
       mysqldump rt4 --ignore-table rt4.sessions --single-transaction ) \
-        | gzip > rt-`date +%Y%M%d`.sql.gz
+        | gzip > rt-`date +%Y%m%d`.sql.gz
 
 If you're using a MySQL version older than 4.1.2 (only supported on RT 3.8.x
 and older), you should be also pass the C<--default-character-set=binary>
@@ -54,7 +54,7 @@ but lets you take backups without putting load on your production server.
 
     ( pg_dump rt4 --table=sessions --schema-only; \
       pg_dump rt4 --exclude-table=sessions ) \
-        | gzip > rt-`date +%Y%M%d`.sql.gz
+        | gzip > rt-`date +%Y%m%d`.sql.gz
 
 =head2 FILESYSTEM
 
@@ -102,7 +102,7 @@ recreate those.
 
 Simply saving a tarball should be sufficient, with something like:
 
-    tar czvpf rt-backup-`date +%Y%M%d`.tar.gz /opt/rt4 /etc/aliases /etc/httpd ...
+    tar czvpf rt-backup-`date +%Y%m%d`.tar.gz /opt/rt4 /etc/aliases /etc/httpd ...
 
 Be sure to include all the directories and files you enumerated above!
 

-----------------------------------------------------------------------


More information about the Rt-commit mailing list