VSSTwo backup methods
Http://51cmm.csai.cn/casepanel/CM/No055.htm
I have previously written "Two Methods of VSS backup" and received some feedback from netizens (and some terrible virus emails :(. The problem mainly lies in the recovery after backup. I only explained how to back up the data, but I didn't elaborate on restoration. Sorry!
Today, I will briefly talk about the recovery methods. If you have time, I will sort out a document with the help of images.
After the database administrator completes the backup work, check whether the backup is OK. This check is usually done by restoring the database on another test machine.
1. Back up the entire VSS database directory
A) directly put the entire backup folder under the specified directory (of course, if it is. Zip,. rar needs to be decompressed)
B) Open visual sourcesafe administrator"
C) open "Users-> open sourcesafe database"
D) browse to the directory where the backup folder is stored and open the "srcsafe. ini" file.
E) Check for any problems.
Some friends asked me what if I had the same name as the original folder? The answer is simple. Rename the original file! For example, you can start a name such as "vss040218" and rename it.
2. Recovery from compressed data to "SSA"
A) copy the "SSA" file to the specified directory.
B) Open visual sourcesafe administrator"
C) open "archive-> restore project ..."
D) browse to the directory where the backup file is stored and open the generated SSA File
E) Check for any problems.
A few netizens wrote to me: "backup problem: I used the archive and restore features provided by VSS to back up and restore data. However, before restoration, you must permanently destroy the project, the database can be restored after restore is performed. Otherwise, it is the same as the previous one. However, in actual work, it is always unsafe to delete the project..."
The answer is simple. Rename the original project! For example, add "040218" and other identifiers after the original project name, and then "Restore project ". After checking whether the recovery is correct, you can determine whether to delete or rename it.
Of course, I would like to remind you that the database recovery test is conducted on an independent testing machine...
Based on my experience, we recommend that you use the first backup method if the database is large, such as over 8 GB. This method is fast and secure.
About VSS backup and restoration-urgent !!
Concerning the issue of VSS backup and restoration, because the VSS database in the unit is relatively large, I used the data backup and storage of sub-projects, that is, the VSS restore function. After restoring data of one of the projects, no permission can be assigned. Why?
For example, our VSS database is on server a. I want to restore a local database in the above way. However, after local restoration, I cannot assign permissions to new users, the assigned permissions are displayed in gray and cannot be used at all. Why?
Reprinted please indicate from www.scmlife.com, Please retain the copyright. This post address: http://bbs.scmlife.com/viewthread.php? Tid = 10597
You need to set it in options of VSS administrator ., Select enable rights and assignments commands.