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-automations opened this issue Mar 19, 2015 · 11 comments

Comments

@firebird-automations
Copy link
Collaborator

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-automations
Copy link
Collaborator Author

Commented by: Imam Chalimi (virgonia)

error snapshot

@firebird-automations
Copy link
Collaborator Author

Modified by: Imam Chalimi (virgonia)

Attachment: gbak_error.jpg [ 12688 ]

@firebird-automations
Copy link
Collaborator Author

Modified by: @dyemanov

Regression: 3.0 Beta 1 [ 10332 ]

@firebird-automations
Copy link
Collaborator Author

Commented by: Sean Leyne (seanleyne)

Does the original database have shadow defined/active?

@firebird-automations
Copy link
Collaborator Author

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-automations
Copy link
Collaborator Author

Modified by: @AlexPeshkoff

assignee: Alexander Peshkov [ alexpeshkoff ]

@firebird-automations
Copy link
Collaborator Author

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-automations
Copy link
Collaborator Author

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-automations
Copy link
Collaborator Author

Modified by: @AlexPeshkoff

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

resolution: Fixed [ 1 ]

Fix Version: 3.0 Beta 2 [ 10586 ]

@firebird-automations
Copy link
Collaborator Author

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-automations
Copy link
Collaborator Author

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