Compress / uncompress HFCS backups

Compress / Uncompress Backups made by HBackup(..)
 
Overview: In WinDev, the commands HBackup(..) and HRestoreBackup(..) give us the ability of backing up and restoring databases of HyperFileSQL Client/Server! The best of all is that one can do a backup while the database is in use. It takes a little longer but there’s no interruption of work. Using a HyperFileSQL C/S database for 24/7 is not a dream, it’s reality!
 
But. All backups done by the HFCC (HyperFile Control Center) and those using the command HBackup(..) are simple copies of the database - no compression at all for the data! Backing up a 2,5 Gb database once a day will end up in 900 Gb of backups after just a single year! Being able to compress each backup to 120 Mb would result in a backup set of below 50 Gb after a year!
 
HBackup(..) offers to run a stored procedure after completion of the backup. We’ll try to use that for compression after doing the backup. But: HRestoreBackup(..) does not offer to run a procedure before doing the restore and so we’ll have to run another stored procedure to uncompress the backup before restoring it to the database. Bad news: while HBackup(..) hands over the location of the backup to the stored procedure, HRestoreBackup(..) has no mechanism of locating a certain backup. We have to find the location of a certain backup on our own!
 
 
 
To be continued .........
 
 
 
Constr
 
[Home] [English] [WX Links] [Deutsch] [Impressum] [Downloads] [RADTranslate] [Upper] [NullValues] [TableOnStructure] [HFClassicHFSQL] [RAD11] [USBFind] [Color Contrast] [Dec. Separator] [Setup Problems] [Directories] [Help Authoring] [Access CHM] [Make GUID] [HOpen Files] [Reset Table] [Int. Gen. Number] [TAB-Control] [RAD11] [fDataDir.. commands] [Calendar Weeks] [Input & check EAN 8/13] [Test_for_Dups] [Feiertage] [MemStick as Dongle] [Get Date & Time] [German phone book] [MDI Behaviour] [WD 5.5: CHM-Help] [WD16: CHM-Help] [Calendar + Memo 1] [Install WD5.5 on Win7] [WD5.5 app on WD7*64] [HListFile] [ZIP-functions] [7-zip CLI] [HFCS + 7-zip] [HFSQL C/S on Linux]