EXAMPLES FOR A BACKUP & RESTORE:
1. BACKUP C:\basic\*.* A: In the above example, a backup copy of the all the files in
c:\basic will be created in the disk in drive A:
2. BACKUP C:\basic\*.* A: /s : In the above example, a backup copy of the a;; the files and also the sub-
Directories in C:\basic will be created in the disk in drive A:
3. BACKUP C:\basic\*.* A: /m: The /m indicates that only the files that have been modified since the last
Backup are to backed up. This is possible because of an indicator set by
DOS whenever the file is written.
4. BACKUP C:basic\*.* A:/d : The /d can be used to backup0 files written on or after the specified date.
5. RESTORE A:basic\*.DAT : In the above example, all the files will be restored.
6. RESTORE A:\bacis\*.DAT/s: The parameter/s causes files in all sub-directories including the files
in the Specified directory to be restored.
7. RESTORE A:\basic\*.DAT/p: The /p parameter causes RESTORE to prompt you before restoring files
That has changed since they were last backed up.
No comments:
Post a Comment