For Windows 2003 Server if we want to take backup and restore it in another Windows machine, we have a very handy command "netsh"
c:\> netsh ?
Commands in this context:
? - Displays a list of commands.
aaaa - Changes to the `netsh aaaa' context.
add - Adds a configuration entry to a list of entries.
bridge - Changes to the `netsh bridge' context.
delete - Deletes a configuration entry from a list of entries.
dhcp - Changes to the `netsh dhcp' context.
diag - Changes to the `netsh diag' context.
dump - Displays a configuration script.
exec - Runs a script file.
firewall - Changes to the `netsh firewall' context.
help - Displays a list of commands.
interface - Changes to the `netsh interface' context.
ipsec - Changes to the `netsh ipsec' context.
ras - Changes to the `netsh ras' context.
routing - Changes to the `netsh routing' context.
rpc - Changes to the `netsh rpc' context.
set - Updates configuration settings.
show - Displays information.
wins - Changes to the `netsh wins' context.
winsock - Changes to the `netsh winsock' context.
To take IAS server backup
Server 1
c:\> netsh aaaa show config > backup.txt
Server 2 ( restore)
c:> netsh exec backup.txt
To take DHCP Server backup and restore
Server 1
c:\> netsh dhcp server export dhcpbackup.txt all
Server 2
c:\> netsh dhcp server import dhcpbackup.txt all
c:\> netsh ?
Commands in this context:
? - Displays a list of commands.
aaaa - Changes to the `netsh aaaa' context.
add - Adds a configuration entry to a list of entries.
bridge - Changes to the `netsh bridge' context.
delete - Deletes a configuration entry from a list of entries.
dhcp - Changes to the `netsh dhcp' context.
diag - Changes to the `netsh diag' context.
dump - Displays a configuration script.
exec - Runs a script file.
firewall - Changes to the `netsh firewall' context.
help - Displays a list of commands.
interface - Changes to the `netsh interface' context.
ipsec - Changes to the `netsh ipsec' context.
ras - Changes to the `netsh ras' context.
routing - Changes to the `netsh routing' context.
rpc - Changes to the `netsh rpc' context.
set - Updates configuration settings.
show - Displays information.
wins - Changes to the `netsh wins' context.
winsock - Changes to the `netsh winsock' context.
To take IAS server backup
Server 1
c:\> netsh aaaa show config > backup.txt
Server 2 ( restore)
c:> netsh exec backup.txt
To take DHCP Server backup and restore
Server 1
c:\> netsh dhcp server export dhcpbackup.txt all
Server 2
c:\> netsh dhcp server import dhcpbackup.txt all