Restoring database cypher has broken syntax

Hello,

I ran into an issue when restoring a backup. The restore command worked fine, but the output restore_metadata.cypher file included incorrect syntax that maybe completing the restore impossible. Once I removed DEFAULT LANGUAGE CYPHER 5 in the first line, it executed no problem.

image

Not sure where I can provide feedback as there wasn't a github repo that I could find easily.

@anthony

Is there any further detail relative to Neo4j version from which thr backup was taken and the version to which the restore_metadata.cypher is played back against ?

The backup was taken from AuraDB Free running Neo4j 5.
I restored it on Neo4j Enterprise running 5.23

@anthony

If you connect to https://browser.neo4j.io/ and then enter your databaseID for the AuraDB instance at connectURL and similar to 754abc4.databases.neo4j.io:7687 after authentication can you click on the top icon on left side bar and report the version

Some extra info, the DEFAULT LANGUAGE part of create/alter database was added both to the commands and to the meta data script in version 2025.02 (not sure what 5.x version Aura might report this at but I think it is two releases past 5.26, so potentially 5.28), so a 5.23 version of Neo4j would not know about them.

We have had some issues with the meta data script and have had fixes for them being merged since then, but I don't believe there have been any new release yet that includes them, and regardless it's not likely to help on an older 5.x release.

Thank you.

yes AuraDB backed up at version 2025.02

Enterprise on VM restored at 5.23.3. Importantly, this version is what was loaded by default from the Azure ARM template.