Dec 102017
 
Complete TP4.0 source for backup & restore - works w/networks, DOS backu.
File NBACKUP.ZIP from The Programmer’s Corner in
Category Pascal Source Code
Complete TP4.0 source for backup & restore – works w/networks, DOS backu.
File Name File Size Zip Size Zip Type
BIOS13.PAS 4375 1247 deflated
DISK.PAS 7067 1510 deflated
DOSEX.PAS 2020 804 deflated
HEX.PAS 2169 802 deflated
KEYSCAN.PAS 4952 1541 deflated
NBACKUP.DOC 4995 2200 deflated
NBACKUP.EXE 31584 15753 deflated
NBACKUP.PAS 17862 5637 deflated
NRESTORE.DOC 2823 1339 deflated
NRESTORE.EXE 17504 9912 deflated
NRESTORE.PAS 11679 3816 deflated
WINDOWS.PAS 7363 2063 deflated

Download File NBACKUP.ZIP Here

Contents of the NBACKUP.DOC file


Program name: NBACKUP & NRESTORE
Function: Backup and restore hard disk to fixed or removable media
with network compatibility.
Developed on: Compaq 286 w/Priam 60MB hard disk running Compaq DOS 3.3
and Novell ANetware 2.01
Archive formats tested:
DS,HD,96TPI (1.2 MB); DS,DD,48TPI (360K)
Written by: Henry A. Groover
CompuServe 70741,417

NBackup is not much faster than the DOS backup command. It does, however,
offer the convenience of formatting while copying, and offers various
features for backup of networks. It will also work on non-network systems.
It offers a substantial increase in performance over the Novell LARCHIVE
utility for network backup.

Although not as fast as other public-domain backup programs, it was meant
to provide extensive compatibility with the DOS backup and restore commands.
Of course, DOS restore will not usually work across different DOS versions.
Nrestore, the companion program to Nbackup, will restore any DOS backup
disk PRIOR to DOS 3.3.

Nbackup is started from the DOS prompt as follows:
NBACKUP source destination [full | part]
where -
source is the source drive:\path to be backed up. Examples:
C:\ F:\TP Z: U:\UTILS
All the above are valid arguments, provided that the drives
and subdirectories named exist. Note that you MUST use a
mapped drive designation for network volumes; SYS: is un-
acceptable. You must also specify the drive letter.

destination
is the archive drive to be used. Only a drive letter
followed by a colon may be used. Archive drives may be
fixed or removable. Removable drives may be formatted
during the copying process. Fixed archive drives may
be MAPped on a network or SUBSTed under DOS to represent
a subdirectory.

full | part
are options. Either full OR part may be used to indicate
1) a full backup, where all files are backed up, or
2) a partial backup, where only files changed since the
last backup will be archived.

A session with Nbackup requires only starting the program, then changing
disks as requested if the archive drive is removable. No keyboard input
is required, although Escape may be pressed at any time to pause execution
and optionally terminate.

Nbackup automatically detects whether the archive drive door is open or not.
When the program starts, if there is a disk in the archive drive, you will
be prompted to remove it. Nbackup does this because it will begin writing
to the disk without waiting for you to press a key. It is a safety feature.

If the drive door was already open, or if it was closed and you opened it,
Nbackup will prompt you to insert Disk 1 in the drive. You must insert a
disk and close the drive door. Nbackup will continue with the backup,
beeping and requesting a change of disks when necessary.

When Nbackup is finished, it will present a "fake" DOS prompt and display
the number of files, bytes, and directories backed up until you begin
entering a command.

Additional features:
---------- --------
At any time during the backup process you may press Escape. You will
then have the choice of aborting the backup, skipping the current
directory being archived, or continuing with the backup.

At startup, Nbackup looks in the root directory of the drive being backed
up for a file called NBSKIP.LST and reads it into memory, if it exists.
Files and/or directories contained in this list will NOT be backed up with
either the full or partial backups. This is a straight ASCII text file
which must contain FULL path names (drive letter included). It may be
created as follows from the DOS prompt, assuming that you are on drive F:
COPY CON F:\NBSKIP.LST
F:\DIRSTAMP.SYS
F:\SYSTEM
F:\GAMES
^Z
1 file(s) copied.
Please note that you type Ctrl-Z, then RETURN, and DOS comes back with "1
file(s) copied."
This NBSKIP.LST file will cause Nbackup to skip the \DIRSTAMP.SYS file,
and everything contained in the \SYSTEM and \GAMES directories.

Any files on a network that are busy when Nbackup tries to read them
are spooled for automatic retry. After Nbackup has finished, it will
go through the retry list once more. If files still cannot be read,
they are not backed up. They can, however, be backed up as soon as
they are free by doing a partial backup.

Any comments, suggestions, or contributions from anyone who finds
this program useful will be appreciated. Improvements currently in
the works: a fast backup option for floppy disk only, using the regular
DOS format but with a proprietary disk layout, which would be readable
with the Norton Utilities but not with, say, a DIR or CHKDSK command.

- Henry A. Groover
April 28, 1988


 December 10, 2017  Add comments

Leave a Reply