From: Jiri C. <di...@ci...> - 2014-06-03 10:59:23
|
On Tue, Jun 3, 2014 at 10:46 AM, Ivan Arabadzhiev <int...@un...> 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 |