FirebirdSQL / firebird

Firebird server, client and tools
https://www.firebirdsql.org/
1.26k stars 216 forks source link

Backup via services and non-ASCII path for output log file #7490

Open shavluk opened 1 year ago

shavluk commented 1 year ago

Creating a backup via services (-se) and outputting the log-file (switch "-y") with a path that contains non-ASCII characters ends with an error. Tested on 3.0.10 and 4.0.2 (Win10 x64)

gbak.exe -b -user SYSDBA -password masterkey -se localhost:service_mgr -y d:\Тест\test.log d:\db\test.fdb d:\db\test.fbk

If log-file path contains non-ASCII characters, there is an error. The error is repeated on 3.0.10 and 4.0.2 gbak: ERROR:cannot open status and error output file d:\РўРчС?С'\test.log

aafemt commented 1 year ago

Non-ANSI paths and filenames are not supported by Firebird at all.

shavluk commented 1 year ago

Non-ANSI paths and filenames are not supported by Firebird at all.

Non-ANSI paths for database and backup it works

gbak.exe -b -user SYSDBA -password masterkey -se localhost:service_mgr d:\Тест\test.fdb d:\Тест\test.fbk without errors

aafemt commented 1 year ago

This ticket should say "non-ASCII" characters.