Quantcast
Channel: WinDev Forum
Viewing all articles
Browse latest Browse all 1914

start/stop hfsql server (2 replies)

$
0
0
Hi,

to get a consistent backup I want to stop the hfsql service at the start of the backup. And start it again afterwards.

I can do that using a NET STOP hfsql-service-name. Does anyone know if that shuts down the service in a clean way. I mean if the hfsql service has some data in cache will that be written at that time?
I also can write a smapp utility using the HStopServer() and HStartServer() functions if that would be better.

In the past I did a backup without shutting down the hfsql-service. Just copying the (in-use) files on the file system level. This resulted at least one time in a large MMO file being incomplete. So I'm looking for a 100% reliable backup.

I also know the hfsql can do a backup. But this is very slooow, looks like it does this record-by-record, instead of going in some state of backup-mode like sqlserver and Oracle to be avble to do a file-copy

Viewing all articles
Browse latest Browse all 1914

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>