summary refs log tree commit diff
path: root/database-save.sh
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2014-08-22 12:06:27 +0100
committerErik Johnston <erik@matrix.org>2014-08-22 12:06:27 +0100
commitc7d7bc02543eb0d2b794d8d70b23e27616384222 (patch)
tree7ae3dc0ac4560b973f439d6ffb09397447c0bc78 /database-save.sh
parentCheck if the membership message was for the room we were in before updating t... (diff)
downloadsynapse-c7d7bc02543eb0d2b794d8d70b23e27616384222.tar.xz
Allow people to specify database location in database-save.sh
Diffstat (limited to 'database-save.sh')
-rwxr-xr-xdatabase-save.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/database-save.sh b/database-save.sh
index c80f676f76..040c8a4943 100755
--- a/database-save.sh
+++ b/database-save.sh
@@ -8,7 +8,7 @@
 #
 #   $ sqlite3 homeserver.db < table-save.sql
 
-sqlite3 homeserver.db <<'EOF' >table-save.sql
+sqlite3 "$1" <<'EOF' >table-save.sql
 .dump users
 .dump access_tokens
 .dump presence