-
-
Notifications
You must be signed in to change notification settings - Fork 221
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
Make it possible to use API to do remote backups/restores [CORE2666] #3070
Comments
Modified by: @AlexPeshkoffassignee: Alexander Peshkov [ alexpeshkoff ] |
Commented by: @AlexPeshkoff Poul, I've marked it as planned for 3.0, but this does not mean that private build of 2.5 for you is not possible. Let's return to it after 2.5 official release. |
Modified by: @dyemanovFix Version: 3.0 Alpha 1 [ 10331 ] |
Commented by: @AlexPeshkoff This patch for firebird 2.5 makes it possible to do fast backup of databases, using services. |
Modified by: @AlexPeshkoffAttachment: 2666.patch [ 11613 ] |
Modified by: @AlexPeshkoff |
Commented by: @AlexPeshkoff Patch with restore should be applied to clean 2.5 sources. |
Modified by: @AlexPeshkoffAttachment: 2666-with-restore.patch.bz2 [ 11941 ] |
Commented by: PizzaProgram Ltd. (szakilaci) Is it possible to include this feature in 2.5 final binary? (Not just as a patch? Sorry, I don't know, how to apply it.) |
Commented by: @AlexPeshkoff Code has been well tested by IbPhoenix customers, therefore currently it seems OK to add this feature to 2.5 branch. Specially taking into an account that we already have some new features in it. |
Commented by: @dyemanov Alex, some docs about the feature is needed for this to be included into the v2.5 branch. |
Commented by: @AlexPeshkoff Certainly |
Commented by: @dyemanov In order to be included into 2.5.2, the patch must be immediately ready. Ideally, it should also be committed into FB3, so that it was known to be compatible with the new architecture as well. Otherwise, it has to wait until 2.5.3. |
Modified by: @mrotteveel |
Commented by: Denis Pereira Raymundo (denistek) I think this feature makes room for weakness in Firebird. For if a person anywhere in the world to discover the path of the database, which is not very hard, and find the password, get an updated copy of data whenever it wants. Before one had to be physically on site database or getting a remote access, which was much more difficult. I think it should have a setting in firebird to accept doing this type of operation or not. So we could enable it when needed. |
Commented by: @AlexPeshkoff Read carefully issue name - "to use API". It was possible to use gbak utility to do remote backups since first FB days and even before. The reason to use services API is just to make it a bit faster. |
Commented by: PizzaProgram Ltd. (szakilaci) Can someone please write an example here how to call this new feature from API ? |
Commented by: @AlexPeshkoff From doc/README.services_extension: What about delphi - no idea, and not good place to ask. |
Commented by: @pmakowski About Delphi, you can check UIB, usually it is up to date for all API |
Modified by: @pavel-zotovQA Status: No test |
Submitted by: Poul Dige (tabulex)
Is related to CORE2984
Block progress on JDBC256
Replaces CORE762
Is related to QA619
Attachments:
2666.patch
2666-with-restore.patch.bz2
Votes: 3
Today you can use the API remotely to create a serverside backup. You can use GBAK to create a remote backup (e.g. via Internet). But you can't use API to create remote backup, i.e. create a backup serverside and flush it to the client.
As using GBAK is very very slow over internet (testcase 10MB database backup takes less than 2 seconds when done locally, and more than 5 minutes through a 20MBit internet connection) ) it is a must to improve this function to make it possible to offer remote hosting for customers.
Commits: e74a496 477e14a
The text was updated successfully, but these errors were encountered: