summaryrefslogtreecommitdiff
path: root/topics/xapian
diff options
context:
space:
mode:
authorJohn Nduli2024-06-19 10:54:47 +0300
committerBonfaceKilz2024-06-24 17:58:07 +0300
commitcedf96a571a0b310ea780838f1d53e85b065bfef (patch)
treebf25334f931e2f185486f1c046c1dffb18c70598 /topics/xapian
parent91e43a0bf17ec012c4386c44b9832832255f3a6c (diff)
downloadgn-gemtext-cedf96a571a0b310ea780838f1d53e85b065bfef.tar.gz
docs: add revelant mysqldump script
Diffstat (limited to 'topics/xapian')
-rw-r--r--topics/xapian/xapian-indexing.gmi3
1 files changed, 2 insertions, 1 deletions
diff --git a/topics/xapian/xapian-indexing.gmi b/topics/xapian/xapian-indexing.gmi
index be0edc9..55eaf96 100644
--- a/topics/xapian/xapian-indexing.gmi
+++ b/topics/xapian/xapian-indexing.gmi
@@ -48,7 +48,8 @@ and load up the backup file using:
A backup file can be generated using:
-> mysqldump --opt --where="1 limit 1000000" database
+> mysqldump -u mysqluser -pmysqlpasswd --opt --where="1 limit 100000" db_webqtl > out.sql
+> xz out.sql
And run the index script using: