|
最近看到snapshot比较热门,了解了一下,以后备用。大虾们看看翻译是否恰当。
[backup a volume]
[备份卷]
Snapshot C: X:\C-DRIVE.sna
-A - save ALL sectors, ignore free cluster info (maintenance)
-A - 保存所有扇区,忽略剩余簇信息(维护)
-L650 - Limit resulting imagesize to 650MB (CDROM size)
-L650 - 限制映像大小为650MB (CDROM 大小)
-T - Test generated image file (verify correct checksums)
-T - 测试生成的映像文件(验证正确的校验)
-W - suppress <Hit any key> if started from scheduler
-W - 按下 <按任意键> 如果以计划任务启动
-R - Empty Recycle Bin for this drive before Backup
-R - 备份前清空驱动器的回收站
-G - Graphical status display for command line mode
-G - 命令行模式下图形显示
-PW=MyPassword (also used for restore and viewing)
-PW=密码 (也用于恢复和查看)
-C="My comment" add a comment to the image
-C="注释" 添加注释到映像
-o[path][filename] generate hash file with name "path\filename"
-o[path][filename] 产生名称为 "path\filename" 的哈希文件
-o - don't generate hash file
-o - 不产生哈希文件
-h<HashFile> make a differential image
-h<HashFile> 创建差分映像
[backup multiple volumes and drives without drive letters]
[备份多卷和无盘符驱动器]
Snapshot C:+D:+HD1:3 X:\$disk-DRIVE.sna
HD1:3 is the third partition on the first disk
HD1:3 是第一磁盘第三分区
HD1:* can be used to backup all partitions on the first disk
HD1:* 可用于备份第一磁盘全部分区
Options for command line substitutions
命令行下可替换选项
Possible values for substitution are:
替换的可用值:
$disk is substituted with the drive letter
$disk 用驱动器盘符替换
$date results in 050131 which represents January 31 2005
$date 用 050131 替换 January 31 2005
$computername is substituted with the computername
$computername 用电脑名称替换
$type results in "dif" or "ful" for differential or full image
$type 差分或完整映像分别为 "dif" 或 "ful"
$weekday is substituted with the first two characters of the Weekday
$weekday 用星期的前两个英文字符替换
$year is substituted with the year (4 digits)
$year 用年份替换 (4 位)
$month is substituted with the month (2 digits)
$month 用月份替换 (2 位)
$day is substituted with the day of the month (2 digits)
$day 用月份的日期替换 (2 位)
$hour is substituted with the hour
$hour 用小时替换
$minute is substituted with the minute
$minute 用分钟替换
$second is substituted with the second
$second 用秒钟替换
[restore a volume]
[恢复卷]
Snapshot X:\C-DRIVE.sna C:
[view a saved file]
[查看保存的文件]
Snapshot X:\C.sna Z: -V
explores X:\C.sna as virtual drive Z: (-VM for mount only)
例如 X:\C.sna 作为虚拟驱动器 Z: (-VM 只用于挂载)
(-VQ for mount only and wait for event. Use --unmount to terminate)
(-VQ 只用于挂载并等待结果。 结束使用 --unmount)
[generate a new hash file from a full image]
[从完整映像产生一个哈希文件]
Snapshot X:\C.sna -h<HashFileName>
[info about a file] Snapshot X:\C-DRIVE.sna -I
[文件信息] Snapshot X:\C-DRIVE.sna -I
[partition info ] Snapshot X:\C-DRIVE.sna -P
[分区信息 ] Snapshot X:\C-DRIVE.sna -P
[validate file ] Snapshot X:\C-DRIVE.sna -T
[文件产生日期 ] Snapshot X:\C-DRIVE.sna -T
special operations :
特殊操作 :
--unmount - unmount all virtual disks and terminate Snapshot started with -VQ
--unmount - 卸载全部虚拟磁盘并结束 Snapshot 进度以 -VQ
--unmount:Z - unmount virtual disk Z
--unmount:Z - 卸载虚拟磁盘 Z
--resize X: - show possible resize range for drive X:
--resize X: - 显示驱动器 X: 可调整大小范围
--resize X: 1000 - (try to) resize drive X: to 1000 MB
--resize X: 1000 - (尝试) 调整驱动器 X: 大小到 1000 MB
--resizepart X: 1000 - (try to) grow partition and filesystem to 1000 MB
resizepart is unable to shrink partitions or filesystems!
--resizepart X: 1000 - (尝试) 尝试扩大分区和文件系统到 1000 MB
调整大小不能缩小分区或文件系统!
--SetPartitionSize HD1 1 130000000 (use with care !!)
--SetPartitionSize HD1 1 130000000 (设置分区大小,谨慎使用 !!)
--exec:"NET START ORACLE" - execute commands as soon asbackup really started
MUST be the last option on the command line!
--exec:"NET START ORACLE" - 执行命令(网络启动)当备份真正开始时
必须放在命令行的最后!
--ClearSignature HD1 清除硬盘签名
--SetSignature HD1 01234567 设置硬盘签名
--Checkboot HD1 - test if HD1 seems to be bootable
--Checkboot HD1 - 测试硬盘 HD1 是否可引导
--Activate X: set active flag for drive X:
--Activate X: 设置驱动器 X: 的激活标志
--Deactivate X: clear active flag for drive X:
--Deactivate X: 清除驱动器 X: 的激活标志
--RestoreMBR HD1 filename - writes the MBR from filename to HD1
--RestoreMBR HD1 filename - 从文件写入 MBR 到 HD1
--RestorePartitionStructure HD1 filename -writes the partition information from filename to HD1
--RestorePartitionStructure HD1 filename -从文件写入分区结构信息到 HD1
--exclude:path excludes the path and all subdirectories from backup
--exclude:path 备份时排除此路径和全部子目录
--exclude:filename1,filename2,... excludes all given filenames from backup
--exclude:filename1,filename2,... 备份时 backup 排除全部列出的文件
--exclude:@filename.txt exclude from file filename.txt
--exclude:@filename.txt 从文件 filename.txt 排除
--LogFile:filename.log - append log output to file filename.log
--LogFile:filename.log - 日志文件添加输出到 filename.log
--DontLogStdout - don't write VSS log output to standard output
--DontLogStdout - 不将 VSS 日志输出写入到标准输出
--DontLogProgress - don't write the progress report lines to stderr
--DontLogProgress - 不写入进度报告行到 stderr
--novss - don't use the volume shadow service
--novss - 不使用卷影服务
--usevss - use the volume shadow service if available
--usevss - 如果可能使用卷影服务
--forcevss - use the volume shadow service. If not available exit with error.
--forcevss - 使用卷影服务。如果不可用出错退出。
--register:License.lic - register Snapshot
--register:License.lic - 注册 Snapshot
--setdefaultpwd=MyPassword - sets the default password to MyPassword and exits
--setdefaultpwd=MyPassword - 设置默认密码为我的密码并退出
--SearchFull:path1,path2,path3 while working with differential images
search the full image in the given pathes.
--SearchFull:path1,path2,path3 当使用差分映像时在
给出的路径搜索完整映像。
--LimitIORate:10 - limits the IO rate to 10MB/s (accepted range 1-100)
--LimitIORate:10 - 限制 IO 速度为 10MB/s (一般可用范围 1-100)
--show HD1 - show size and partitions on HD1
--show HD1 - 显示 HD1 大小和分区
--show - show size and partitions of all connected hard disks
--show - 显示所有连接的硬盘的大小和分区
--addDriver - adds a new Hard Disk Diver to a restored Windows system drive.
You need the driver.sys and the driver.inf file.
--addDriver - 添加新硬盘驱动到恢复的 Windows 系统驱动器。
你需要 driver.sys 和 driver.inf 文件。
--mergeide - corrects IDE driver setup for a restored system disk.
Use this option if you have IDE disks and your system doesn't
boot after a restore to different hardware.
--mergeide - 对恢复的系统盘修正 IDE 驱动器驱动。
如果你是 IDE 磁盘并且从不同的硬件恢复后
你的系统无法引导时使用此选项。
--QuickCheck:test.sna - performs a quick check of the image with the name
test.sna.
--QuickCheck:test.sna - 对文件名为 test.sna 的映像执行快速检查。
BrokenImage.sna --repair:NewImage.sna - this command can be used to repair
a broken image
BrokenImage.sna --repair:NewImage.sna - 此命令可用于修复损坏的映像
-----------------------------------------------------------------------------
scheduling the restore of x:\image-C.sna to C: during the next reboot:
计划任务下次启动是恢复 x:\image-C.sna 到 C: 盘:
snapshot --schedule C: x:\image-C.sna
--autoreboot:off don't boot after the restore has finished
--autoreboot:off 恢复完成后不重启
--autoreboot:success reboot after the image was successfully restored
--autoreboot:success 映像恢复成功后重启
--autoreboot:any reboot after the image was restored
--autoreboot:any 映像恢复后重启
--listschedule list the scheduled restore
--listschedule 恢复计划任务表
--removeschedule removes the scheduled restore
--removeschedule 移除恢复计划任务
[ 本帖最后由 mygamexxx 于 2011-9-23 13:24 编辑 ] |
|