Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Backing Up Data directory from within Framework.
Message
 
À
23/11/2004 12:24:42
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:
00964114
Vues:
12
>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).
-Paul

RCS Solutions, Inc.
Blog
Twitter
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform