The good: I have specified a custom directory for config histories in my IIS config. IIS is correctly creating histories in that directory.
The bad: However, when I issue the command 'appcmd list backup' IIS lists the histories/backups that were created in the original default backup directory (c:\inetpub\history) and not my custom one.
Smells like a bug? Below are a series of commands that show:
-
my config
-
the output of appcmd list backup
-
the content of my custom directory (d:\var\iis\history)
-
the content of the iis default history directory (c:\inetpub\history)
-
the contents of the iis backup directory (for explicitly made backups ... (c:\Windows\System32\inetsrv\backup)
You can see that the output of #2 is showing the contents of directories #4 and #5, whereas it should be showing the contents of directory #3 & #5). Just in case, I also tried emptying out the contents of #4 ... but that fixed nothing.
Something I'm missing? A bug?
C:\Windows\System32\inetsrv>Appcmd list config /section:configHistory /config:*
<system.applicationHost>
<configHistory enabled="true" path="d:\var\iis\history" maxHistories="80" per
iod="00:02:00" />
</system.applicationHost>
C:\Windows\System32\inetsrv>appcmd list backup
BACKUP "test"
BACKUP "CFGHISTORY_0000000001"
BACKUP "CFGHISTORY_0000000002"
BACKUP "CFGHISTORY_0000000003"
BACKUP "CFGHISTORY_0000000004"
BACKUP "CFGHISTORY_0000000005"
BACKUP "CFGHISTORY_0000000006"
BACKUP "CFGHISTORY_0000000007"
C:\Windows\System32\inetsrv>dir d:\var\iis\history
Volume in drive D is SRVC2K_D
Volume Serial Number is 484C-1029
Directory of d:\var\iis\history
07/03/2009 03:30 PM <DIR> .
07/03/2009 03:30 PM <DIR> ..
06/26/2009 09:05 AM <DIR> CFGHISTORY_0000000001
06/26/2009 09:22 AM <DIR> CFGHISTORY_0000000002
06/26/2009 09:24 AM <DIR> CFGHISTORY_0000000003
06/26/2009 09:54 AM <DIR> CFGHISTORY_0000000004
06/26/2009 10:31 AM <DIR> CFGHISTORY_0000000005
06/26/2009 10:35 AM <DIR> CFGHISTORY_0000000006
06/26/2009 10:37 AM <DIR> CFGHISTORY_0000000007
06/26/2009 01:33 PM <DIR> CFGHISTORY_0000000008
06/26/2009 01:35 PM <DIR> CFGHISTORY_0000000009
06/26/2009 01:37 PM <DIR> CFGHISTORY_0000000010
06/26/2009 01:51 PM <DIR> CFGHISTORY_0000000011
06/30/2009 09:39 AM <DIR> CFGHISTORY_0000000012
06/30/2009 09:41 AM <DIR> CFGHISTORY_0000000013
06/30/2009 09:49 AM <DIR> CFGHISTORY_0000000014
06/30/2009 12:32 PM <DIR> CFGHISTORY_0000000015
06/30/2009 12:48 PM <DIR> CFGHISTORY_0000000016
06/30/2009 03:10 PM <DIR> CFGHISTORY_0000000017
06/30/2009 03:18 PM <DIR> CFGHISTORY_0000000018
06/30/2009 03:22 PM <DIR> CFGHISTORY_0000000019
06/30/2009 03:36 PM <DIR> CFGHISTORY_0000000020
06/30/2009 03:38 PM <DIR> CFGHISTORY_0000000021
06/30/2009 03:40 PM <DIR> CFGHISTORY_0000000022
06/30/2009 03:44 PM <DIR> CFGHISTORY_0000000023
06/30/2009 05:58 PM <DIR> CFGHISTORY_0000000024
06/30/2009 06:14 PM <DIR> CFGHISTORY_0000000025
07/01/2009 11:50 AM <DIR> CFGHISTORY_0000000026
07/01/2009 12:42 PM <DIR> CFGHISTORY_0000000027
07/01/2009 12:50 PM <DIR> CFGHISTORY_0000000028
07/01/2009 02:34 PM <DIR> CFGHISTORY_0000000029
07/01/2009 02:48 PM <DIR> CFGHISTORY_0000000030
07/01/2009 02:56 PM <DIR> CFGHISTORY_0000000031
07/01/2009 02:58 PM <DIR> CFGHISTORY_0000000032
07/01/2009 03:57 PM <DIR> CFGHISTORY_0000000033
07/01/2009 04:31 PM <DIR> CFGHISTORY_0000000034
07/01/2009 04:37 PM <DIR> CFGHISTORY_0000000035
07/01/2009 04:50 PM <DIR> CFGHISTORY_0000000036
07/01/2009 05:17 PM <DIR> CFGHISTORY_0000000037
07/01/2009 05:22 PM <DIR> CFGHISTORY_0000000038
07/03/2009 02:22 PM <DIR> CFGHISTORY_0000000039
07/03/2009 02:26 PM <DIR> CFGHISTORY_0000000040
07/03/2009 02:34 PM <DIR> CFGHISTORY_0000000041
07/03/2009 03:01 PM <DIR> CFGHISTORY_0000000042
07/03/2009 03:03 PM <DIR> CFGHISTORY_0000000043
07/03/2009 03:05 PM <DIR> CFGHISTORY_0000000044
07/03/2009 03:08 PM <DIR> CFGHISTORY_0000000045
07/03/2009 03:12 PM <DIR> CFGHISTORY_0000000046
07/03/2009 03:14 PM <DIR> CFGHISTORY_0000000047
07/03/2009 03:17 PM <DIR> CFGHISTORY_0000000048
07/03/2009 03:19 PM <DIR> CFGHISTORY_0000000049
07/03/2009 03:22 PM <DIR> CFGHISTORY_0000000050
07/03/2009 03:26 PM <DIR> CFGHISTORY_0000000051
07/03/2009 03:28 PM <DIR> CFGHISTORY_0000000052
07/03/2009 03:30 PM <DIR> CFGHISTORY_0000000053
0 File(s) 0 bytes
55 Dir(s) 6,006,648,832 bytes free
C:\Windows\System32\inetsrv>dir c:\inetpub\history
Volume in drive C is SRVC2K_C
Volume Serial Number is 7848-B609
Directory of c:\inetpub\history
07/03/2009 02:55 PM <DIR> .
07/03/2009 02:55 PM <DIR> ..
06/26/2009 08:59 AM <DIR> CFGHISTORY_0000000001
07/01/2009 03:18 PM <DIR> CFGHISTORY_0000000002
07/01/2009 03:24 PM <DIR> CFGHISTORY_0000000003
07/01/2009 04:59 PM <DIR> CFGHISTORY_0000000004
07/01/2009 05:06 PM <DIR> CFGHISTORY_0000000005
07/01/2009 05:13 PM <DIR> CFGHISTORY_0000000006
07/03/2009 02:55 PM <DIR> CFGHISTORY_0000000007
0 File(s) 0 bytes
9 Dir(s) 29,563,469,824 bytes free
C:\Windows\System32\inetsrv>dir c:\Windows\System32\inetsrv\backup
Volume in drive C is SRVC2K_C
Volume Serial Number is 7848-B609
Directory of c:\Windows\System32\inetsrv\backup
07/03/2009 03:31 PM <DIR> .
07/03/2009 03:31 PM <DIR> ..
07/03/2009 03:31 PM <DIR> test
0 File(s) 0 bytes
3 Dir(s) 29,563,469,824 bytes free
C:\Windows\System32\inetsrv>