diff --git a/Databases/SurrealDB/Command line interface.md b/Databases/SurrealDB/Command line interface.md index a75711b..d5839ee 100644 --- a/Databases/SurrealDB/Command line interface.md +++ b/Databases/SurrealDB/Command line interface.md @@ -17,10 +17,12 @@ Option two I'm still figuring out. I just export it once I'm done and then impor *- I also use Docker (or some other OCI runtime like Podman) also. -* ## Importing an existing database -Imports deal with SurQL files, similar to SQL files, filled with statements that SurrealDB will read and be ready when you start the database. +Imports deal with SurQL files, similar to SQL files, filled with statements that SurrealDB will read and be ready when you start the database -`surreal import -e http://127.0.0.1:8002 --user root --pass root --ns test --db test export.surql` +Example: `surreal import -e http://127.0.0.1:8002 --user root --pass root --ns test --db test export.surql` ## Exporting a running database -Exporting throws everything into a SurQL file, used for analysis +Exporting throws everything into a SurQL file, used for analysis and importing (for later!) + +Example: ``