Cannot restore any file containing spaces or diacriticals

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Cannot restore any file containing spaces or diacriticals

Alexander Henket-2
Hi,

eXist-db 3.4.0.

I’ve tried restoring a backup that contains files with spaces and diacritics. They all fail:

Reason: Unable to obtain its EXistInputSource
WARN: Failed to restore resource '10-Rapport%20de%20sortie%20de%20la%20clinique%20de%20r%C3%A9%C3%A9ducation.xml'
from file '/root/20170727_exist_data/db/apps/hl7/CDAr2/examples/CH_HL7_Switzerland/fr/10-Rapport%20de%20sortie%20de%20la%20clinique%20de%20r%C3%A9%C3%A9ducation.xml'.

I used this command:

bin/backup.sh -u admin -p <pass> -r /home/user/$(date '+%Y%m%d')_exist_data/db/__contents__.xml -ouri=xmldb:exist://127.0.0.1:8877/xmlrpc

Is this a known limitation?

Regards

Alexander Henket


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Exist-open mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/exist-open
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Cannot restore any file containing spaces or diacriticals

Hungerburg
Hello Alexander,

I see that you want to restore, not from ZIP but from directory:
'10-Rapport%20de%20sortie%20de%20la%20clinique%20de%20r%C3%A9%C3%A9ducation.xml'
Decoded that is '10-Rapport de sortie de la clinique de rééducation.xml'
- So far, this looks valid; both target and source share that name.

Do you see a file by one of these names in your backup? Is there a file
with a similar name in the filesystem?


-- Peter

Am 2017-07-27 um 21:38 schrieb Alexander Henket:

> Hi,
>
> eXist-db 3.4.0.
>
> I’ve tried restoring a backup that contains files with spaces and
> diacritics. They all fail:
>
> Reason: Unable to obtain its EXistInputSource
> WARN: Failed to restore resource
> '10-Rapport%20de%20sortie%20de%20la%20clinique%20de%20r%C3%A9%C3%A9ducation.xml'
> from file
> '/root/20170727_exist_data/db/apps/hl7/CDAr2/examples/CH_HL7_Switzerland/fr/10-Rapport%20de%20sortie%20de%20la%20clinique%20de%20r%C3%A9%C3%A9ducation.xml'.
>
> I used this command:
>
> bin/backup.sh-u  admin-p  <pass >  -r  /home/user/$(date  '+%Y%m%d')_exist_data/db/__contents__.xml-ouri=xmldb:exist://127.0.0.1:8877/xmlrpc
>
>
> Is this a known limitation?
>
> Regards
>
> Alexander Henket
>
>
>
> ------------------------------------------------------------------------------
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
>
>
>
> _______________________________________________
> Exist-open mailing list
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/exist-open
>


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Exist-open mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/exist-open
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Cannot restore any file containing spaces or diacriticals

aik01
In reply to this post by Alexander Henket-2
it's known or at least very similar to issue #681
regards
Peter

Quoting Alexander Henket <[hidden email]>:

> Hi,
>
> eXist-db 3.4.0.
>
> I’ve tried restoring a backup that contains files with spaces and  
> diacritics. They all fail:
>
> Reason: Unable to obtain its EXistInputSource
> WARN: Failed to restore resource  
> '10-Rapport%20de%20sortie%20de%20la%20clinique%20de%20r%C3%A9%C3%A9ducation.xml'
> from file  
> '/root/20170727_exist_data/db/apps/hl7/CDAr2/examples/CH_HL7_Switzerland/fr/10-Rapport%20de%20sortie%20de%20la%20clinique%20de%20r%C3%A9%C3%A9ducation.xml'.
>
> I used this command:
>
> bin/backup.sh -u admin -p <pass> -r /home/user/$(date  
> '+%Y%m%d')_exist_data/db/__contents__.xml  
> -ouri=xmldb:exist://127.0.0.1:8877/xmlrpc
>
> Is this a known limitation?
>
> Regards
>
> Alexander Henket




------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Exist-open mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/exist-open
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Cannot restore any file containing spaces or diacriticals

Alexander Henket-2
In reply to this post by Alexander Henket-2
Hi Мильан,

I did not try that, but it is a headless machine. I’d have to first pull the whole thing down to my machine only to re-upload it probably.

Worth the shot, but I’d rather see the problem fixed

Thanks,

Alexander Henket

Op 29 jul. 2017, om 13:01 heeft Миљан Ушћумлић <[hidden email]> het volgende geschreven:

Alexander,

have you tried to restore those files with Java Admin Client. Restore of the file "10-Rapport de sortie de la clinique de rééducation.xml" seems to work with it.

Regards,
Miljan
С наилучшими пожеланиями,
Мильан
On 27.7.2017 21:38, Alexander Henket wrote:
Hi,

eXist-db 3.4.0.

I’ve tried restoring a backup that contains files with spaces and diacritics. They all fail:

Reason: Unable to obtain its EXistInputSource
WARN: Failed to restore resource '10-Rapport%20de%20sortie%20de%20la%20clinique%20de%20r%C3%A9%C3%A9ducation.xml'
from file '/root/20170727_exist_data/db/apps/hl7/CDAr2/examples/CH_HL7_Switzerland/fr/10-Rapport%20de%20sortie%20de%20la%20clinique%20de%20r%C3%A9%C3%A9ducation.xml'.

I used this command:

bin/backup.sh -u admin -p <pass> -r /home/user/$(date '+%Y%m%d')_exist_data/db/__contents__.xml -ouri=xmldb:exist://127.0.0.1:8877/xmlrpc

Is this a known limitation?

Regards

Alexander Henket



------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot


_______________________________________________
Exist-open mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/exist-open



------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Exist-open mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/exist-open
Loading...