|
yanqingcnc
新手上路

积分 8
发帖 3
注册 2007-2-1
状态 离线
|
『楼 主』:
PQDI6.0自动备份、恢复脚本怎样编写?
使用 LLM 解释/回答一下
PQDI6.0自动备份、恢复脚本怎样编写?我从网上下载的脚本都不行,谁有好的,请提供支持。我想用pqdi替换ghost。在线等待..........
How to write the automatic backup and restore script for PQDI 6.0? The scripts I downloaded from the internet don't work. Does anyone have a good one? Please provide support. I want to replace ghost with pqdi. Waiting online..........
|
|
2007-2-1 11:33 |
|
|
nmjxg
初级用户
 
积分 80
发帖 28
注册 2007-2-1
状态 离线
|
『第 2 楼』:
使用 LLM 解释/回答一下
备份
ghost.exe -clone,mode=pdump,src=1:1,dst=d:\win.gho -z2 -sure -rb
恢复
ghost.exe -clone,mode=pload,src=d:\win.gho:1,dst=1:1 -sure -rb
Backup
ghost.exe -clone,mode=pdump,src=1:1,dst=d:\win.gho -z2 -sure -rb
Restore
ghost.exe -clone,mode=pload,src=d:\win.gho:1,dst=1:1 -sure -rb
|
|
2007-2-2 22:49 |
|
|
jyssysz
中级用户
  
积分 343
发帖 50
注册 2004-2-21
状态 离线
|
『第 3 楼』:
使用 LLM 解释/回答一下
转:
PQDI_OPTIONS
我记得我发在水区了.这是我自己翻译的,翻译的不太好,而且我没时间去验证.有兴趣的就看吧,要是下面的有错误请指出.可别骂我呀~~不明白的地方更不要问我.呵呵~
一般情况下PQ的语法参数结构如下:
PQDI <OPTIONS>
<OPTIONS>如下:
/CMD=<script file>
指定命令参数文件的位置.详细见下面的"<script file> 参数说明:".
/IMG=<image file>
指定命镜像文件的位置.
/ERR=<error file>
如果发生错误,将生成次文件.可用次文件查看错误原因等.
/LOG=<log file>
对所有操作生成LOG文件,以便用户查看操作过程.
与/ERR=<error file>不同./ERR=<error file>只汇报错误信息,/LOG=<log file>汇报全部信息.
/MFS=<number of bytes>
设置生成的镜像文件的分卷大小,单位为字节.类似与GHOST的分卷压缩.以便刻录到CDR/CDRW.
/PWD=<password>
设置密码.类似与GHOST.
/CBS
开启坏扇区检查.
/NBS
关闭坏扇区检查.
/UEB
/RAV
<script file> 参数说明:
1 选择硬盘的参数:
SELECT DRIVE {Number} 选择硬盘
例子:
SELECT DRIVE 1 选择第一号硬盘
SELECT DRIVE 1 选择第二号硬盘
如果你的机子同时挂两块硬盘的话,即主盘和从盘,
那么SELECT DRIVE 1的意思就是指你的主盘,SELECT DRIVE 2的意思就是指你的从盘.
2 选择分区的参数:
SELECT PARTITION {Number} 选择分区
例子:
SELECT PARTITION 1 选择第一分区
SELECT PARTITION 2 选择第二分区
这个参数要和SELECT DRIVE {Number}参数和用,这样才能指定哪个硬盘的哪个分区.
如:SELECT DRIVE 1
SELECT PARTITION 2
上面的两个参数和用的话,就指的是第一号硬盘的第二分区.
SELECT PARTITION X 选择分区,X为盘符.
这个参数和上面的类似.都是用来指定分区的.但是注意.这个参数是在DOS下用的.
这个参数最好少用,建议别用.
我给大家举例说明吧
如果你就一个硬盘,并且分了3个区(C: D: E:).都是FAT分区.这样的话
SELECT PARTITION 2 参数与 SELECT PARTITION D 是一样的.
但是,如果你的分区D:是NTFS分区的话.
SELECT PARTITION 2 参数与 SELECT PARTITION D 是不一样的.
SELECT PARTITION {Volume Label} 选择分区
例子:
SELECT PARTITION "DATA" 选择第一个卷标是"DATA"的分区.
我觉得这个参数用的也不多.
SELECT PARTITION FIRST
选择第一分区.
SELECT PARTITION NEXT
SELECT PARTITION ALL
选择全部的分区.
SELECT FREESPACE FIRST
选择当前第一个空闲分区.
SELECT FREESPACE NEXT
选择先前分区后面的空闲分区.
3 选择镜像文件
SELECT IMAGE {Number}
选择镜像文件号.
SELECT IMAGE 3
选择第三个镜像文件
SELECT IMAGE ALL
选择所有镜像文件
4 删除分区
DELETE
与SELECT PARTITION命令和用.
DELETE ALL
删除所有分区
DELETE EXTENDED
删除扩展分区
5 检查扇区和设置激活
SECTOR CHECK ON
开启坏扇区检查功能
SECTOR CHECK OFF
关闭坏扇区检查功能
SET ACTIVE
设置激活分区
6 镜像文件压缩
STORE
生成镜像文件命令.且不压缩
STORE WITH COMPRESSION OFF
生成的镜像文件不压缩(同上)
STORE WITH COMPRESSION LOW
生成的镜像文件用低压缩率压缩
STORE WITH COMPRESSION HIGH
生成的镜像文件用高压缩率压缩
7 调整要恢复的分区大小.与DELETE ALL和用.
RESIZE IMAGE NO
不调整恢复分区大小.与RESTORE和用.
RESIZE IMAGE PROPORTIONAL
适当的调整恢复分区的大小
RESIZE IMAGE {Number}
设置恢复分区的大小
RESIZE IMAGE 500
设置恢复分区的大小为500M.
RESIZE IMAGE MAX
RESTORE
恢复命令
REBOOT
Transfer:
PQDI_OPTIONS
I remember I posted it in the water area. This is my own translation. It's not very good, and I don't have time to verify it. Those who are interested can take a look. If there are errors below, please point them out. Don't scold me~~ Don't ask me about unclear places. Hehe~
Generally, the syntax parameter structure of PQ is as follows:
PQDI <OPTIONS>
<OPTIONS> are as follows:
/CMD=<script file>
Specify the location of the command parameter file. See the following "<script file> Parameter Description" for details.
/IMG=<image file>
Specify the location of the image file.
/ERR=<error file>
If an error occurs, this file will be generated. This file can be used to view the cause of the error, etc.
/LOG=<log file>
Generate a LOG file for all operations so that users can view the operation process.
Different from /ERR=<error file>. /ERR=<error file> only reports error information, and /LOG=<log file> reports all information.
/MFS=<number of bytes>
Set the volume size of the generated image file, in bytes. Similar to GHOST's volume compression. So that it can be burned to CDR/CDRW.
/PWD=<password>
Set the password. Similar to GHOST.
/CBS
Enable bad sector check.
/NBS
Disable bad sector check.
/UEB
/RAV
<script file> Parameter Description:
1 Parameter for selecting the hard disk:
SELECT DRIVE {Number} Select the hard disk
Example:
SELECT DRIVE 1 Select the first hard disk
SELECT DRIVE 1 Select the second hard disk
If your computer has two hard disks at the same time, namely the master disk and the slave disk,
then SELECT DRIVE 1 means your master disk, and SELECT DRIVE 2 means your slave disk.
2 Parameter for selecting the partition:
SELECT PARTITION {Number} Select the partition
Example:
SELECT PARTITION 1 Select the first partition
SELECT PARTITION 2 Select the second partition
This parameter is used in conjunction with the SELECT DRIVE {Number} parameter, so as to specify which partition of which hard disk.
For example: SELECT DRIVE 1
SELECT PARTITION 2
If the above two parameters are used together, it refers to the second partition of the first hard disk.
SELECT PARTITION X Select the partition, X is the drive letter.
This parameter is similar to the above. Both are used to specify the partition. But note. This parameter is used under DOS.
This parameter is best used less. It is recommended not to use it.
I will give you an example to illustrate.
If you have only one hard disk and it is divided into 3 partitions (C: D: E:). All are FAT partitions. In this case
The parameter SELECT PARTITION 2 is the same as SELECT PARTITION D.
However, if your partition D: is an NTFS partition.
The parameter SELECT PARTITION 2 is different from SELECT PARTITION D.
SELECT PARTITION {Volume Label} Select the partition
Example:
SELECT PARTITION "DATA" Select the first partition whose volume label is "DATA".
I think this parameter is not used much.
SELECT PARTITION FIRST
Select the first partition.
SELECT PARTITION NEXT
SELECT PARTITION ALL
Select all partitions.
SELECT FREESPACE FIRST
Select the first free partition currently.
SELECT FREESPACE NEXT
Select the free partition after the previous partition.
3 Select the image file
SELECT IMAGE {Number}
Select the image file number.
SELECT IMAGE 3
Select the third image file
SELECT IMAGE ALL
Select all image files
4 Delete partition
DELETE
Used in conjunction with the SELECT PARTITION command.
DELETE ALL
Delete all partitions
DELETE EXTENDED
Delete the extended partition
5 Check sectors and set active
SECTOR CHECK ON
Enable the bad sector check function
SECTOR CHECK OFF
Disable the bad sector check function
SET ACTIVE
Set the active partition
6 Image file compression
STORE
Generate the image file command. And not compress
STORE WITH COMPRESSION OFF
The generated image file is not compressed (same as above)
STORE WITH COMPRESSION LOW
The generated image file is compressed with a low compression ratio
STORE WITH COMPRESSION HIGH
The generated image file is compressed with a high compression ratio
7 Adjust the size of the partition to be restored. Used in conjunction with DELETE ALL.
RESIZE IMAGE NO
Do not adjust the size of the restored partition. Used in conjunction with RESTORE.
RESIZE IMAGE PROPORTIONAL
Properly adjust the size of the restored partition
RESIZE IMAGE {Number}
Set the size of the restored partition
RESIZE IMAGE 500
Set the size of the restored partition to 500M.
RESIZE IMAGE MAX
RESTORE
Restore command
REBOOT
|
|
2007-2-3 00:07 |
|
|
yanqingcnc
新手上路

积分 8
发帖 3
注册 2007-2-1
状态 离线
|
『第 4 楼』:
请jyssysz会员编写一个PQDI6.0自动备份、恢复脚本!
使用 LLM 解释/回答一下
请jyssysz会员编写一个PQDI6.0自动备份、恢复脚本文件。谢谢!在线等待下载....
Please have member jyssysz write a PQDI 6.0 automatic backup and restore script file. Thanks! Waiting online for download....
|
|
2007-2-3 11:02 |
|
|
liz110
新手上路

积分 2
发帖 1
注册 2007-2-5
状态 离线
|
『第 5 楼』:
使用 LLM 解释/回答一下
看看一键恢复里的
脚本吧
Take a look at the scripts in the one-click recovery.
|
|
2007-2-5 02:33 |
|
|
jyssysz
中级用户
  
积分 343
发帖 50
注册 2004-2-21
状态 离线
|
『第 6 楼』:
使用 LLM 解释/回答一下
备份:
pqdi /cmd=backup.txt /ERR=ERROR.TXT /img=E:\part1.pqi
备份:
pqdi /cmd=restore.txt /err=error.txt /img=E:\part1.pqi
backup.txt:
select drive 1
select partition first
store with compression low
reboot
restore.txt:
select drive 1
select partition first
select image 1
restore
reboot
Backup:
pqdi /cmd=backup.txt /ERR=ERROR.TXT /img=E:\part1.pqi
Backup:
pqdi /cmd=restore.txt /err=error.txt /img=E:\part1.pqi
backup.txt:
select drive 1
select partition first
store with compression low
reboot
restore.txt:
select drive 1
select partition first
select image 1
restore
reboot
|
|
2007-2-5 04:09 |
|
|
yanqingcnc
新手上路

积分 8
发帖 3
注册 2007-2-1
状态 离线
|
『第 7 楼』:
回复6楼
使用 LLM 解释/回答一下
我也是这么编写的,但一启动到PQDI主界面就停止(需手动操作),无法自动进行备份和恢复系统。请指教...;我的系统盘是NTFS,其它盘是FAT32格式。与磁盘格式应该关系不大。
I also wrote it this way, but it stops when booting to the PQDI main interface (needs manual operation), and cannot automatically back up and restore the system. Please give advice...; My system disk is NTFS, and other disks are in FAT32 format. It should have little to do with the disk format.
|
|
2007-2-6 02:46 |
|
|
sunjianbo168
初级用户
 
积分 107
发帖 1
注册 2004-5-14
状态 离线
|
『第 8 楼』:
使用 LLM 解释/回答一下
如何判断最后分区并备份
How to determine the last partition and backup
|
|
2007-3-16 02:36 |
|
|
wang6610
银牌会员
    
积分 1246
发帖 488
注册 2003-11-11
状态 离线
|
『第 9 楼』:
使用 LLM 解释/回答一下
要专业版(pro)或服务器版的才支持脚本。
Only the professional version (pro) or server version support scripts.
|
|
2007-3-16 06:48 |
|
|
hnlyzhd
高级用户
   
积分 544
发帖 164
注册 2004-10-17
状态 离线
|
|
2007-3-16 12:31 |
|