Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Move VSS Database
Message
De
12/01/2003 19:38:02
 
 
À
12/01/2003 15:57:49
Information générale
Forum:
Visual FoxPro
Catégorie:
Source Safe Control
Divers
Thread ID:
00740833
Message ID:
00740863
Vues:
11
Hi Randy,

I don't know about changing the registry to do it, but here's a way that works:

1) just copy the entire VSS directory to where you want it;
2) Open a VSS database you don't want to want to use (if you don't have one, just copy what you already copied to somewhere else, e.g. on your development machine, a Browse for it, but give it a name other than what you already are using);
3) Press open again, and select the existing one, and now the Remove button will be enabled, and Remove it;
4) then Browse to get to the new one you want to Open, and give it the same name as the one you had.

Basically, you want to open the same files, in a different place, with the same name as before, because VFP stores the SOS database name in the PJX header record, and while it may be hackable, it's not easily hackable, if at all.

Don't forget to set your default working folder(s) for the new database.

Hank

>I want to move, not a project, but an entire VSS database. Reason: Initially we placed the database on our server's RAID 5 array, but now we would rather have the database on a separate set of mirrored drives and put a shadow of the files onto the RAID array.
>
>Anyway, I see nothing in the docs about how to move a database. I found the directory locations for each VSS database in a registry key under HKLM\Software\Microsoft\SourceSafe\Databases\. Can I just stop some service (nothing in my services list was obvious) and edit this registry entry and move the files?
>
>TIA,
>
>-- Randy
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform