Copying data to the staging database
To copy data from the production database to the staging or authoring database:
Before you begin
Procedure
-
Open a command-line utility and go to the following directory:
- WC_installdir/bin
- WC_installdir\bin
-
Depending on your database, run one of the following commands:
-
stagingcopy -scope _all_ -sourcedb production_database_name -destdb staging_database_name
stagingcopy.sh -scope _all_ -sourcedb production_database_name -destdb staging_database_name -sourcedb_user user -destdb_user user
-
stagingcopy.sh -scope _all_ -sourcedb production_database_name -destdb staging_database_name -dbtype oracle -sourcedb_user user_ID -sourcedb_passwd password -destdb_user user_ID -destdb_passwd password
-
stagingcopy -scope _all_ -sourcedb production_database_name -destdb staging_database_name -dbtype oracle -sourcedb_user user_ID -sourcedb_passwd password -destdb_user user_ID -destdb_passwd password
-
-
Examine the
stagingcopy_ yyyy.mm.dd_hh.mm.ss.zzz.log
file to ensure that the copy was successful.