To deploy an archive (.car file), follow these steps:
Warning: If variables are part of an archive file (.car file) that you plan to deploy to another ColdFusion Server 5 system, you must define the variable definitions on that target system prior to deploying the archive. If you do not define the variables on the target system prior to restoring the archive the deploy operation will fail.
Click Tools>Deploy Archive in the left navigation frame of the ColdFusion Administrator. The Deploy Archive page appears.
In the Select Archive panel do the following:
In the CAR File drop down list box, select a retrieval method: local, http, or ftp.
In the CAR File name text box, provide the full path of the archived file name (.car file) that you want to restore. If you chose Local, you can alternatively click the Browse Server button to select the full path of the archived file name (.car). If you chose HTTP, you must enter the URL address. If you chose FTP, you need to enter the ftp address then log in by entering your user name and password.
Tip:
ColdFusion by default stores all archive files (.car file) in
the following install directory:
<drive
letter:>\CFusion\cfam\car\
Click Next. The Archive Summary Panel appears.
In the Archive Summary panel review the archived content and do one of the following:
Click Next to proceed with restoring the archive. The Final Options panel appears. (see Step 4)
Click Cancel to exit the archive restore operation. .
In the Final Options panel, specify the restore location in the Web Application Directory.
Note: If you are a UNIX user and want to run the deploy process as a privileged user, click the Run this deployment as a specific user check box then enter any system account name in the User name text box and the corresponding account password in the Password text box. The user name and password must match the existing user name and password for this system then the deployment process will run as that user. If the user name and password do not match the existing user name and password for this system account the deployment procedure will fail.
Click Restore
to restore the selected car file to the location identified in Step4 of
this procedure.
Deploy Results:
One of the following archive message appears:
Complete.. The selected .car file was successfully restored in the specified Web Application directory . Click Done to exit the Deploy Archive page.
Failed. The deploy procedure was not successful. To determine the cause of the problem, review the information appearing on the page. If you need to further analyze why a problem occurred, click the Details link located on the panel. Click Done to exit the Deploy Archive page.
Tips:
If the deploy operation failed, verify that the restore Web Application directory was not corrupted during the restore operation.
To restore archives to another system, the target system must have ColdFusion Server 5 installed.