Copy a database using PROCOPY
- Last Updated: February 11, 2026
- 1 minute read
- OpenEdge
- Version 13.0
- Documentation
Use the PROCOPY utility to copy an existing database. For example, to copy the
Sports2020 database to a database named mysports2020, enter the following:
|
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. PROCOPY attempts to 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 structure description (.st) file in the target database directory. If a .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 structure (.db) file, even when the source database resides in multiple directories.
Notes
- Large file support is enabled by default for databases created using PROCOPY. See Database creation and large file support for more information.