You have 200,000 ledger entries and 5,000 account records. You need to freeze everything.
// Wait max 10 seconds for exclusive lock, then fail gracefully IF HDump("STOCK", "C:\Backups\stock.wdb", hExclusive + hWait + 10000) = False THEN // Log the failure and notify admin EmailAdmin("Exclusive dump failed: " + HErrorInfo()) END In a networked environment, give users a heads-up. windev 25 dump exclusive
WinDev 25 uses HFSQL as its native database engine. When you perform a standard dump (non-exclusive), the HFSQL engine reads the data files ( .FIC , .MMO , .NDX , etc.) and creates a backup archive (typically .WDB or .FIC backup files). During a standard dump, the database remains online. Reads are allowed, and in many cases, writes are temporarily queued or handled via transaction logs. You have 200,000 ledger entries and 5,000 account records