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
Documentation for NBACKUP is wrong about database replacement on restore [DOC25] #34
Comments
Commented by: Malte Tuellmann (malte) the same behavior on Windows XP regards Malte |
Commented by: Sean Leyne (seanleyne) NBackup does not support overwriting the destination database. This is a "as designed" feature. |
Modified by: Sean Leyne (seanleyne)status: Open [ 1 ] => Resolved [ 5 ] resolution: Won't Fix [ 2 ] |
Commented by: Malte Tuellmann (malte) o.k., the docs are wrong: http://www.firebirdsql.org/manual/nbackup-backups.html Restoring a full backup |
Modified by: @pcisarpriority: Major [ 3 ] => Minor [ 4 ] Component: Documentation [ 10011 ] summary: Failure: Error (17) creating database file => Documentation for NBACKUP is wrong about database replacement on restore |
Modified by: @pcisarstatus: Resolved [ 5 ] => Closed [ 6 ] |
Commented by: Andreas Kallenbach (andreas_kc) Why is this issue closed? I just ran into this problem in testing TODAY and clearly there is an issue to be fixed. The documentation could be corrected where it states nbackup is designed to restore a database and "If the specified database already exists and there are no connections, it will be overwritten without any warning!" Otherwise the program could be corrected to agree with the documentation! |
Commented by: @helebor Amazing! I don't know how it got closed. I will check the release notes as to whether the same mistake is there and post an update here if it is.-- Helen |
Modified by: @heleborstatus: Closed [ 6 ] => Reopened [ 4 ] assignee: Paul Vinkenoog [ paulvink ] resolution: Won't Fix [ 2 ] => |
Commented by: @paulvink I'm correcting and updating the nbackup doc now. Will upload the new HTML and PDF today. Paul |
Commented by: @paulvink Documentation corrected. |
Modified by: @paulvinkstatus: Resolved [ 5 ] => Closed [ 6 ] |
Submitted by: Oliver Grenz (olivergrenz)
hello community,
I want to make a full restore of a database backup with the following command and I get always the same error code regardless what I do (The database I want to restore does already exists, the backup database is a full backup done with nbackup with the option B 0):
# /opt/firebird/bin/nbackup -U sysdba -P secret -R /usr/Inhouse/database.fdb /home/oliver/Backup/database.bak
# Failure: Error (17) creating database file :/usr/Inhouse/databse.fdb
What is going wrong? The directory is full writeable/readable (777), the database is owned by firebird.firebird with only read/write rights for this owner (rw-------). Must the database be closed with gfix? Is it a problem of rights?
Sincerly
Oliver Grenz
The text was updated successfully, but these errors were encountered: