Mercurial > hg > Members > kono > nitros9-code
annotate docs/nitros9guide/backup.refentry @ 2934:0bd529f1d860
Update mkdskimage script to recognize DW images
DriveWire image names were changed from _dw3.dsk to _dw.dsk.
author | Tormod Volden <debian.tormod@gmail.com> |
---|---|
date | Tue, 21 Jan 2014 20:47:47 +0100 |
parents | 4dae346c4969 |
children |
rev | line source |
---|---|
134 | 1 <refentry id="backup"> |
2 <refnamediv> | |
3 <refname id="backupname">BACKUP</refname> | |
4 <refpurpose>Make a backup copy of a disk</refpurpose> | |
5 </refnamediv> | |
6 | |
7 <refsynopsisdiv> | |
8 <cmdsynopsis> | |
1093 | 9 <command>backup</command> |
134 | 10 <arg choice="opt"> |
11 <option>e</option> | |
12 </arg> | |
13 <arg choice="opt"> | |
14 <option>s</option> | |
15 </arg> | |
16 <arg choice="opt"> | |
17 <option>-v</option> | |
18 </arg> | |
975
c565a4700689
The entitity replstart was replaced with <replaceable>
roug
parents:
134
diff
changeset
|
19 <arg choice="opt"><replaceable>devname</replaceable> |
c565a4700689
The entitity replstart was replaced with <replaceable>
roug
parents:
134
diff
changeset
|
20 <arg choice="opt"><replaceable>devname</replaceable></arg></arg> |
134 | 21 </cmdsynopsis> |
22 </refsynopsisdiv> | |
23 | |
24 <refsect1><title>Description</title> | |
25 <para> | |
26 This command is used to physically copy all data from one device to | |
27 another. A physical copy is performed sector by sector without | |
28 regard to file structures. In almost all cases the devices | |
29 specified mun.t have the exact same format (size, density, etc.) and | |
30 must not have defective sectors. | |
31 </para> | |
32 <para> | |
33 If both device name are omitted the names "/d0" and "/d1" are | |
34 assumed. If the second device name is omitted, a single unit backup | |
35 will be performed on the drive specified. | |
36 </para> | |
37 <para> | |
38 The options are: | |
39 </para> | |
40 <literallayout> | |
41 E = Exit if any read error occurs. | |
42 S = Print single drive prompt message. | |
43 -V = Do not verify. | |
44 #nK = more memory makes backup run faster | |
45 </literallayout> | |
46 </refsect1> | |
47 <refsect1><title>Examples</title> | |
48 <screen> | |
49 backup /D2 /D3 | |
50 | |
51 backup -V | |
52 | |
53 | |
54 | |
55 OS9: backup | |
56 | |
57 Ready to BACKUP from /D0 to /D1 ?: Y | |
58 MYDISK is being scratched | |
59 OK ?: Y | |
60 Number of sectors copied: $04D0 | |
61 Verify pass | |
62 Number of sectors verified: $04D0 | |
63 OS9: | |
64 </screen> | |
65 <para> | |
1053
b5ff125a1d60
Since this book was only typeset in fixed width, single-font, they used
roug
parents:
975
diff
changeset
|
66 Below is an example of a single drive backup. <command>backup</command> will read a |
134 | 67 portion of the source disk into memory, you remove the source disk |
1053
b5ff125a1d60
Since this book was only typeset in fixed width, single-font, they used
roug
parents:
975
diff
changeset
|
68 and place the destination disk into the drive, <command>backup</command> writes on the |
134 | 69 destination disk, you remove the destination disk and place the |
70 source disk into the drive. This continues until the entire disk | |
1053
b5ff125a1d60
Since this book was only typeset in fixed width, single-font, they used
roug
parents:
975
diff
changeset
|
71 has been copied. Giving <command>backup</command> as much memory as possible will cause |
134 | 72 fewer disk exchanges to be required. |
73 </para> | |
74 <para> | |
1093 | 75 For more information see: <xref linkend="sec1.1.2"/> |
134 | 76 </para> |
77 <screen> | |
78 OS9:backup /D0 #10k | |
79 | |
80 Ready to BACKUP from /D0 to /D0 ?: Y | |
81 Ready DESTINATION, hit a key: | |
82 MYDISK is being scratched | |
83 OK ?: Y | |
84 Ready SOURCE, hit a key: | |
85 Ready DESTINATION, hit a key: | |
86 Ready SOURCE, hit a key: | |
87 Ready DESTINATION, hit a key: | |
88 | |
89 (several repetitions) | |
90 | |
91 Ready DESTINATION, hit a key: | |
92 Number of sectors copied: $4D0 | |
93 Verify pass | |
94 Number of sectors verified: $4D0 | |
95 </screen> | |
96 </refsect1> | |
97 </refentry> | |
98 |