From: Parzival <par...@gm...> - 2015-08-29 14:49:57
|
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 |
From: Геннадий З. <zab...@gm...> - 2015-08-29 15:04:12
|
I'm not sure, but can you check disk space on the remote server where database is placed? On Saturday, 29 August 2015, Parzival <par...@gm...> wrote: > 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 > |
From: Parzival <par...@gm...> - 2015-08-29 15:36:32
|
Hello, the database is at the moment on the same pc. When I have mastered the art of local backup I will move to the remote servers as well. Niko Von: Геннадий Забула [mailto:zab...@gm...] Gesendet: Samstag, 29. August 2015 17:04 An: For users and developers of the Firebird .NET providers <fir...@li...> Betreff: Re: [Firebird-net-provider] fbstreambackup: "free disk space exhausted" I'm not sure, but can you check disk space on the remote server where database is placed? On Saturday, 29 August 2015, Parzival <par...@gm... <mailto:par...@gm...> > wrote: 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 <http://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 |
From: Jiří Č. <ji...@ci...> - 2015-08-29 16:17:07
|
This error you'll get when the server version you're using does not support this feature. It was introduced in 2.5.3 I think and 2.5.2 would not cut it. -- Mgr. Jiří Činčura Independent IT Specialist |
From: Parzival <par...@gm...> - 2015-08-29 17:57:06
|
Hello Jiri, thanks - that explains the message. I will update the FB Servers on the customers site to 2.5.4 over the next weeks/months. Then the feature is ready to go. Niko -----Ursprüngliche Nachricht----- Von: Jiří Činčura [mailto:ji...@ci...] Gesendet: Samstag, 29. August 2015 18:17 An: For users and developers of the Firebird .NET providers <fir...@li...> Betreff: Re: [Firebird-net-provider] fbstreambackup: "free disk space exhausted" This error you'll get when the server version you're using does not support this feature. It was introduced in 2.5.3 I think and 2.5.2 would not cut it. -- Mgr. Jiří Činčura Independent IT Specialist ------------------------------------------------------------------------------ _______________________________________________ Firebird-net-provider mailing list Fir...@li... https://lists.sourceforge.net/lists/listinfo/firebird-net-provider |