Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Backing Up Data directory from within Framework.
Message
De
23/11/2004 23:22:10
Scott Malinowski
Arizona Fox Software LLC
Arizona, États-Unis
 
Information générale
Forum:
Visual FoxPro
Catégorie:
The Mere Mortals Framework
Divers
Thread ID:
00734473
Message ID:
00964120
Vues:
10
This method is something you could use without booting all the users out of the system? Or, without having to lock the DBC? If so, that would be extremely useful!


>>Is there some magic you are using here? If I specify the Backup copy of the DBC container in the COPY TO DATABASE clause, it tells me that the name is already used by the DBC, please
>
>I was just thinking, another way of doing this if you're not using Stonefield would be to keep a copy of the DBC and empty copies off all the tables and indexes in a directory. When you need to do the backup, make a copy of these files into a backup directory. Then open your main DBC, grab the list of tables and cycle through them. As you walk through the tables, open the source table, then the destination table. Do an APPEND FROM into the destination table (you'll probably have to use the full paths here or ALIAS to make sure you're working with the correct tables).
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform