Oracle A423961 Manual Do Utilizador

Página de 202
5 – 3
Database Administration
where nn indicates the version of OCOPY Release 7.3 or later, old_file
specifies the name and location of the open file you want to back up,
and new_file specifies the name and location for the backup copy.
Note:
 
 
OCOPY also accepts two other optional command line
options, a and size_1 [size_n]. These command line options
should not be used to make backups of database files.
OCOPY can also back up large open files directly to multiple diskettes.
Use OCOPY with the /B option to split large files over multiple
diskettes.
OCOPY also reconstructs the parts of a file that have been split over
multiple diskettes if the backup copy must be restored to the hard disk.
The syntax for using OCOPY with the /B option is:
C:\>OCOPYnn /B open_file a:
where open_file specifies the path and filename of the open file you want
to back up and a: specifies the diskette drive containing the diskette on
which the backup copy should be saved.
If the file is too large to fit on one diskette, OCOPY prompts you to
insert new diskettes as needed. OCOPY catalogs the parts of the file
automatically so that it can be reconstructed at a later time.
Note:
 
 
Always use a fresh diskette for each OCOPY procedure;
do not
 use OCOPY to back up a file onto a diskette that contains
part or all of another file backed up using OCOPY.
Restoring Active Files
To restore files backed up with OCOPY without the /B option, use the
Windows NT COPY command to restore the files to the desired
directory.
To restore a file that has been backed up to multiple diskettes using
OCOPY with the /B option, insert the diskette containing the first part of
the backed up file into the disk drive and use the following syntax:
OCOPYnn /R a: restore_dir
where /R specifies the restore option, a: specifies the drive containing
the diskette with the backed up file, and restore_dir specifies the
directory on the server where the file being restored should be placed.
(The restored file will have the same name as the original file that was
backed up.)