RESTORE+Restoring Backed-up FilesRestores backed-up files.
VERSION
PC-DOS 2.0+ (revised in PC-DOS 3.3)
MS-DOS equivalent: RESTORE (2.0+)
TYPE
External
SYNTAX
[d:][path] RESTORE sd: [td:][tpath]tfilename
[P][/B:mm-dd-yy] [/A:mm-dd-yy][N]
[/L:time][/E:time]
OPTIONS
[d:][path] Specifies the drive letter and
directory path that contain
the RESTORE command.
sd: Specifies the drive that
contains the files to be
backed up (source).
[td:][tpath]tfilename Specifies where you want
backed up files to be restored
to and which files from the
source you want copied.
/S Restores files in
subdirectories of the
directory you specify as well
as in that directory.
/P Prompts you for whether to
restore files that have been
altered since the last backup
or files that have been marked
read-only.
/B:mm-dd-yy Restores files modified on or
before the date specified (PC-
DOS 3.3).
/A:mm-dd-yy Restores files modified on or
after the date specified (PC-
DOS 3.3).
/M Restores files that have been
modified or deleted since they
were backed up (PC-DOS 3.3).
/N Restores files that are no
longer on the target disk (PC-
DOS 3.3).
/L:time Restores only those files that
were modified at or later than
the specified time (PC-DOS
3.3).
/E:time Restores only those files that
were modified at or earlier
than the specified time (PC-
DOS 3.3).
RESTORE is used to copy disk files that were backed up with
the BACKUP command back onto the hard disk.
EXAMPLES
RESTORE B: C: /S
restores to drive C all files on drive B, including any files
that were backed up from subdirectories of the current directory
on drive C.
RESTORE B: C:\report?.* /P
restores to drive C all files that have a file name of REPORT
plus any character, prompting you for read-only files and files
changed since the last backup.
RESTORE B: C:\GAMES
restores to drive C all files in the GAMES directory.
MESSAGES
Backup file sequence error
Parts of the file that is to be restored are on more than one
disk. You inserted a disk that does not have the beginning
portion of the file. Run RESTORE again, starting with the correct
file.
Not able to restore file ***
A file-sharing conflict exists, and the file you want to restore
cannot be opened.
Restore file sequence error
You did not insert the disks in sequence. Reissue the RESTORE
command, this time inserting the disks in order.
Source does not contain backup files
The source does not contain the backup files you specified.
Locate the correct backup files and try again.
Source path required
Specify a source path and try again.
System files restored
The target disk may not be bootable
If the system files from a previous version of DOS were restored
instead of those for the current version of DOS you are using,
the resulting disk may not boot the system. Use the SYS command
to transfer the current system files to the disk; then copy
COMMAND.COM onto the disk.
Target is full
Delete any unnecessary files and try again, or use a disk that is
empty.
The last file was not restored
Either there was not enough room on the disk to restore the last
file, or you stopped the RESTORE operation. Delete files on the
disk to make space and reissue the RESTORE command. If you
stopped the RESTORE operation, you may reissue the RESTORE
command, continuing with the file where you left off.
Warning! Diskette is out of sequence
Replace the diskette or continue
Strike any key when ready
If you are sure that no files on the skipped disk would be
restored, you may press any key to continue. Otherwise, replace
the skipped disk.
Warning! File xx
is a read only file
Replace the file (Y/N)?
Enter Y to replace the file or N if you do not want to replace
it.
Warning! File xx
was changed after it was backed up
Replace the file (Y/N)?
Enter Y to replace the file or N if you do not want to replace
it.
Warning! No files were found to restore
No backup files were found matching your specification. Check the
specification and try again.
Warning! Target is full
No more files can be restored to that target device without
deleting some of its files first.
NOTE
Wildcards are permitted. If you specify a path without a
file name, all files in that directory are restored. If you have
backed up files to more than one disk, RESTORE will prompt you to
insert them. Insert them in the order in which BACKUP created
them. RESTORE does not restore system files to create a bootable
disk. Do not use RESTORE if JOIN, ASSIGN, or SUBST were in effect
during the backup or if APPEND is in effect.
------------------------------------------------------------------
[For related topics, press R]
SEE ALSO
APPEND Command
ATTRIB Command
ASSIGN Command
BACKUP Command
FDISK Command
JOIN Command
SUBST Command
SYS Command
file: /Techref/dos/command/restore.htm, 6KB, , updated: 1999/2/20 10:24, local time: 2024/12/23 07:36,
3.148.108.174:LOG IN
|
©2024 These pages are served without commercial sponsorship. (No popup ads, etc...).Bandwidth abuse increases hosting cost forcing sponsorship or shutdown. This server aggressively defends against automated copying for any reason including offline viewing, duplication, etc... Please respect this requirement and DO NOT RIP THIS SITE. Questions? <A HREF="http://techref.massmind.org/techref/dos/command/restore.htm"> dos command restore</A> |
Did you find what you needed? |
Welcome to massmind.org! |
Welcome to techref.massmind.org! |
.