RE: Best practice for backup of CF Application server?
For CF application... I backup the XML files and custom tags when I make changes. All of our templates are on a separate hard drive in the server and that is backed up every night. -Original Message- From: Chuck Wyatt [mailto:cwy...@clarku.edu] Sent: Wednesday, October 13, 2010 7:23 AM To: cf-talk Subject: Best practice for backup of CF Application server? We're running ColdFusion 9, and I understand we can backup the XML files in Web-INF to get the datasource "meta data" for a less troublesome restore, God forbid we'd have to do that at any point. Aside from CFM templates of the site itself, should we also backup the CFIDE tree? Anything else that would be a good practice in the event we'd need to recover a site on short notice? Thanks so much, Chuck ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:338121 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
RE: Best practice for backup of CF Application server?
> You might want to back up your web server configuration also For IIS6, here is the batch file we use to perform a scheduled backup of the metabase as well as an XML export. Hopefully it can benefit anyone else out there who isn't backing up their metabase regularly. (Note: gf-bigmama is a file server which holds our initial backups before they get shipped off-site, so replace that with a path you're comfortable with) @echo off md \\gf-bigmama\metabases\%computername% cd %SystemRoot%\system32 cscript.exe iisback.vbs /backup /b SchedBackup /v 0 /overwrite del \\gf-bigmama\metabases\%computername%\%computername%.xml cscript iiscnfg.vbs /export /f \\gf-bigmama\metabases\%computername%\%computername%.xml /sp /lm /inherited /children MOVE %SystemRoot%\system32\inetsrv\MetaBack\SchedBackup.* \\gf-bigmama\metabases\%computername% My understanding for IIS7 is that any configuration changes made to a site are written to web.config in the site's root folder, so backing up that file along with the rest of the site brings its settings along with it. I'm not familiar with where IIS7 stores its actual site listing though, I'm fairly certain they did away with the metabase itself though. I suspect there's some XML file hanging out somewhere that would just need to be copied. -Justin ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:338119 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Best practice for backup of CF Application server?
actually you can take a copy of the whole coldfusion install folder, and if you have to reinstall CF, you can just copy it over the top and everything will be restored. Stopping the services first of course. We have also used this method to roll back after a failed cf 9.0.1 upgrade. Russ On Wed, Oct 13, 2010 at 3:23 PM, Chuck Wyatt wrote: > > We're running ColdFusion 9, and I understand we can backup the XML files in > Web-INF to get the datasource "meta data" for a less troublesome restore, > God forbid we'd have to do that at any point. > > Aside from CFM templates of the site itself, should we also backup the > CFIDE tree? Anything else that would be a good practice in the event we'd > need to recover a site on short notice? > > Thanks so much, > > Chuck > > ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:338117 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Best practice for backup of CF Application server?
> We're running ColdFusion 9, and I understand we can backup the XML files in > Web-INF to get the datasource "meta data" for a > less troublesome restore, God forbid we'd have to do that at any point. > > Aside from CFM templates of the site itself, should we also backup the CFIDE > tree? Anything else that would be a good practice > in the event we'd need to recover a site on short notice? You might want to back up your web server configuration also - there's typically a bunch of important details in there. If you're using Apache, this is typically very easy to do. If you're using IIS, you can explicitly back up the entire metabase (or whatever they call it now) or specific items. If you're using SSL certificates, you want to make sure you have the certificate files (including CSRs) backed up somewhere also. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ http://training.figleaf.com/ Fig Leaf Software is a Veteran-Owned Small Business (VOSB) on GSA Schedule, and provides the highest caliber vendor-authorized instruction at our training centers, online, or onsite. ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:338116 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Best practice for backup of CF Application server?
We're running ColdFusion 9, and I understand we can backup the XML files in Web-INF to get the datasource "meta data" for a less troublesome restore, God forbid we'd have to do that at any point. Aside from CFM templates of the site itself, should we also backup the CFIDE tree? Anything else that would be a good practice in the event we'd need to recover a site on short notice? Thanks so much, Chuck ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:338115 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm