Backing up ColdFusion Datasources

coldfusion

If you want to backup datasources on ColdFusion 5 and below on windows, backup the following registry keys:

HKEY_LOCAL_MACHINE\SOFTWARE\Allaire\ColdFusion\CurrentVersion\DataSources
HKEY_LOCAL_MACHINE\SOFTWARE\ODBC

Create two reg files, and then just double click the reg file on the server you want to backup on. If your only using OLE DB datasources, then I beleive you only need to backup the first key. Also it may be a good idea to keep a backup of your the entire ColdFusion registry key.

On ColdFusion MX settings are stored in files (typically xml using WDDX) instead of the registry. So you need to backup the files that contain the settings. The file cfusionmx\lib\neo-query.xml stores the datasources.



This entry was:

 Download FuseGuard WAF for ColdFusion

Trackbacks

Trackback Address: 68/3B59337192BBE948A744C7EA3080390C

Comments

On 07/11/2004 at 10:00:13 PM EDT dan wrote:
1
I created a way for anyone on a shared server to make backups of DSN settings

http://www.geocities.com/empiricallyspeaking/backup_and_restore.html

neo-query.xml is only for Administrators who have access to the server.

On 07/11/2004 at 10:00:21 PM EDT dan wrote:
2
I created a way for anyone on a shared server to make backups of DSN settings

http://www.geocities.com/empiricallyspeaking/backup_and_restore.html

neo-query.xml is only for Administrators who have access to the server.

On 07/22/2004 at 1:33:36 PM EDT Uzma wrote:
3
How can u retreive the file?

On 08/02/2007 at 9:26:23 PM EDT Annesteprerma wrote:
4
Good afternoon visitors of web page of site www.petefreitag.com I not so a long ago I live in Oak Harbor and so, that I divided with very nice a man, Glory- Catherineon, and now try to find him, last that I know so it that he lives in citi, and often vi sits the resources of type your www.petefreitag.com, in a network has the name Paulaon , if suddenly will see this nik write that this man wrote me . I very much I am sad without socializing with this man.To reason wanted to say thank you and to wish successes to the team of developments and web masters your resource. So to hold boys. Only little request of,sdelayte so that www.petefreitag.com better embarked on dial-up connection

On 12/02/2009 at 12:32:04 PM EST Amir wrote:
5
Any idea on how to backup CF7,8,9 Standard edition?

On 06/08/2010 at 6:21:23 AM EDT Stefan le Roux wrote:
6
@Amir - Having access to the server, look in: \JRun4\servers\cfusion\cfusion-ear\cfusion-war\WEB-INF\cfusion\lib for:

neo-datasource.xml

On 08/21/2011 at 1:03:45 PM EDT Satchell wrote:
7
Tip top stuff. I'll epcext more now.

Post a Comment




  



Spell Checker by Foundeo

Recent Entries



foundeo


did you hack my cf?