Restore an EdgeDB database from a backup file.

edgedb [connection-option...] restore [OPTIONS] path

edgedb restore is a terminal command used to restore an EdgeDB database from a backup file. An empty target database must be created before using this command.


See the Common Connection Options. The restore command restores the backup file into the database it is connected to.


The name of the backup file to restore the database from.


Restore all databases and the server configuration using the directory specified by the path.


By default the command will not attempt to restore into a non-empty database.