Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.clipper.visual-objects > #10242 > unrolled thread

Backup and Restore in App

Started by"Jose F Zouain" <jfzouain@zetaconcepts.com>
First post2017-03-06 01:08 +0000
Last post2017-03-06 18:23 +0100
Articles 7 — 5 participants

Back to article view | Back to comp.lang.clipper.visual-objects


Contents

  Backup and  Restore in App "Jose F Zouain" <jfzouain@zetaconcepts.com> - 2017-03-06 01:08 +0000
    Re: Backup and Restore in App JohnMartens <martens@tennishulp.info> - 2017-03-06 07:55 +0100
      Re: Backup and Restore in App D.J.W. van Kooten <vankooten@removethis.ic2.com> - 2017-03-08 13:50 +0100
    Re: Backup and  Restore in App Sherlock <sherlock@sherlock.com.au> - 2017-03-06 00:35 -0800
    Re: Backup and  Restore in App Guy Deprez <dpzguy@skynet.be> - 2017-03-06 16:06 +0100
      Re: Backup and Restore in App JohnMartens <martens@tennishulp.info> - 2017-03-06 17:14 +0100
        Re: Backup and Restore in App Guy Deprez <dpzguy@skynet.be> - 2017-03-06 18:23 +0100

#10242 — Backup and Restore in App

From"Jose F Zouain" <jfzouain@zetaconcepts.com>
Date2017-03-06 01:08 +0000
SubjectBackup and Restore in App
Message-ID<ei3r4vFtolsU1@mid.individual.net>
Hi Guys

Want to include a Backup and Restore inside my Application, instead of
opening a windowd and doing the pkzip and pkunzip of the data.

Downloaded some code from 2004, long time ago: vo25backup_restore.

Does anyone has some code already that can share updated to VO2.8

Thanks

Jose
-- 

[toc] | [next] | [standalone]


#10243 — Re: Backup and Restore in App

FromJohnMartens <martens@tennishulp.info>
Date2017-03-06 07:55 +0100
SubjectRe: Backup and Restore in App
Message-ID<o9j10c$3ra$1@dont-email.me>
In reply to#10242
I'm using FabZip. Great tool to zip the data from within VO

I suppose this still works in 2.8 (I got stuck to 2.7)

Op 6-3-2017 om 02:08 schreef Jose F Zouain:
>
> Hi Guys
>
> Want to include a Backup and Restore inside my Application, instead of
> opening a windowd and doing the pkzip and pkunzip of the data.
>
> Downloaded some code from 2004, long time ago: vo25backup_restore.
>
> Does anyone has some code already that can share updated to VO2.8
>
> Thanks
>
> Jose
>

[toc] | [prev] | [next] | [standalone]


#10258 — Re: Backup and Restore in App

FromD.J.W. van Kooten <vankooten@removethis.ic2.com>
Date2017-03-08 13:50 +0100
SubjectRe: Backup and Restore in App
Message-ID<9dvvbchnitvhf1atad4fljk7aq8peug9co@4ax.com>
In reply to#10243
Replying on message of Mon, 6 Mar 2017 07:55:47 +0100 from
JohnMartens:


 Hello John,

>I'm using FabZip. Great tool to zip the data from within VO

Fabzip works fine - but only for files < 2 Gb.

I had larger files to backup and wrote a complete backup program in
C#. It can handle these large files too. I included the code in a DLL
and can call it from VO. Additional advantage is that it works
parallel, so the user calls it, it starts, and the user can continue
working.

Dick

[toc] | [prev] | [next] | [standalone]


#10244

FromSherlock <sherlock@sherlock.com.au>
Date2017-03-06 00:35 -0800
Message-ID<7841ec6f-da40-4a7e-a063-0fc19b575e72@googlegroups.com>
In reply to#10242
Downloaded some code from 2004, long time ago: vo25backup_restore.
Does anyone has some code already that can share updated to VO2.8
Jose
> --

I am sure this is code FAB wrote around my Clipper version with WinZip.
We did it for VO. Very little changed between VO versions.. works a treat use it every day in my apps. Have a look if this any different.

www.sherlock.com.au/vo2code/VO2BACKREST.zip         Circa 2000
www.sherlock.com.au/vo2code/VO25Backup_Restore.zip  Circa 1999

Phil

[toc] | [prev] | [next] | [standalone]


#10245

FromGuy Deprez <dpzguy@skynet.be>
Date2017-03-06 16:06 +0100
Message-ID<a9uqbchomilaepcp44750rl04ado6rmna2@4ax.com>
In reply to#10242
I'm using (VO 27a):
ShellExecute(NULL_PTR,String2Psz("open"),String2Psz("winrar.exe"),;
		String2Psz("a -r  E:\BcaPrograms\BcaTrading\DbfFromData.rar
E:\BcaPrograms\BcaTrading\data\*.dbf
E:\BcaPrograms\BcaTrading\DbfFromData.rar
E:\BcaPrograms\BcaTrading\data\*.cdx
E:\BcaPrograms\BcaTrading\DbfFromData.rar
E:\BcaPrograms\BcaTrading\data\*.ini"),NULL_PSZ,SW_Show)

This operation makes a backup of  dbf's,cdx and ini files
It works very well.
Make sure there is no spaces in the diretctory names...

You have more parameters here:
http://cects.com/using-the-winrar-command-line-tools-in-windows/


Guy Deprez

On 6 Mar 2017 01:08:47 GMT, "Jose F Zouain"
<jfzouain@zetaconcepts.com> wrote:

>
>Hi Guys
>
>Want to include a Backup and Restore inside my Application, instead of
>opening a windowd and doing the pkzip and pkunzip of the data.
>
>Downloaded some code from 2004, long time ago: vo25backup_restore.
>
>Does anyone has some code already that can share updated to VO2.8
>
>Thanks
>
>Jose

[toc] | [prev] | [next] | [standalone]


#10246 — Re: Backup and Restore in App

FromJohnMartens <martens@tennishulp.info>
Date2017-03-06 17:14 +0100
SubjectRe: Backup and Restore in App
Message-ID<o9k1na$i0t$1@dont-email.me>
In reply to#10245
Isn't it so that using double quotes " around directories with spaces in 
them will make it run as well ?


Op 6-3-2017 om 16:06 schreef Guy Deprez:
>
> I'm using (VO 27a):
> ShellExecute(NULL_PTR,String2Psz("open"),String2Psz("winrar.exe"),;
> 		String2Psz("a -r  E:\BcaPrograms\BcaTrading\DbfFromData.rar
> E:\BcaPrograms\BcaTrading\data\*.dbf
> E:\BcaPrograms\BcaTrading\DbfFromData.rar
> E:\BcaPrograms\BcaTrading\data\*.cdx
> E:\BcaPrograms\BcaTrading\DbfFromData.rar
> E:\BcaPrograms\BcaTrading\data\*.ini"),NULL_PSZ,SW_Show)
>
> This operation makes a backup of  dbf's,cdx and ini files
> It works very well.
> Make sure there is no spaces in the diretctory names...
>
> You have more parameters here:
> http://cects.com/using-the-winrar-command-line-tools-in-windows/
>
>
> Guy Deprez
>
> On 6 Mar 2017 01:08:47 GMT, "Jose F Zouain"
> <jfzouain@zetaconcepts.com> wrote:
>
>>
>> Hi Guys
>>
>> Want to include a Backup and Restore inside my Application, instead of
>> opening a windowd and doing the pkzip and pkunzip of the data.
>>
>> Downloaded some code from 2004, long time ago: vo25backup_restore.
>>
>> Does anyone has some code already that can share updated to VO2.8
>>
>> Thanks
>>
>> Jose
>

[toc] | [prev] | [next] | [standalone]


#10247 — Re: Backup and Restore in App

FromGuy Deprez <dpzguy@skynet.be>
Date2017-03-06 18:23 +0100
SubjectRe: Backup and Restore in App
Message-ID<ej6rbc5h8u6cdc0bt2q239o6l9on550do2@4ax.com>
In reply to#10246
John,
I didn't try it...
Guy
On Mon, 6 Mar 2017 17:14:11 +0100, JohnMartens
<martens@tennishulp.info> wrote:

>Isn't it so that using double quotes " around directories with spaces in 
>them will make it run as well ?
>
>
>Op 6-3-2017 om 16:06 schreef Guy Deprez:
>>
>> I'm using (VO 27a):
>> ShellExecute(NULL_PTR,String2Psz("open"),String2Psz("winrar.exe"),;
>> 		String2Psz("a -r  E:\BcaPrograms\BcaTrading\DbfFromData.rar
>> E:\BcaPrograms\BcaTrading\data\*.dbf
>> E:\BcaPrograms\BcaTrading\DbfFromData.rar
>> E:\BcaPrograms\BcaTrading\data\*.cdx
>> E:\BcaPrograms\BcaTrading\DbfFromData.rar
>> E:\BcaPrograms\BcaTrading\data\*.ini"),NULL_PSZ,SW_Show)
>>
>> This operation makes a backup of  dbf's,cdx and ini files
>> It works very well.
>> Make sure there is no spaces in the diretctory names...
>>
>> You have more parameters here:
>> http://cects.com/using-the-winrar-command-line-tools-in-windows/
>>
>>
>> Guy Deprez
>>
>> On 6 Mar 2017 01:08:47 GMT, "Jose F Zouain"
>> <jfzouain@zetaconcepts.com> wrote:
>>
>>>
>>> Hi Guys
>>>
>>> Want to include a Backup and Restore inside my Application, instead of
>>> opening a windowd and doing the pkzip and pkunzip of the data.
>>>
>>> Downloaded some code from 2004, long time ago: vo25backup_restore.
>>>
>>> Does anyone has some code already that can share updated to VO2.8
>>>
>>> Thanks
>>>
>>> Jose
>>

[toc] | [prev] | [standalone]


Back to top | Article view | comp.lang.clipper.visual-objects


csiph-web