Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ restore(CMD) — OpenDesktop 1.1.0

Media Vault

Software Library

Restoration Projects

Artifacts Sought


     RESTORE(DOS)      UNIX System V       RESTORE(DOS)



     Name
          restore - restores files  that  were  backed  up  using  the
          Microsoft or the IBM backup program


     Syntax
               restore drive: [drive:][pathname] [/s]  [/p]  [/a:date]
               [/b:date] [/e:time] [/L:time] [/m] [/n]


     Description
          The  restore  command  can  restore  files  from  disks   of
          different  media  types.  For example, you can restore files
          from:

          ⊕    Hard disk to floppy disk

          ⊕    Floppy disk to floppy disk

          ⊕    Floppy disk to hard disk

          ⊕    Hard disk to hard disk

          The first drive: option is  the  drive  name  for  the  disk
          containing  the  backed up files.  The second drive: and the
          pathname option are the drive and pathname of the files you
          want to restore.

          This restore  program  and  the  one  supplied  by  IBM  are
          compatible  except  for switches /a, /b, /e, /L, /m, and /n,
          described in the table below.

          The switches are:

          /s        Restores subdirectories also.

          /p        Prompts for permission to restore  any  hidden  or
                    read-only files that match the file specification.

          /a:date  Restores only those files that were last modified
                    on or after the given date.

          /b:date  Restores only those files that were last modified
                    on or before the given date.

          /e:time  Restores only those files that were last  modified
                    at or earlier than the given time.

          /L:time  Restores only those files that were last  modified
                    at or later than the given time.

          /m        Restores only those files that have been  modified
                    since the last backup.

          /n        Restores only those files that no longer exist  on
                    the target disk.

          Exit codes

          0    Normal completion

          1    No files were found to restore

          3    Terminated by user

          4    Terminated due to error


          Refer to backup in this chapter for more information.


     Example
          To restore the file invest.mnt from the backup disk in drive
          A   to  the  \irsharpe  directory  on  drive  C,  enter  the
          following:

               restore a: c:\irsharpe\invest.mnt

          Press <Return> to let MS-DOS know that the backup disk is in
          drive  A.   Then, once MS-DOS has restored the file, use the
          dir or type command to make sure that the file was  restored
          properly.


     Notes
          restore is an external command.


     RESTORE(DOS)         (printed 8/16/89)          RESTORE(DOS)

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026