On Tue, Jun 3, 2014 at 10:46 AM, Ivan Arabadzhiev
<intelru...@unrealsoft.net> 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();
>                     restore.ConnectionString = getConnectionString(Host,
> User, Pass, Path, Port, 32767);
>                     SetRestoreOptions(Ovr, DeactivateIndexes, NoShadows,
> NoValidity, OneAtTime, UseAllSpace, PageSize, restore);
>                     restore.InputStream = BackupInputStream;
>                     restore.Execute();
>                     return true;
>                 }
>
> Using a PageSize of 4096 or 16384 (both don't work). Options are Replace and
> NoShadows (defaults, stuck since the end of time). I'm willing to help debug

It went fine for me: http://pastecode.org/index.php/view/f1bade8d
I used the same function as you did
http://pastecode.org/index.php/view/9d31bb53 , I only added writing
output. When it fails (you should be able to see it from output).

> if I can get my hands on sources :)

Sources are here
https://github.com/cincuranet/NETProvider/tree/streaming-backup .

-- 
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 graph databases and their 
applications. Written by three acclaimed leaders in the field, 
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/NeoTech
_______________________________________________
Firebird-net-provider mailing list
Firebird-net-provider@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/firebird-net-provider

Reply via email to