PDA

View Full Version : BACKUP FILE IN DOS



djohnson.35902
2004-07-21, 12:49 PM
Does anyone know how to open a CADD backup file that was made in MS-DOS?

mjfarrell
2004-07-21, 01:30 PM
You use the DOS restore command:
Type: External (2.0 and later)

Syntax:

RESTORE d: filename [/S][/B:mm-dd-yy] [/A:mm-dd-yy] [/E:hh:mm:ss] [/L:hh:mm:ss] [/M][/N]

Purpose:
Restores to standard disk storage format files previously stored using the BACKUP command. The DOS 6 RESTORE command can restore files that were backed up using the BACKUP command in DOS Versions 2.0 through 5.0.


Does anyone remember DOS???


Discussion
When using this command, the first path designation should be for the BACKUP disk where the backed up files are stored; the second path designation should be for the target disk. This command transfers files (that have been previously backed up using the BACKUP command) from the backup disk to the specified target disk. Files backed up using the BACKUP command cannot be read (or otherwise used) until they are transferred from the BACKUP disk to the target disk. If you do not specify a target path, files are placed in the current directory. If you do not specify filenames, backed up files from the specified path designation will be restored. You can use wild card characters to indicate groups of files to be restored.

Options
/P The program prompts you before it restores files that have been changed since the last backup or files that are marked read-only. You can choose to continue the restoration of that file or not.

/S Backed up files from both the specified source directory and from subdirectories within that directory are transferred to the target path designation.

/B Only restores files that were modified on or BEFORE the date you enter.

/A Only restores files that were modified on or AFTER the date you enter.

/E Only restores files that were modified at or EARLIER than the time you enter.

/L Only restores files that were modified at or LATER than the given time.

/M Only restores files that have been modified since the last backup.

/N Only restores files that no longer exist on the destination disk.

/D Displays a list of the files on the backup disk that match the names specified in filename without restoring any files. Even though no files are being restored, you must specify the drive to which backed-up files will be restored when you use /D.

ERRORLEVEL codes are set by the RESTORE command as follows:

0 Normal completion
1 No files found to restore
2 Some files not restored due to file sharing conflicts
3 Terminated by user (Ctrl Break or ESC)
4 Terminated due to error

djohnson.35902
2004-07-21, 01:48 PM
I tried using the RESTORE command and it says it is not recognized as an internal or extrnal command, operable program or batch file. I am using Windows XP

Lemons
2004-07-21, 11:19 PM
It appears that it's only available up to Windows Millenium version as MSbackup and MSrestore. DOS 6x or so was when Backup and Restore were replaced by the MS versions. If you have a 98 or 95 machine available you should be able to restore them. I did a websearch for msbackup and I suggest that you do the same. MSbackup and MSrestore are on the 95, 98 and Millenium CDs, I think. You cannot use the commands from a disk, they must be on your computer.

Hope this helps you out some.

Celie