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

Restore of shadowed database fails using -k ("restore without shadow") switch [CORE4715] #5022

Closed
firebird-issue-importer opened this issue Mar 19, 2015 · 11 comments

Comments

@firebird-issue-importer

Submitted by: Imam Chalimi (virgonia)

Attachments:
gbak_error.jpg

an error message "gbak: ERROR:DELETE operation is not allowed for system table RDB$FILES" appears when performing a restore without shadow (-k switch) .

command : C:\VsrProject>gbak -user sysdba -pass masterkey -v -c -r -k data.fbk data_new.fb

Commits: 18c902d FirebirdSQL/fbt-repository@893c0b5

====== Test Details ======

Confirmed on WI-T3.0.0.31374:
command "gbak -rep -k c4715.fbk -user SYSDBA -pas masterke localhost/3000:<path>\c4715-new.FDB"
produces:
gbak: ERROR:DELETE operation is not allowed for system table RDB$FILES
gbak:Exiting before completion due to errors

@firebird-issue-importer
Copy link
Author

firebird-issue-importer commented Mar 19, 2015

Commented by: Imam Chalimi (virgonia)

error snapshot

@firebird-issue-importer
Copy link
Author

firebird-issue-importer commented Mar 19, 2015

Modified by: Imam Chalimi (virgonia)

Attachment: gbak_error.jpg [ 12688 ]

@firebird-issue-importer
Copy link
Author

firebird-issue-importer commented Mar 19, 2015

Modified by: @dyemanov

Regression: 3.0 Beta 1 [ 10332 ]

@firebird-issue-importer
Copy link
Author

firebird-issue-importer commented Mar 19, 2015

Commented by: Sean Leyne (seanleyne)

Does the original database have shadow defined/active?

@firebird-issue-importer
Copy link
Author

firebird-issue-importer commented Mar 20, 2015

Commented by: Imam Chalimi (virgonia)

yes, original database have shadow, defined and active.
i want to restore to new database without shadow.
I used to do before and no problems.

I think the problem is new firebird does not allow to delete a record in the file system RDB$FILES.

@firebird-issue-importer
Copy link
Author

firebird-issue-importer commented Apr 2, 2015

Modified by: @AlexPeshkoff

assignee: Alexander Peshkov [ alexpeshkoff ]

@firebird-issue-importer
Copy link
Author

firebird-issue-importer commented Apr 4, 2015

Modified by: Sean Leyne (seanleyne)

summary: error message "gbak: ERROR:DELETE operation is not allowed for system table RDB$FILES" appears when performing a restore without shadow (-k switch) => Restore of shadowed database fails using -k/"restore without shadow" switch

@firebird-issue-importer
Copy link
Author

firebird-issue-importer commented Apr 4, 2015

Modified by: Sean Leyne (seanleyne)

summary: Restore of shadowed database fails using -k/"restore without shadow" switch => Restore of shadowed database fails using -k ("restore without shadow") switch

@firebird-issue-importer
Copy link
Author

firebird-issue-importer commented Apr 16, 2015

Modified by: @AlexPeshkoff

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

resolution: Fixed [ 1 ]

Fix Version: 3.0 Beta 2 [ 10586 ]

@firebird-issue-importer
Copy link
Author

firebird-issue-importer commented Jun 12, 2015

Modified by: @pavel-zotov

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

QA Status: Done successfully

Test Details: Confirmed on WI-T3.0.0.31374:
command "gbak -rep -k c4715.fbk -user SYSDBA -pas masterke localhost/3000:<path>\c4715-new.FDB"
produces:
gbak: ERROR:DELETE operation is not allowed for system table RDB$FILES
gbak:Exiting before completion due to errors

@firebird-issue-importer
Copy link
Author

firebird-issue-importer commented Jun 14, 2015

Modified by: @pavel-zotov

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

2 participants