Backup / Recovery problem across versions

Wednesday, 2 November 2016 · 2 messages · last reply 3 Nov 2016
AL
Alex R. Loayza2 Nov 2016 19:22 #
Hello, I have an installation of BaseX 8.3 on Windows 8. Recently, I installed BaseX 8.5 on Ubuntu. I made a backup of my 8.3 installation and restored it on the 8.5 installation. Restoring went through with no issues. However, when I try to access documents on 8.5, for a few documents the doc() function works well and I get the document requested, but for others (most of them) I get the following error message: "Database path 'path/to/myDocument' yields no documents" I'm sure I'm using the right paths on doc(). Was there any special setting I should have taken care of while restoring the backup, or is it that backup / restore is not the correct process to migrate data from different versions of BaseX on differents OSs? Thanks in advance. Alex
CG
Christian Grün3 Nov 2016 07:56 #
Hi Alex, Usually this should be no problem (in particular when upgrading to newer versions of BaseX). Could you please check if the missing documents will be output with both 8.3 and 8.5 if you export the full database? If yes, calling OPTIMIZE ALL should help. Cheers, Christian
Quoted text · Alex R. Loayza · 19 lines
> I have an installation of BaseX 8.3 on Windows 8. Recently, I installed > BaseX 8.5 on Ubuntu. I made a backup of my 8.3 installation and restored it > on the 8.5 installation. > > Restoring went through with no issues. However, when I try to access > documents on 8.5, for a few documents the doc() function works well and I > get the document requested, but for others (most of them) I get the > following error message: > > "Database path 'path/to/myDocument' yields no documents" > > I'm sure I'm using the right paths on doc(). Was there any special setting > I should have taken care of while restoring the backup, or is it that backup > / restore is not the correct process to migrate data from different versions > of BaseX on differents OSs? > > Thanks in advance. > > Alex

⚡Generated with XQuery