Parcourir la source

Merge pull request #33 from aaronraimist/patch-1

Link to the restoring media store guide
pull/35/head
Slavi Pantaleev il y a 7 ans
committed by GitHub
Parent
révision
691e52a45e
Aucune clé connue n'a été trouvée dans la base pour cette signature ID de la clé GPG: 4AEE18F83AFDEB23
1 fichiers modifiés avec 2 ajouts et 2 suppressions
  1. +2
    -2
      docs/importing-sqlite.md

+ 2
- 2
docs/importing-sqlite.md Voir le fichier

@@ -1,7 +1,7 @@
# Importing an existing SQLite database from another installation (optional) # Importing an existing SQLite database from another installation (optional)


Run this if you'd like to import your database from a previous default installation of Matrix Synapse. Run this if you'd like to import your database from a previous default installation of Matrix Synapse.
(don't forget to import your `media_store` files as well - see below).
(don't forget to import your `media_store` files as well - see [the restoring media store guide](restoring-media-store.md)).


While this playbook always sets up PostgreSQL, by default a Matrix Synapse installation would run While this playbook always sets up PostgreSQL, by default a Matrix Synapse installation would run
using an SQLite database. using an SQLite database.
@@ -12,4 +12,4 @@ Run this command (make sure to replace `<local-path-to-homeserver.db>` with a fi


ansible-playbook -i inventory/hosts setup.yml --extra-vars='local_path_homeserver_db=<local-path-to-homeserver.db>' --tags=import-sqlite-db ansible-playbook -i inventory/hosts setup.yml --extra-vars='local_path_homeserver_db=<local-path-to-homeserver.db>' --tags=import-sqlite-db


**Note**: `<local-path-to-homeserver.db>` must be a file path to a `homeserver.db` file on your local machine (not on the server!). This file is copied to the server and imported.
**Note**: `<local-path-to-homeserver.db>` must be a file path to a `homeserver.db` file on your local machine (not on the server!). This file is copied to the server and imported.

Chargement…
Annuler
Enregistrer