SurrealDB Cloud is a hosted version of SurrealDB, providing a fully managed, scalable, and secure database solution. This guide will help you migrate your existing SurrealDB Instance to SurrealDB Cloud .
.surql
(SurrealQL) file. You can do this using the surreal export
command in the terminal:# Example export command to export data to a file called `export.surql` in the downloads directory. surreal export --conn <connection-url> --user root --pass secret --ns test --db test downloads/export.surql
This will create a file called export.surql
in the current directory.
You can now import this file into your SurrealDB Cloud Instance.
surreal import --conn <connection-url> --user root --pass secret --ns test --db test downloads/export.surql