Information Technology Reference
In-Depth Information
See Also
￿
See Recipe 2-5 for backing up the database.
￿
See Recipe 2-6 for restoring the database.
￿
Microsoft KB 251067: “WINS Registry Parameters for Windows 2000.” This KB article was
originally written for Windows 2000 Server, but the Registry entries also apply to
Windows 2003.
2-5. Initiating a Backup of the Database
Problem
You want to manually start a backup of the WINS database.
Solution
Using a Graphical User Interface
1.
Open the WINS MMC snap-in.
2.
Right-click the server object in the left pane, and select Backup Database.
3.
Browse to the folder in which you want to save the database, and click OK.
Using a Command-Line Interface
You can initiate a backup of the database using the following command:
> netsh wins server init backup [Dir=] BackupDir [Type=]{0 | 1}
Here is a description of the command-line options:
Dir : Optional parameter that specifies the path to the folder in which you want to store the
backup. If omitted, the value specified in the WINS server's global properties will be used.
Type : Optional parameter that specifies the type of backup to perform. A value of 0 will
provide a full backup; a value of 1 will provide an incremental backup. The default backup
type is full.
For example, use this command to start an incremental backup and store it in c:\wins_bak :
> netsh wins server init backup dir=c:\wins_bak type=1
How It Works
This command is most useful when you cannot wait for the scheduled backup to occur. For
example, if you are planning to apply a service pack or make other changes to the server, you
will want to make certain that you have a fallback copy of the latest database.
Note that backups of remote servers are not supported through this command.
Search WWH ::




Custom Search