Re: [Firebird-net-provider] fbBackup on remote Clients

2014-06-04 Thread Ivan Arabadzhiev
You`re welcome :) 2014-06-04 21:39 GMT+03:00 Jiri Cincura : > Great. Now to pack it, test everything else works, add a nice wrap and > ship it. :) > > Thanks for helping to test it! Appreciate it. > > > On Wednesday, June 4, 2014, Ivan Arabadzhiev > wrote: > >> Confirmed - restore now works :)

Re: [Firebird-net-provider] fbBackup on remote Clients

2014-06-04 Thread Jiri Cincura
Great. Now to pack it, test everything else works, add a nice wrap and ship it. :) Thanks for helping to test it! Appreciate it. On Wednesday, June 4, 2014, Ivan Arabadzhiev wrote: > Confirmed - restore now works :) Thanks a lot > > > 2014-06-04 18:04 GMT+03:00 Ivan Arabadzhiev >: > >> Sorry f

Re: [Firebird-net-provider] fbBackup on remote Clients

2014-06-04 Thread Ivan Arabadzhiev
Confirmed - restore now works :) Thanks a lot 2014-06-04 18:04 GMT+03:00 Ivan Arabadzhiev : > Sorry for the trouble :( I specifically tested importing to check if the > network would break. Looks like there is some host dependency. Don`t have a > reliable host for virtual machines and I move way

Re: [Firebird-net-provider] fbBackup on remote Clients

2014-06-04 Thread Jiri Cincura
So. The bug is fixed, hopefully. Here's the build http://speedy.sh/TCR3G/FirebirdClient.7z . Can you check that and confirm it's OK? -- Jiri {x2} Cincura http://blog.cincura.net/ | http://www.ID3renamer.com -- Learn Gra

Re: [Firebird-net-provider] fbBackup on remote Clients

2014-06-04 Thread Ivan Arabadzhiev
Sorry for the trouble :( I specifically tested importing to check if the network would break. Looks like there is some host dependency. Don`t have a reliable host for virtual machines and I move way too much to give you access to my laptop :) Please tell me you have the same restore issues now tha

Re: [Firebird-net-provider] fbBackup on remote Clients

2014-06-04 Thread Jiri Cincura
Never mind, blind luck solved it. ;D -- Jiri {x2} Cincura http://blog.cincura.net/ | http://www.ID3renamer.com -- Learn Graph Databases - Download FREE O'Reilly Book "Graph Databases" is the definitive new guide to grap

Re: [Firebird-net-provider] fbBackup on remote Clients

2014-06-04 Thread Jiri Cincura
BTW "ls /sys/class/net" get ens35 lo I believe the network interface are fucked up. -- Jiri {x2} Cincura http://blog.cincura.net/ | http://www.ID3renamer.com -- Learn Graph Databases - Download FREE O'Reilly Book "Grap

Re: [Firebird-net-provider] fbBackup on remote Clients

2014-06-04 Thread Jiri Cincura
The network there doesn't work. Can't you just make the VM available from internet? -- Jiri {x2} Cincura http://blog.cincura.net/ | http://www.ID3renamer.com -- Learn Graph Databases - Download FREE O'Reilly Book "Graph

Re: [Firebird-net-provider] fbBackup on remote Clients

2014-06-04 Thread Ivan Arabadzhiev
https://drive.google.com/file/d/0BxNlh1_CctC4Z3VVZUtCaDFETXM/edit?usp=sharing (turned out smaller than I expected :)). I`ve exported it from VirtualBox (and tested reeimporting). Should be ready to go at boot. DHCP is enabled. root password is password. No configuration done on Firebird so I use /t

Re: [Firebird-net-provider] fbBackup on remote Clients

2014-06-04 Thread Jiri Cincura
On Wed, Jun 4, 2014 at 10:55 AM, Ivan Arabadzhiev wrote: > Won`t that be a problem? Not for me. -- Jiri {x2} Cincura http://blog.cincura.net/ | http://www.ID3renamer.com -- Learn Graph Databases - Download FREE O'Reill

Re: [Firebird-net-provider] fbBackup on remote Clients

2014-06-04 Thread Ivan Arabadzhiev
Well ... "System.ArgumentNullException: Value cannot be null. Parameter name: stream at System.Resources.ResourceReader..ctor(Stream stream) at System.Resources.ResourceSet..ctor(Stream stream) at FirebirdSql.Data.Common.IscException.CreateResourceSet(String resourceName) in \FirebirdSql\D

Re: [Firebird-net-provider] fbBackup on remote Clients

2014-06-04 Thread Jiri Cincura
On Wed, Jun 4, 2014 at 12:54 AM, Ivan Arabadzhiev wrote: > What do you mean by "first chance exception" ? There's an exception/error before it get into IscException. That's what triggered looking for resources with error message. You can put breakpoint before the above mentioned method and see wh

Re: [Firebird-net-provider] fbBackup on remote Clients

2014-06-03 Thread Ivan Arabadzhiev
Not using mono:) I`m refactoring a backup tool for windows. I need xp support so I keep things on .net 4.0 Client Profile and VS2010. It`s just that most of the servers worth backing up run linux. What do you mean by "first chance exception" ? A callstack perhaps? 2014-06-03 20:55 GMT+03:00 Jiri

Re: [Firebird-net-provider] fbBackup on remote Clients

2014-06-03 Thread Jiri Cincura
This looks more like an Mono problem, because it cannot find the resource. But there's some exception before anyway. Can you get the first chance exception there and post it here. -- Jiri {x2} Cincura http://blog.cincura.net/ | http://www.ID3renamer.com -

Re: [Firebird-net-provider] fbBackup on remote Clients

2014-06-03 Thread Ivan Arabadzhiev
Well, thanks :) I haven`t really been in touch and didn`t know there`s a github repo. I got the sources from there and the error switched to FirebirdSql.Data.FirebirdClient.FbException (0x80004005): Value cannot be null. Parameter name: stream ---> System.ArgumentNullException: Value cannot be nul

Re: [Firebird-net-provider] fbBackup on remote Clients

2014-06-03 Thread Jiri Cincura
On Tue, Jun 3, 2014 at 10:46 AM, Ivan Arabadzhiev wrote: > Here's the restore function (in case it helps) > >using(io.FileStream BackupInputStream = new > FileStream(BackUpPath,FileMode.Open)) { > fbServer.FbStreamingRestore restore = new > fbServer.FbStreamingRestore()

Re: [Firebird-net-provider] fbBackup on remote Clients

2014-06-03 Thread Ivan Arabadzhiev
https://drive.google.com/file/d/0BxNlh1_CctC4NDhIRnh2VHBDbnM/edit?usp=sharing - it`s an empty database so "leaking" is not really an issue :) Here's the restore function (in case it helps) using(io.FileStream BackupInputStream = new FileStream(BackUpPath,FileMode.Open)) {

Re: [Firebird-net-provider] fbBackup on remote Clients

2014-06-03 Thread Nieurig
Hi folks, thank you, one more to develop the provider to FB. I use this in some projects without any trouble. But now: I got a virus-alarm by downloding the file a the given URL. GData means: NSIS.Application.InstallMonetizer.E (Engine B) What happend here? Best wishes Niels Am 02.06.2014 15:3

Re: [Firebird-net-provider] fbBackup on remote Clients

2014-06-02 Thread Jiri Cincura
On Mon, Jun 2, 2014 at 10:21 PM, Ivan Arabadzhiev wrote: > Should anything be done to the stream apart from construction? Any special > modes or anything? Nope. It should just work. The restore is tricky 8-). It kept me 3x more time to do it than backup. I'm wondering whether it's possible to pu

Re: [Firebird-net-provider] fbBackup on remote Clients

2014-06-02 Thread Ivan Arabadzhiev
Backup part works great :) Managed to backup a 18GB database (took about 2:30 hours by the VPN, so I consider it as stable as it gets). Restore, however keeps throwing FirebirdSql.Data.FirebirdClient.FbException (0x80004005): expected backup description record ---> expected backup description recor

Re: [Firebird-net-provider] fbBackup on remote Clients

2014-06-02 Thread Jiri Cincura
Hi, here's http://speedy.sh/wf5S6/provider.7z (very) rough cut on the streaming backup/restore implementation. Look at FbStreamingBackup and FbStreamingRestore classes. It's same as FbBackup/FbRestore with only different being you need to provide backup/restore via OutputStream/InputStream propert

Re: [Firebird-net-provider] fbBackup on remote Clients

2014-05-26 Thread Parzival
the Firebird .NET providers Betreff: Re: [Firebird-net-provider] fbBackup on remote Clients Hi, On Thu, May 1, 2014 at 7:38 PM, Parzival wrote: > This leads to the question, if this function is on the roadmap for the > .net provider. Jiri, can please comment on that? I started work o

Re: [Firebird-net-provider] fbBackup on remote Clients

2014-05-26 Thread Jiri Cincura
Hi, On Thu, May 1, 2014 at 7:38 PM, Parzival wrote: > This leads to the question, if this function is on the roadmap for the .net > provider. Jiri, can please comment on that? I started work on this today. Would you be willing to do some testing before release? -- Jiri {x2} Cincura (x2develop.

Re: [Firebird-net-provider] fbBackup on remote Clients

2014-05-01 Thread Jiri Cincura
On Thu, May 1, 2014 at 8:23 PM, Mark Rotteveel wrote: > You could always use the services API to create a backup on the server, > but since CORE-2666 it is also possible to stream the backup to the > client (or from the client to the server for restore). Good. As I thought. I was confused by the

Re: [Firebird-net-provider] fbBackup on remote Clients

2014-05-01 Thread Mark Rotteveel
On 1-5-2014 19:40, Jiri Cincura wrote: > On Thu, May 1, 2014 at 12:21 PM, Mark Rotteveel wrote: >> That is no longer true, remote backup has been included in the service API >> in Firebird 2.5.2: http://tracker.firebirdsql.org/browse/CORE-2666 > > I'm lost. Wasn't this always the case? Via service

Re: [Firebird-net-provider] fbBackup on remote Clients

2014-05-01 Thread Jiri Cincura
On Thu, May 1, 2014 at 12:21 PM, Mark Rotteveel wrote: > That is no longer true, remote backup has been included in the service API > in Firebird 2.5.2: http://tracker.firebirdsql.org/browse/CORE-2666 I'm lost. Wasn't this always the case? Via services API you created backup on server. But it was

Re: [Firebird-net-provider] fbBackup on remote Clients

2014-05-01 Thread Parzival
[mailto:m...@lawinegevaar.nl] Gesendet: Donnerstag, 01. Mai 2014 12:21 An: For users and developers of the Firebird .NET providers Betreff: Re: [Firebird-net-provider] fbBackup on remote Clients On Thu, 1 May 2014 11:49:02 +0200, Jiri Cincura wrote: > On Thu, May 1, 2014 at 8:49 AM, Parzival wr

Re: [Firebird-net-provider] fbBackup on remote Clients

2014-05-01 Thread Mark Rotteveel
On Thu, 1 May 2014 11:49:02 +0200, Jiri Cincura wrote: > On Thu, May 1, 2014 at 8:49 AM, Parzival wrote: >> Is there a way to get fbBackup working on remote Clients? > > http://tracker.firebirdsql.org/browse/DNET-287?focusedCommentId=20797&page=com.atlassian.jira.plugin.system.issuetabpanels%3Ac

Re: [Firebird-net-provider] fbBackup on remote Clients

2014-05-01 Thread Scott Price
Hi Parzival, I would suggest you consider something like a secured webservice, which can be invoked by the remote client to perform the backup on the server side. However, depending on the size of your resultant backup, you may not want to transfer it back to the client. I hope that helps yo

Re: [Firebird-net-provider] fbBackup on remote Clients

2014-05-01 Thread Jiri Cincura
On Thu, May 1, 2014 at 8:49 AM, Parzival wrote: > Is there a way to get fbBackup working on remote Clients? http://tracker.firebirdsql.org/browse/DNET-287?focusedCommentId=20797&page=com.atlassian.jira.plugin.system.issuetabpanels%3Acomment-tabpanel#action_20797 -- Jiri {x2} Cincura (x2develop.

[Firebird-net-provider] fbBackup on remote Clients

2014-04-30 Thread Parzival
Hello, I have seen that there is an issue on running fbBackup on remote Client PCs, but it works fine on the firebird server itself. In the ticket there is a reference to the servicemanager using fbBackup. (http://tracker.firebirdsql.org/browse/DNET-287). Is there a way to get fbBackup work