关于VSS 执行分析时的命令解决方案
发布时间:2011-06-18 09:42:06 文章来源:www.iduyao.cn 采编人员:星星草
关于VSS 执行分析时的命令
VSS 执行analyze的时候,有提示执行命令:
-X
-F -V3 -D
这些都是什么意思啊?
哪位高人指点下,谢了先!
------解决方案--------------------
MSDN描述如下:
==========================
Analyze
Analyze.exe scans a VSS database for integrity and/or errors, displays them and, if set to do so, fixes them. VSS administrators should run Analyze.exe every week to verify that there are no problems in the VSS database.
Administrators can use the 32-bit command-line utility to repair version 4.0 VSS databases (and later). For example, a database problem exists when you select a file that you know exists in the VSS database, use a command, such as GET, and receive the error message, “File does not exist.”
Administrators can run Analyze.exe manually from the command line, or as part of a script for unattended operation, to analyze or fix the problem. Analyze.exe is in the WIN32 folder under the folder in which you installed VSS.
We recommend that you run Analyze.exe twice first with the -F option (to fix any errors found), and the second time to check if any errors remain. If you still have errors after the first run, you can check the Microsoft Knowledge Base at http://www.microsoft.com/kb) article Q152807 for more information.
Syntax
ANALYZE [-B<folder>] [-C] [-D] [-F] [-I-] [-V] [-X] [-?] [-H] <Full Database Path | @Response File | List of Files>
Option Description
-B<folder> Specify a backup folder.
-C Clean up and compress the database. This option can be slow.
-D Delete any unused files.
-F Attempt to repair any inconsistencies and corruption that are detected.
-I- Continue without stopping for user input (allowing unattended operation). By default, Analyze.exe leaves the results window on display.
-Vn Specify the verbosity of output. -V1 displays only critical errors, -V2 displays critical and significant errors, -V3 displays all errors, and -V4 shows all errors and warnings. The -V4 option shows its output in the lower pane of the Analyze Results window and contains detailed information on what the utility attempted and accomplished. The default is -V1. -V (without a number) is equivalent to
-V4.
-X Directs Analyze.exe to not lock files as it processes. Allows Analyze.exe to run against a live database. This option cannot be used with the -c, -d, or -f options and use of this option is not recommended unless absolutely necessary.
Full Database Path Path of the VSS data folder to analyze. This parameter must be the first non-switch parameter. A data path, list of files, or response file must be present on the command line.
@Response File File produced by running Analyze.exe, containing listing of problem files, named Analyze.bad by default. Using this file as input directs Analyze.exe to work on fewer files, thereby improving performance.
List of Files List of files to analyze. List can include only log files, or complete data paths, such as C:\VSS\Data\A\AAAAAAAA.
-?, -H Displays usage message containing descriptions of valid options.
Order of options is not important, but the full database path, response file, or list of files must be included on the command line as the first non-option item.
Examples
ANALYZE -C -D -F -V4 C:\VSS\Data
Analyzes and repairs the complete database and generates verbose output.
ANALYZE -BC:\Temp C:\VSS\Data
Analyzes the database, but does not fix it. Creates a list of corrupted files in C:\Temp.
ANALYZE -F -C -D @C:\Temp\Analyze.bad
Fixes any problems in the files listed in the Analyze.bad file generated by the preceding example.
Remarks
The types of problems that Analyze.exe can correct include:
Parent/child mismatch. Possible situations include those in which a project thinks it has a file or subproject but the child disagrees, a child thinks it has a parent but the parent disagrees, or child and parent don't reference each other but the child counts are off.
友情提示:
信息收集于互联网,如果您发现错误或造成侵权,请及时通知本站更正或删除,具体联系方式见页面底部联系我们,谢谢。
其他相似内容:
-
大家说说,中小企业,软件开发哪些规范较实用?
包括软件开发的各种各样的规范
要对中小企业有实用价值的操作性强的
------解决方案--...
-
信息系统项目管理师应试建议
摘要:“信息系统项目管理师”作为新增加的计算机技术与软件专业技术资格考试的高级级别考试,相关参考...
-
做一个物流管理系统的调研一般要问哪些问题?
做一个物流管理系统的调研一般要问哪些问题?
谁有这方面的调研方案?
------解决方案-...
-
需求 怎么管理?
好不容易弄清了需求,但在开发过程中客户老是要更改,使得开发都没法做了,怎么办啊?
------解决方案------------------...
-
请教下开发完毕后后期维护方面的人员安排问题
我们公司一套软件内包含了十三个模块, 每个模块都是独立的软件, 这些模块之间互相牵...
-
谁知道做大型商用超市的都用哪些软件?
最近公司要开连锁超市,正在找进销存软件,哪位知道在这个领域哪些软件比较好用?
------解决方...
-
project web access 失败 - 请参阅事件日志---在线等待
1.请问失败日志在哪里查看
------解决方案--------------------
PS所...
-
关于系统中用到GPL插件的问题
网站中用了dhtmlxwindow和dhtmlxtree这两个插件,它们是GPLv3协议发布的。
现在我这个网站是要交付...
-
团队合作之难题---沟通
近几年从事软件开发以来,感觉,一个项目进展得顺不顺利,和团队成员的沟通有莫大的关系。
对于互相对立的观点...
-
基线管理
现在我们部门要建立一个内部使用的开发库
请问一下这个基线管理是什么?
包括什么东西?
该怎么建立?
越详细越好
或者各位大...