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