This document describes the TREEDUPL Directory Tree Duplicator
Utility. This utility is unlicensed and unsupported.
Revision/Update Information: This is a new manual.
Operating System and Version: MS-DOS* version 2.11 or later.
Software Version: TREEDUPL version 2.0.
NOT NOT NOT Support: THIS SOFTWARE IS NOT SUPPORTED BY
DIGITAL EQUIPMENT CORPORATION.
Direct questions and comments to: Brian Hetrick
ZKO1-3/J10
Digital Equipment Corporation
110 Spit Brook Road
Nashua NH 03062-2698
USA
* MS is a trademark of Microsoft Corporation.
Digital Equipment Corporation Maynard Massachusetts
June 1986
The information in this document is subject to change without notice
and should not be construed as a commitment by Digital Equipment
Corporation. Digital Equipment Corporation assumes no responsibility
for any errors that may appear in this document.
The software described in this document is unlicensed and unsupported.
Digital Equipment Corporation assumes no responsibility for the use or Digital Equipment Corporation assumes no responsibility for the use or Digital Equipment Corporation assumes no responsibility for the use or Digital Equipment Corporation assumes no responsibility for the use or
reliability of this software. reliability of this software. reliability of this software. reliability of this software. This software is provided "as is,"
without any warranty of any kind, express or implied. Digital
Equipment Corporation will not be liable in any event for any damages
including any loss of data, profit, or savings, claims against the
user by any other party, or any other incidental or consequential
damages arising out of the use of, or inability to use, this software,
even if Digital Equipment Corporation is advised of the possibility of
such damage.
This documentation and the software it describes have been placed into
the public domain by Digital Equipment Corporation.
The following are trademarks of Digital Equipment Corporation:
DEC MASSBUS RSX VAX
DECmate PDP RT VAXcluster
DECnet P/OS ULTRIX VMS
DECUS Professional ULTRIX-32 VT
DECwriter Rainbow ULTRIX-32M Work Processor
DIBOL RSTS UNIBUS
_ _ _ _ _ _ _
| | | | | | | |
|d|i|g|i|t|a|l|
|_|_|_|_|_|_|_|
Table of Contents Table of Contents Table of Contents Table of Contents
Page
Preface v
Intended Audience v
Structure of This Document v
Associated Documents v
Conventions Used in This Document vi
Acknowledgments vi
Summary 1
Format 1
Command Qualifiers 1
Command Parameters 1
Usage 1
Invoking 1
Exiting 1
Directing Output 2
Description 3
Invoking the Directory Tree Duplicator Utility 4
Restrictions 4
Command Qualifiers 6
/ACCUMULATE Command Qualifier 6
Format 6
Description 6
Example 6
/LOG Command Qualifier 8
Format 8
Description 8
Example 8
Examples 9
Backing Up a Hard Disk to a DECnet-DOS Virtual Disk 9
Restoring a Hard Disk from a DECnet-DOS Virtual Disk 10
Constructing the Bootable Diskette Containing DECnet-DOS 10
Restoring the Hard Disk from a Virtual Disk Used as a
Current Copy 12
Restoring the Hard Disk from a Virtual Disk Used as an
By default, messages from the Directory Tree Duplicator
Utility are directed to the console device. Such messages
may be directed to another device or a file with the I/O
redirection facilities of the command interpreter.
2
Directory Tree Duplicator
Description
Description Description Description Description
The Directory Tree Duplicator Utility is a command-line oriented
program used to copy all directories and files in an entire
directory tree to another directory, or to force one directory
tree to duplicate another.
Through the use of the Directory Tree Duplicator Utility, you can
maintain a backup copy of your personal computer's hard disk in a
DECnet-DOS virtual disk maintained an another node of a DECnet
network, or duplicate the complete contents of a diskette on
another diskette, or delete an entire directory tree, or move an
entire directory tree from one directory to another.
Invoking the Directory Tree Duplicator Utility Invoking the Directory Tree Duplicator Utility Invoking the Directory Tree Duplicator Utility Invoking the Directory Tree Duplicator Utility
The Directory Tree Duplicator Utility is invoked with the
TREEDUPL command, followed by the name of the root directory of
the source directory tree (the directory tree to be copied or
duplicated), followed by the name of the root directory of the
target directory tree (the directory tree to be produced). No
wild card characters are allowed in either name. Command
qualifiers may follow any of these components of the command.
For example, the following command copies all directories and
files on the volume in drive A to the volume in drive B:
With this command, messages describing the actions taken by the
Directory Tree Duplicator Utility to copy the files on the volume
in drive A to the volume in drive B are not issued.
8
Directory Tree Duplicator
Examples
Examples Examples Examples Examples
Backing Up a Hard Disk to a DECnet-DOS Virtual Disk Backing Up a Hard Disk to a DECnet-DOS Virtual Disk Backing Up a Hard Disk to a DECnet-DOS Virtual Disk Backing Up a Hard Disk to a DECnet-DOS Virtual Disk
You can make a backup copy of the data on your hard disk using a
DECnet-DOS virtual disk as the backup medium. The DECnet-DOS
virtual disk will then be backed up to archival storage (for
example, magnetic tape) under the standard backup procedures for
the remote node on which the virtual disk resides. This form of
backup can be unattended, as it is not necessary to change
volumes in a small capacity diskette drive.
_______ You should first decide whether you want to keep a current copy
____________ of the data on your disk, or an accumulative copy of the data on
your disk. A current copy will have only the data on your disk
as of the most recent backup; an accumulative copy will retain
old files that you have deleted on your disk. However, an
accumulative copy will not retain old versions of files that
still exist; only the most recent version of any file will is
retained. An accumulative copy will require a larger virtual
disk than will a current copy. Also, an accumulative copy is
more difficult to restore from than is a current copy.
Similarly, if you have several hard disks, you should decide
whether to back these up into a single virtual disk or into
several virtual disks. Backing up several hard disks into a
single virtual disk will require a larger virtual disk than will
backing up each hard disk into separate virtual disks.
Before backing up your hard disk's data for the first time, you
must create the DECnet-DOS virtual disk. You do this using the
NDU CREATE DRIVE G NODE EVER11 NDISK HDBACKUP.DSK MAX 32 NDU CREATE DRIVE G NODE EVER11 NDISK HDBACKUP.DSK MAX 32 NDU CREATE DRIVE G NODE EVER11 NDISK HDBACKUP.DSK MAX 32 E>NDU CREATE DRIVE G NODE EVER11 NDISK HDBACKUP.DSK MAX 32
creates a 32 megabyte virtual disk in the default directory of
the account specified by the default access control string for
node EVER11, and makes that disk available through MS-DOS drive
letter G.
After using the NDU CREATE command, to create a new virtual disk,
or the NDU OPEN command, to access an already existing virtual
disk, you can backup your hard disk contents by using the
Directory Tree Duplication Utility to copy the hard disk contents
construct current copies of the data on the hard disks in drives
E and F.
Restoring a Hard Disk from a DECnet-DOS Virtual Disk Restoring a Hard Disk from a DECnet-DOS Virtual Disk Restoring a Hard Disk from a DECnet-DOS Virtual Disk Restoring a Hard Disk from a DECnet-DOS Virtual Disk
You can restore the contents of a corrupted hard disk from a
DECnet-DOS virtual disk which has been used as an accumulative or
a current copy of the files and directories on your disk. As the
hard disk may be unusable as a system device should this prove
necessary, you will need to have on a diskette a system
sufficient to restore the files and directories on the virtual
disk to the hard disk. You can then use this diskette based
system to restore the contents of the hard disk from the virtual
disk copy.
Constructing the Bootable Diskette Containing DECnet-DOS Constructing the Bootable Diskette Containing DECnet-DOS Constructing the Bootable Diskette Containing DECnet-DOS Constructing the Bootable Diskette Containing DECnet-DOS
You must first construct a bootable diskette system that
permits you to access DECnet-DOS virtual disks. First,
format a system diskette; for example, the command:
FORMAT A:/S FORMAT A:/S FORMAT A:/S E>FORMAT A:/S
will construct a bootable diskette containing only the
MS-DOS system on the diskette in drive A. Then, ensure that
the necessary DECnet-DOS files are on the diskette. You may
either install DECnet-DOS onto the diskette, or copy the
DECnet-DOS files from your hard disk onto the diskette. In
either case, the only purpose of this DECnet-DOS
10
Directory Tree Duplicator
Examples
installation is to access a virtual disk on a single remote
node, so most DECnet-DOS utilities need not be included.
For example, a bootable system diskette for a Rainbow 100A
system to be used with a serial communications line that is
dynamically switched to DDCMP protocol might contain the
TREEDUPL.COM The Directory Tree Duplicator Utility
The contents of CONFIG.SYS might be:
DEVICE=NDDRV.SYS
FILES=20
BUFFERS=32
while the contents of AUTOEXEC.BAT might be:
PATH A:\
FIX100A
SCH
DNP A:\DECNET\
Complete installation of DECnet-DOS by booting this
diskette, invoking NCP to accept the commands in NCP.TXT,
and defining the transmit and receive passwords, if any, and
defining the adjacent node and the remote node on which the
virtual disk resides.
You should test this diskette by rebooting from it to
install the now initialized DECnet network, and bring up the
DECnet line in the normal fashion. Then use the NDU OPEN
command to attempt to access the virtual disk you are using
as a backup of your hard disk. When you can access the
files on the virtual disk using only the system on the
diskette, you have created the bootable diskette containing
DECnet-DOS that can be used to restore the hard disk should
it become corrupt.
11
Directory Tree Duplicator
Examples
Restoring the Hard Disk from a Virtual Disk Used as a Current Restoring the Hard Disk from a Virtual Disk Used as a Current Restoring the Hard Disk from a Virtual Disk Used as a Current Restoring the Hard Disk from a Virtual Disk Used as a Current
Copy Copy Copy Copy
To restore the contents of the hard disk from a virtual
disk, you must first ensure that the hard disk is in a state
acceptable to MS-DOS. This may require that you format the
disk, and, if the hard disk is to be bootable, install the
MS-DOS system.
When the hard disk has been prepared, you must boot the
diskette containing DECnet-DOS, bring up the DECnet line in
the normal fashion, and use the NDU utility to make
accessible the virtual disk containing the current copy of
the hard disk's contents.
If files or directories have been stored onto the hard disk
which are not to be destroyed (for example, the MS-DOS
operating system), you must now use the standard MS-DOS COPY
and MKDIR commands, or the Directory Tree Duplicator
Utility, to ensure that these files and directories are
reflected in the virtual disk. For example, the command:
would copy all files on the virtual disk accessible through
drive letter I to the hard disk in drive E.
At this point, the files and directories have been restored.
You can now boot the computer in your usual fashion and
proceed with the newly restored hard disk.
Restoring the Hard Disk from a Virtual Disk Used as an Restoring the Hard Disk from a Virtual Disk Used as an Restoring the Hard Disk from a Virtual Disk Used as an Restoring the Hard Disk from a Virtual Disk Used as an