Backup and restore settings, DSN from your ColdFusion server

When you have to re-install the Operating System or re-install Adobe ColdFusion server in your machine, you think of the tedious task of having to re-do all the settings and create the datasources again. Using the ColdFusion Archives available in the ColdFusion Administrator, you can backup and restore the settings from your ColdFusion server. The settings are stored as .car files and can be used to port the settings.

Create Archive
For using this feature, log on to Coldfusion administrator (should be available at http://localhost/CFIDE/administrator/index.cfm) and go to Packaging & Deployment -> ColdFusion Archives. There you can create an archive (.car) by giving an Archive Name and then clicking the 'Create' button. Now, the Archive will be listed in the "Current Archive Definition List ". You can open the 'Archive Wizard' by clicking the 'Edit' icon (left most icon in the row of the Archive listing) and this will open a Pop-up. You can select the configurations and datasources that should be backed up. After selecting, close the window. Now you can create the archive by clicking the 'Create Archive' button (middle button in the row of the Archive listing). This will open another Pop-up and you can specify a file name (should have the extension .car) for the backup and click the 'Next' button to create the Archive.

Restoring Archive
In the same section in ColdFusion Administrator, you can choose to deploy an Archive by specifying the path of the archive file and selecting 'Deploy'. This will open a Pop-up and show the details of the settings that will be restored. Click 'Next' to confirm and then click the 'Deploy' button to restore the settings.

Comments

Unknown said…
What if you can't find where the Packaging & Deployment is?
Anonymous said…
Packaging and deployment is not available on standard version.

Popular posts from this blog

Hide notification content in Android lock screen for Messages, email, whatsapp and selected apps.