Subject | Re: [Firebird-Java] Are there plans for streaming backup support? |
---|---|
Author | Ivan Arabadzhiev |
Post date | 2016-01-16T13:18:10Z |
On 15-1-2016 11:28, Ivan Arabadzhiev intelrullz@...
[Firebird-Java] wrote:
> I did some looking around and did not see it mentioned so I figured I
> should ask - is streaming backup support planned for some point in time
> (or is it implemented already and I can't see it?) ?
As far as I am aware it is not implemented yet. See issue
http://tracker.firebirdsql.org/browse/JDBC-256
> I have actually tested it with setting an output stream on a standard
> backup with the expected parameters - it appears to be working (so far
> all .fbk files are restorable) but I could use a second opinion on
> whether such a backup may be problematic for some reason.
I am not really sure what you mean with this, did you use the setLogger
method? Could you post the code you used? I am not entirely sure if that
would (always) work correctly.
> I would actually be willing to implement and test it myself, but for the
> moment I'm not exactly sure how/where that would be best in Jaybird. Any
> hints on the subject are welcome, in case I actually get to it in the
> foreseeable future :)
>
> Thanks in advance for any ideas/thoughts on the subject
The most convenient for me would be if you forked the Jaybird project on
GitHub, create a branch in your fork with the changes and then create a
pull request which I can then review and merge.
These changes would either need to be made in
org.firebirdsql.management.FBBackupManager, or if combining streaming
backup with existing server-local backup leads to complex code: in a new
"manager" class.
For contributions I want to have a signed contributor license agreement
(see
https://github.com/FirebirdSQL/jaybird/blob/master/licenses/jaybird-icla.txt
) as I want to be able to change to a different open source license in
the future (there are no plans right now, but I like to keep this option
open).
Mark
--
Mark Rotteveel