Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

connot backup db from 2.1 to 2.5 [CORE4305] #4628

Closed
firebird-automations opened this issue Dec 27, 2013 · 7 comments
Closed

connot backup db from 2.1 to 2.5 [CORE4305] #4628

firebird-automations opened this issue Dec 27, 2013 · 7 comments

Comments

@firebird-automations
Copy link
Collaborator

Submitted by: flyingfb (flyingfb)

Attachments:
TEST.zip

i have created a database with table whose name is chinese charater set (DBCS) in firebird 2.1, now i want to upgrade it firebird2.5, but fail.

gbak -b -v -user sysdba -pass masterkey d:\test.fdb d:\test.fbk
or
gbak -b -v -user sysdba -pass masterkey -FIX_FSS_M WIN1252 d:\test.fdb d:\test.fbk
or
gbak -b -v -user sysdba -pass masterkey -FIX_FSS_M gbk d:\test.fdb d:\test.fbk

with any above command, get following results:

gbak:readied database d:\test.fdb for backup
gbak:creating file d:\test.fbk
gbak:starting transaction
gbak:database d:\test.fdb has a page size of
gbak:writing domains
gbak: writing domain RDB$1
gbak: writing domain RDB$2
gbak: writing domain RDB$3
gbak:writing shadow files
gbak:writing character sets
gbak:writing collations
gbak:writing functions
gbak:writing tables
gbak: writing table 中文表名
gbak: ERROR:Malformed string
gbak:Exiting before completion due to errors

@firebird-automations
Copy link
Collaborator Author

Modified by: flyingfb (flyingfb)

Attachment: TEST.zip [ 12409 ]

@firebird-automations
Copy link
Collaborator Author

Commented by: @hvlad

You should specify correct charset in -FIX_FSS_META switch.
AFAIU it is DBCS and not WIN1252

@firebird-automations
Copy link
Collaborator Author

Commented by: flyingfb (flyingfb)

i create table with charaset set none.

i dont know what character set to use.

if i add description for column in firebird2.1 as following
COMMENT ON COLUMN "COM_Contact"."Name" IS '名称'

i can backup with -FIX_FSS_M gbk

i suppose DBCS or MBCS is not a character set.

@firebird-automations
Copy link
Collaborator Author

Commented by: @asfernandes

You should look for support in a support list, not in the tracker.

@firebird-automations
Copy link
Collaborator Author

Commented by: @hvlad

flyingfb,

FIX_FSS_XXX switches are for restore, not for backup.

Seems, you really should look for support at more appropriate place, as Adriano said.

@firebird-automations
Copy link
Collaborator Author

Modified by: @asfernandes

status: Open [ 1 ] => Resolved [ 5 ]

resolution: Won't Fix [ 2 ]

@firebird-automations
Copy link
Collaborator Author

Modified by: @pcisar

status: Resolved [ 5 ] => Closed [ 6 ]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant