that`s the way i do it. sDSTFILE holds full path to the backupfile (in case
the server is not localhost - the directory should exist on the server).
Private Sub back_up(ByRef sDSTFILE As String)
Try
Dim fbbu0 As New FirebirdSql.Data.Services.FbBackup()
With fbbu0
.ConnectionString = fbcnn.ConnectionString ' fbcnn is the database
connection
.BackupFiles.Add(New Data.Services.FbBackupFile(sDSTFILE, Int32.MaxValue))
.Execute()
End With
Catch ex As Exception
msgbox(ex.tostring)
End Try
End Sub
Haven`t tested it with BLOB field`s though. I reccomend using FIBS as it is
a good tool with loads of features - http://www.talatdogan.com/fibs.htm
.

________________________________________________
Message sent by <a
href='http://mail.data.bg'>Data.BG WebMail</a>


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Firebird-net-provider mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/firebird-net-provider

Reply via email to