Skip to content

Latest commit

 

History

History
26 lines (17 loc) · 932 Bytes

restore.adoc

File metadata and controls

26 lines (17 loc) · 932 Bytes

Restore a Database

edit

ArcadeDB allows to restore a database previously backed up.

Note
If a server is running, it must be restarted in order to access to the restored database.

Example

Example for restoring the database "mydb" from the backup located in backups/mysb/mydb-backup-20210921-172750767.zip.

$ bin/restore.sh -f backups/mysb/mydb-backup-20210921-172750767.zip -d databases/mydb

Configuration

  • -f <backup-file> (string) path to the backup file to restore.

  • -d <database-path> (string) path on local filesystem where to create the ArcadeDB database.

  • -o (boolean) true to overwrite the database if already exists. If false and the database-path already exists, an error is thrown. Default is false.