Backing Up and Restoring the WINS Database
Protecting the WINS database
To protect your WINS databases from disasters and corruption, you should regularly back up your WINS databases.
The methods which you can use to back up the WINS database are:
-
You can use the WINS console to perform:
-
A manual back up of the WINS database
-
Schedule an automatic backup of the WINS database.
-
-
You can use the ntbackup.exe utility to back up the WINS database. The Windows Server 2003 Volume Shadow Copy feature allows you to back up the WINS database while it is online. In previous Windows versions, you first had to stop the WINS service before you could start backing up the database.
-
Back up the WINS database from the command-line, using the netsh.exe command line utility.
If you have backed up the WINS database, you can restore a previously backed up version when the existing WINS database becomes corrupt, or is lost.
-
You can use the WINS console to restore a previously backed up WINS database.
-
You can also use the netsh.exe command-line utility if you want to restore the database from the command-line.
How to manually back up the WINS database
-
Click Start, Administrative Tools, and then click WINS to open the WINS console.
-
In the console tree, right-click the WINS server whose database you want to back up, and then select Back Up Database from the shortcut menu.
-
The Browse For Folder dialog opens.
-
If you want to create a new folder to store the WINS database backup, click the Make New Folder button. Provide a name for the new folder.
-
If you want to store the WINS database backup in an existing folder, browse to the particular folder.
-
Click OK to start backing up the WINS database.
-
Click OK when a message appears, indicating that the database back up was completed successfully.
How to schedule an automatic backup of the WINS database
-
Click Start, Administrative Tools, and then click WINS to open the WINS console.
-
In the console tree, right-click the WINS server whose database you want to schedule for an automatic backup, and then select Properties from the shortcut menu.
-
On the General tab, specify the path (location) for the automatic backup in the Default Backup Path box.
-
Select the Back up database during server shutdown checkbox.
-
Click OK.
How to enable Volume Shadow Copy to perform an online back up of the WINS database
-
Click Start, My Computer, and then click Open
-
Right-click the particular system volume, and then select Properties from the shortcut menu.
-
The system volume Properties dialog opens.
-
Click the Shadow Copies tab.
-
Select the system volume in the Select A Volume: box, and click the Enable button.
-
Click Yes to the warning message that is displayed, to continue enabling the Volume Shadow Copy feature.
-
Once Volume Shadow Copy is enabled, you can run ntbackup to back up the WINS databases while they are online.
How to back up the WINS database from the command-line
You can use the netsh.exe command line utility to back up the WINS database from the command line.
The command syntax for backing up the WINS database is:
netsh wins winsserver init Backup Dir=c:backupdir Type=0
-
winsserver
, is name of the WINS server -
c:backupdir
, is location for the back up. -
Type=0
, indicates full backup,Type=1
indicates incremental backup
How to restore the WINS database using the WINS console
-
Click Start, Administrative Tools, and then click WINS to open the WINS console.
-
I the console tree, right-click the WINS server whose database you want to restore, and select All Tasks, and then select Stop from the shortcut menu. The WINS service has to be stopped before any database restores can be performed.
-
In the console tree, right-click the WINS server again and then select Restore Database from the shortcut menu.
-
The Browse For Folder dialog opens.
-
Navigate to the location of the folder which was used to store the previous WINS database backup.
-
Click OK.
-
WINS proceeds to restore the database.
-
The WINS service is automatically restarted.
How to restore the WINS database from the command-line
The command syntax for restoring the WINS database is:
netsh wins winsserver init Restore Dir=c:backupdir Type=0
-
winsserver
, is name of the WINS server -
c:backupdir
, is location that must be used for the restore
Comments - No Responses to “Backing Up and Restoring the WINS Database”
Sorry but comments are closed at this time.