Hallo,

 

I try to move from calling gbak as an external tool for backup and use
fbstreambackup instead.

 

Unfortunatly I get an error message "free disk space exhausted", which is
confusing. The disk has enough space to store the backup file. For that
reason I am guessing that there is something wrong with the way I call the
backup.

 

This is the code (in vulcan.net):

 

// declare variables

LOCAL fsb AS FbStreamingBackup 

LOCAL fs AS System.IO.FileStream

 

// create new backup

fsb := FbStreamingBackup{ sb:ToString() }

fs := System.IO.FileStream{"D:\temp\test.gbk", FileMode.Create }

fsb:OutputStream := fs

 

fsb:Execute() // It fails here

 

Can please somebody point out what I am missing here? Maybe the filestream
is not correct assign to FbStreamingBackup.

 

Thanks

 

Niko

------------------------------------------------------------------------------
_______________________________________________
Firebird-net-provider mailing list
Firebird-net-provider@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/firebird-net-provider

Reply via email to