surreal export <file>
Export an existing database as a SurrealQL script
Arguments
Name | Description |
---|
file | Path to the sql file to export |
Options
Name | Description |
---|
--pass, -p <pass> | Database authentication password to use when connecting [default: root] |
--user, -u <user> | Database authentication username to use when connecting [default: root] |
--conn, -c <conn> | Remote database server url to connect to [default: https://cloud.surrealdb.com] |
--ns <ns> | |
--db <db> | |