中国DOS联盟论坛

China DOS Union

-- Unite DOS · Advance DOS · Grow DOS --
Union site: www.cn-dos.net Forum site: www.cn-dos.net/forum
Guest | Log in | Register | Members | Search | China DOS Union
中国DOS联盟论坛
The time now is 2026-10-26 23:58
47,815 topics / 349,928 posts / today 0 new / 48,289 members
DOS启动盘 & LOGO技术 (启动盘室) » How to write the automatic backup and restore script for PQDI 6.0?
Printable Version  1,658 / 9
Floor1 yanqingcnc Posted 2007-02-01 11:33
新手上路 Posts 3 Credits 8
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..........
Floor2 nmjxg Posted 2007-02-02 22:49
初级用户 Posts 28 Credits 80
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
Floor3 jyssysz Posted 2007-02-03 00:07
中级用户 Posts 50 Credits 343
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
Floor4 yanqingcnc Posted 2007-02-03 11:02
新手上路 Posts 3 Credits 8
Please have member jyssysz write a PQDI 6.0 automatic backup and restore script file. Thanks! Waiting online for download....
Floor5 liz110 Posted 2007-02-05 02:33
新手上路 Posts 1 Credits 2
Take a look at the scripts in the one-click recovery.
Floor6 jyssysz Posted 2007-02-05 04:09
中级用户 Posts 50 Credits 343
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
Floor7 yanqingcnc Posted 2007-02-06 02:46
新手上路 Posts 3 Credits 8
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.
Floor8 sunjianbo168 Posted 2007-03-16 02:36
初级用户 Posts 1 Credits 107
How to determine the last partition and backup
Floor9 wang6610 Posted 2007-03-16 06:48
银牌会员 Posts 488 Credits 1,246
Only the professional version (pro) or server version support scripts.
Floor10 hnlyzhd Posted 2007-03-16 12:31
高级用户 Posts 164 Credits 544
Please download Tianfeng One-key Recovery

http://www.znpc.net/down/onekey-v3.rar

Extract the BIN file from it and open it to get PQDI
[ Contact the Union admin team - 中国DOS联盟 - Standard version ]
Sponsored by ifanr Inc | © 2001–2023