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.

connection-option

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

path

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

--all

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

--allow-non-empty

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

Light
Dark
System