Sunday, April 10, 2011

How to backup/restore IIS7 configuration

Bill Staples wrote about this topic on BillS IIS Blog and I wanted to document it for future reference.

"Backing up IIS7 configuration is as simple as copying the \windows\system32\inetsrv\config directory (and subdirectories) into a backup directory, so you don't need anything special to do it. Just include this directory in whatever your OS/content back-up plan is, or write a custom script to do it. To help make managing backups easy, we've added a simple cmd-line option to AppCmd.exe that makes management of backup/restore sets easy."

Backup
%windir%\system32\inetsrv\appcmd.exe add backup "My Backup Name"

Restore
%windir%\system32\inetsrv\appcmd.exe restore backup "My Backup Name"

Delete a backup
%windir%\system32\inetsrv\appcmd.exe delete backup "My Backup Name"

http://blogs.iis.net/bills/archive/2008/03/24/how-to-backup-restore-iis7-configuration.aspx

http://technet.microsoft.com/en-us/library/dd819406.aspx

http://technet.microsoft.com/en-us/library/dd819405.aspx

Mac 101: Change your icons

To change an item's icon to another one:
  1. Select the volume, application, folder, or file whose icon you want to stamp onto another, just click the icon to select it.
  2. From the File menu, choose Get Info or press Command-I to open the Info window.
  3. Click the icon in the upper-left corner of the Info window to select it.
  4. From the Edit menu, choose Copy or press Command-C.
  5. Select the volume, application, folder, or file whose icon you want to replace.
  6. From the File menu, choose Get Info or press Command-I.
  7. Click the icon in the upper-left corner.
  8. From the Edit menu, choose Paste or press Command-V to replace the icon.
http://support.apple.com/kb/ht2493

Tuesday, April 5, 2011