Skip to content

SQL IMPORT DATABASE Cannot Restore Backup #645

@gramian

Description

@gramian

ArcadeDB Version: v22.10.1 (build e692f4c/1667424782661/main)

JDK Version: openjdk 11.0.16.1 2022-08-12

OS: MacOS 12.6

Dear Developers,

I unsuccesfully tried to remotely import a backup. I was expecting that IMPORT DATABASE not only imports exported databases but also backups, as there seems to be no other remote way to restore a backup. The restore.sh script requires to be logged into a terminal on the server's machine / container.

Expected behavior

SQL IMPORT DATABASE imports backup made with BACKUP DATABASE

Actual behavior

Import technically succeeds but does not import anything

Server Output
Recognized format JSON (parsingLimitBytes=9,54MB parsingLimitEntries=0)- Status update: parsed 0 (0/sec) - 0 documents (0/sec) - 0 vertices (0/sec) - 0 edges (0/sec) - 0 skipped edges - 0 linked edges (0/sec - 0%)

Steps to reproduce

BACKUP DATABASE;
IMPORT DATABASE file://backups/test/backup-test-20221128-140440531.zip

Metadata

Metadata

Assignees

Labels

wontfixThis will not be worked on

Type

No fields configured for Bug.

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions