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

Incremental Backup does not work [CORE846] #1235

Closed
firebird-automations opened this issue Jul 5, 2006 · 9 comments
Closed

Incremental Backup does not work [CORE846] #1235

firebird-automations opened this issue Jul 5, 2006 · 9 comments

Comments

@firebird-automations
Copy link
Collaborator

Submitted by: Elmar Knoerzer (knoerzer)

Incremetal Backup does not work.
Nbackup -user sysdba -pas masterkey -B 0 192.168.20.199:bj bj0.nbk
Failure: Error (2) opening database file: 192.168.20.199:bj

Locking and unlocking database works fine.

Kind regards
Elmar

@firebird-automations
Copy link
Collaborator Author

Commented by: @dyemanov

Backup and restore are not expected to work remotely. You need to execute NBACKUP on the server machine and specify a local connection strings (without host name) for the database.

@firebird-automations
Copy link
Collaborator Author

Commented by: Elmar Knoerzer (knoerzer)

Hi Dmitry,
what do you mean with local connection string ?

I have read this in the manual, but i_am not sure, waht is a local connection string.

if i try
Nbackup -user sysdba -pas masterkey -B 0 c:\fb2\db\bj\bj.fdb bj0.nbk or
Nbackup -user sysdba -pas masterkey -B 0 bj bj0.nbk (using alias)
i get the failure PROBLEM ON "attach database".
unavailible database
SQLCODE:-904
Failure : Database error.

@firebird-automations
Copy link
Collaborator Author

Commented by: @dyemanov

"unavailable database" usually means that you have a mismatch in server and client versions, e.g. if you use fbclient/gds32 from FB1.5. Make sure you have the proper client library in the path. Also, you should be able to use "localhost:<pathname>".

@firebird-automations
Copy link
Collaborator Author

Commented by: Elmar Knoerzer (knoerzer)

I have deleted all fbclient/gds32 found on the system,
reinstallation of Server.

Nbackup -user sysdba -pas masterkey -B 0 c:\fb2\db\bj\bj.fdb bj0.nbk or
Nbackup -user sysdba -pas masterkey -B 0 bj bj0.nbk (using alias)
does not work.

Nbackup -user sysdba -pas masterkey -B 0 localhost:c:\fb2\db\bj\bj.fdb bj0.nbk
works !

@firebird-automations
Copy link
Collaborator Author

Modified by: @pcisar

assignee: Dmitry Yemanov [ dimitr ] =>

@firebird-automations
Copy link
Collaborator Author

Commented by: @dyemanov

It works for me with both local and localhost connection strings, so everything is as designed. As for the Elmar's issue with local connection, it's related to Win2003 which runs the terminal services by default and this mode prevents the FB local connections.

@firebird-automations
Copy link
Collaborator Author

Modified by: @dyemanov

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

resolution: Cannot Reproduce [ 5 ]

@firebird-automations
Copy link
Collaborator Author

Modified by: @pcisar

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

@firebird-automations
Copy link
Collaborator Author

Modified by: @pcisar

Workflow: jira [ 11057 ] => Firebird [ 15136 ]

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