vault backup: 2024-01-01 22:33:40
This commit is contained in:
@@ -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. -*
|
*- I also use Docker (or some other OCI runtime like Podman) also. -*
|
||||||
## Importing an existing database
|
## 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 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: ``
|
||||||
|
Reference in New Issue
Block a user