Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Backup files
Message
 
À
29/02/2000 10:16:09
Michael Dougherty
Progressive Business Publications
Malvern, Pennsylvanie, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Titre:
Divers
Thread ID:
00339024
Message ID:
00339118
Vues:
18
>>I'm having trouble deciding whether I should do [some backups] on entrance or exit to the app. No single session has a lot of edits, but it is used daily. Opinions?
>
>Would you rather wait for a backup when you start, or walk away when you're done as assume the backup is happening? Even if it only takes 3 seconds to backup 2 files or the entire hard drive, the user will complain about the wait when they start. (I complain about the lag from launch to first line of code execute= <=1.5 sec?)

I guess that make sense - these are very small, but that's still a point in favor of exit copying. I use MS Money, which does exit backups, too.

>
>Since no session has a lot of edits, you might want to create a duplicate system. ex: a "working" table, and a "storage" table. Each occurance of an INSERT or Replace on the working table has the same operation applied on the storage table. Your routine could validate that both tables are synchronized, and if not- determine which has the correct copy. This would guarantee a high level of data integrity at the expense of simplicity. (and would be a mess in code if you have many tables or several modules for manipulating each table)

Don't need to do anything fancy. The main reason I'm adding this is that a (ahem, naive) user ran the Setup twice accidentally, and overwrote her data with new empty tables. Just in case someone does this again...most stuff we keep on servers with backups, but not these small local tables...
The Anonymous Bureaucrat,
and frankly, quite content not to be
a member of either major US political party.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform