Progress
Database Administration
Guide and Reference


PROCOPY Utility

Copies an existing database.

PROCOPY supports storage areas. Therefore, if a target database exists, it must contain at a minimum the same type and number of storage areas and same extent types as the source database. However, the number of extents in the storage areas of the target database do not need to match the number of extents in the source database. Progress will extend the existing extents in the target database to accommodate the possible increase in size.

If a target database does not exist, PROCOPY creates one using an existing ST file in the target database directory. If an ST file does not exist, PROCOPY creates the target database using the structure of the source database and places all of the extents in the same directory as the target database DB file, even when the source database resides in multiple directories.

SYNTAX

Operating System
Syntax
UNIX
Windows
procopy source-db-name target-db-name -silent

source-db-name

Specifies the Progress database you want to copy. You cannot copy the database if you have a server running on it.

target-db-name

Specifies the structure file or the new database. If you specify a directory without a filename, Progress returns an error.

The value you specify can be any combination of letters and numbers, starting with a letter. Do not use Progress 4GL keywords or special characters, such as commas or semicolons. The maximum length of target-db-name varies depending on the underlying operating system. For specific limits, see Progress Database Limits."

-silent

Suppresses the output of work-in-progress messages.

NOTES


Copyright © 2004 Progress Software Corporation
www.progress.com
Voice: (781) 280-4000
Fax: (781) 280-4095