|
[
Permalink
| « Hide
]
Alexander Peshkov added a comment - 05/Oct/09 04:08 PM
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.
This patch for firebird 2.5 makes it possible to do fast backup of databases, using services.
Patch with restore should be applied to clean 2.5 sources.
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.)
Would be nice, if it would be "official". It's hard to locate the proper gbak.exe, becase of too many directory variants in "Win" enviroment. Waiting for this possibility since 1.0 version. Also would be nice, if would be able to send/recieve as a stream, to be able to de/encrypt the .fbk file in real time, before opening/saving from/to client's hdd. 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.
Alex, some docs about the feature is needed for this to be included into the v2.5 branch.
Certainly
Moreover - we have a kind of, written for IbPhoenix clients 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.
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. 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.
Can someone please write an example here how to call this new feature from API ?
Is there already any know Delphi component that can handle it? Thanks ! From doc/README.services_extension:
"A sample of how services API should be used for remote backup and restore can be found in source code of fbsvcmgr." It's very simple (not to say trivial) utility, separate _working_ sample will not be easier to understand. What about delphi - no idea, and not good place to ask. About Delphi, you can check UIB, usually it is up to date for all API
just do a check out from the repository : http://sourceforge.net/projects/uib/develop |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||