Copying managed files from a production environment to an authoring environment
When you set up a new authoring environment after you run the stagingcopy utility, or when you are synchronizing managed files from the production system to the authoring system, you must take more steps to copy managed files to the authoring environment.
About this task
Note: If
you are running the stagingcopy utility to copy
files to a remote web server, you must still complete the following
procedure. If you do not copy the files to the EAR on your remote
web server, Management Center store preview might not work properly
because store preview might not be able to retrieve the required files
from the EAR and the database.
Procedure
- If the files are managed by the file system, and therefore
loaded directly into the production EAR, complete the following steps:
- Export data in the CMFILE and CMFILEDIR tables from the production database.
- Import the data that you exported in the preceding step into the CMFILE and CMFILEDIR tables in the authoring database.
- Copy the files with a file system copy utility, such as FTP, from the production EAR to the authoring EAR.
- If you loaded the files with a WebSphere Commerce utility,
such as FileLoader, into the production database and the files are
not yet copied to the production EAR, follow these steps:
- Temporarily set the PUBLISHED column of the CMFILE table in the production database to 0.
- Run the fileprop utility. Set the source database to the production database and set the destination database to the authoring database.