How to use Windows Server Backup, WBADMIN, and NTDSUTIL to create backup media?
Here we have three Main tools built in Server 2008 for backup:
*Windows Server Backup - A GUI (A Graphical user interface) tool that creates simple backups (replaces NTBackup).
*Wbadmin - A command line tool for creating and scheduling backups (Also available in server core).
*Ntdsutil - An extermely powerful tool to do advanced backup operations (and a lot more) specifically for AD files and database.
________________________________________________________________
*Windows Server Backup :
*This feature you mst install before using - it doesn't install automatically.
*It only : Backups to a shared folder (Network Attached stoarge ) or to DVD
*Back up entires volumes
*Overwrites previous backups if you backup to the same shared folder over and over.
*Its greaet for simple backups for small organisations.
_________________________________________________________________
WDADMIN - Stronger tools and more options
*It is command line that provides more power to your backup options:
*It can run a one time backup
*It can schedule regualr backups
*It can backup your system state which includes all the guts of your DC:
-Registry
-Boot files
-System files
-AD Directory services database
-Sysvol directory
*System state data can be restored using WBADMIN or using the graphical windows server backup.
____________________________________________________________________
NTDSUTIL - Super powered utility for lots of operations with a funny name!
*NTDSUTIL is specifically for AD, and not so much backing up your whole server.
*In terms of creating backup media, it can create IFM (Install from Media) media for faster creation (Or re-creation, as the case may be) of a domain controller.
*It's an interactive tool, providing different commands depending on what context its used in.
*When Used in conjunction with media created by Wbadmin or windows server backup, it can allow you to restore AD objects like entire OU's.
*It can also take snapshots of your AD database so you see how your AD looks over time!
_________________________________________________________________________
MY Backup Strategy:
1) You will use windows server backup for nightly backups to the second disk on ADC.
2) Then create a system state backup on a weekly basis for emergency restoration.
3) IFM backup as an additional emergency solution and for easy addition of future domain controllers as well.
How to install Windows Server Backup?
Go to server Manger > Add features > Select Windows Server backup Features and continue the installation.
Now to open Windows Server Backup, Open Server Manager > Storage > Windows Server Backup.
Here we have two options Schedule backup and Backup once wizard.
1) First create a separate partition to save the Backups.
2) Once you create a partition,
Now open Windows Server Backup > Backup Schedule >
*You will be prompted with two option 1) "Full Server (Recommended) - It backups all your server data, applications and system state. 2) Custom - You can exclude some volumes from scheduled backups.
* We will select Customer > Next > Select the drive for backup > Here Specify Backup time > Select destination disk >Label destination disk > Confirmation >Close.
Backup once wizard:
When you click on Backup once wizard, you will be prompted with two options:
1) *The same options that you used in the Backup schedule wizard for scheduled backups.
*Different options - Choose this option if you have not created a scheduled backup or to specify a location or items for this backup that are different from the scheduled backup.
2) When you Select Different Options : You will get two options:
*Full Server (Recommended) - I want to backup all my server data, applications, and system state.
*Custom - I want to exclude some volumes from this backup
3) Now Select Backup items - you can select volumes the which you want to back up.
*Make sure to select Enable system recovery check mark.
4) Now Specify destination type : Choose the type of storage for the backup :
*Local drives or * Remote Shared folder
5) Now Backup destination : Select the Drive > Next
6) Now Specify Advanced option : Choose what type of volume shadow copy service (VSS) backup you want to create.
*VSS copy backup (Recommended) : Choose this option if you are using another backup product to backup applications that are on volumes included in the current backup. This option retains that application log files.
*VSS full backup : Choose this option if you are not using any other backup product to backup your applications. This option updates each files backup history and clears the application log files.
7) Confirmation > Next
8) Backup progress > Close
Now go to destination Drive example here E: to check for backed up data.
-----------------------------------------------------------
To start the WBADMIN backup.
1) Open Cmd in AD
2) Type wbadmin start systemstatebackup -backupTarget:e:
*Then you will be prompted that this would backup the system state from volumes Local disk C: to E:
Do you want tos tart the backup operation?
{Y}yes, {N} No press Y
*Now it will start the backup progress at the end you see it is completed successfully.
Once it is completed you can find the System backup in E drive.
_____________________________
NTDSUTIL
1) Open cmd
2) Type ntdsutil
ntdsutil: type help for more options.
3) Type IFM
4) Type Activate instance NTDS (Now it will look for AD domain service to backup)
5) For more option you can type Help or ?
6)Type Create Sysvol Full F:\IFM (IFM is backup folder name) once backup is done you can burn in a dvd drive or save it in pendrive for emergency.
7) IFM will backup Active directory, registry and Sysvol.You can check those folders in F drive backed up in IFM folder.
Notes :
*Windows Server backup - The builtin GUI for doing simple backups of entire volumes
*WBADMIN - A command line for doing standard backups and for creating system state backups
*NTDSUTIL - An AD-specific interactive command line tool for doing a lot of different and more powerful maintenance tasks on your AD. In terms of backup, NTDSUTIL creates IFM media.
*IFM - Install from Media - can be used to create (and recreate) domain controllers qucikly.
*System State backup - Created by WBADMIN, it contains only the guts of your AD that are absolutely necessary for faster restoration of a DC.
Here we have three Main tools built in Server 2008 for backup:
*Windows Server Backup - A GUI (A Graphical user interface) tool that creates simple backups (replaces NTBackup).
*Wbadmin - A command line tool for creating and scheduling backups (Also available in server core).
*Ntdsutil - An extermely powerful tool to do advanced backup operations (and a lot more) specifically for AD files and database.
________________________________________________________________
*Windows Server Backup :
*This feature you mst install before using - it doesn't install automatically.
*It only : Backups to a shared folder (Network Attached stoarge ) or to DVD
*Back up entires volumes
*Overwrites previous backups if you backup to the same shared folder over and over.
*Its greaet for simple backups for small organisations.
_________________________________________________________________
WDADMIN - Stronger tools and more options
*It is command line that provides more power to your backup options:
*It can run a one time backup
*It can schedule regualr backups
*It can backup your system state which includes all the guts of your DC:
-Registry
-Boot files
-System files
-AD Directory services database
-Sysvol directory
*System state data can be restored using WBADMIN or using the graphical windows server backup.
____________________________________________________________________
NTDSUTIL - Super powered utility for lots of operations with a funny name!
*NTDSUTIL is specifically for AD, and not so much backing up your whole server.
*In terms of creating backup media, it can create IFM (Install from Media) media for faster creation (Or re-creation, as the case may be) of a domain controller.
*It's an interactive tool, providing different commands depending on what context its used in.
*When Used in conjunction with media created by Wbadmin or windows server backup, it can allow you to restore AD objects like entire OU's.
*It can also take snapshots of your AD database so you see how your AD looks over time!
_________________________________________________________________________
MY Backup Strategy:
1) You will use windows server backup for nightly backups to the second disk on ADC.
2) Then create a system state backup on a weekly basis for emergency restoration.
3) IFM backup as an additional emergency solution and for easy addition of future domain controllers as well.
How to install Windows Server Backup?
Go to server Manger > Add features > Select Windows Server backup Features and continue the installation.
Now to open Windows Server Backup, Open Server Manager > Storage > Windows Server Backup.
Here we have two options Schedule backup and Backup once wizard.
1) First create a separate partition to save the Backups.
2) Once you create a partition,
Now open Windows Server Backup > Backup Schedule >
*You will be prompted with two option 1) "Full Server (Recommended) - It backups all your server data, applications and system state. 2) Custom - You can exclude some volumes from scheduled backups.
* We will select Customer > Next > Select the drive for backup > Here Specify Backup time > Select destination disk >Label destination disk > Confirmation >Close.
Backup once wizard:
When you click on Backup once wizard, you will be prompted with two options:
1) *The same options that you used in the Backup schedule wizard for scheduled backups.
*Different options - Choose this option if you have not created a scheduled backup or to specify a location or items for this backup that are different from the scheduled backup.
2) When you Select Different Options : You will get two options:
*Full Server (Recommended) - I want to backup all my server data, applications, and system state.
*Custom - I want to exclude some volumes from this backup
3) Now Select Backup items - you can select volumes the which you want to back up.
*Make sure to select Enable system recovery check mark.
4) Now Specify destination type : Choose the type of storage for the backup :
*Local drives or * Remote Shared folder
5) Now Backup destination : Select the Drive > Next
6) Now Specify Advanced option : Choose what type of volume shadow copy service (VSS) backup you want to create.
*VSS copy backup (Recommended) : Choose this option if you are using another backup product to backup applications that are on volumes included in the current backup. This option retains that application log files.
*VSS full backup : Choose this option if you are not using any other backup product to backup your applications. This option updates each files backup history and clears the application log files.
7) Confirmation > Next
8) Backup progress > Close
Now go to destination Drive example here E: to check for backed up data.
-----------------------------------------------------------
To start the WBADMIN backup.
1) Open Cmd in AD
2) Type wbadmin start systemstatebackup -backupTarget:e:
*Then you will be prompted that this would backup the system state from volumes Local disk C: to E:
Do you want tos tart the backup operation?
{Y}yes, {N} No press Y
*Now it will start the backup progress at the end you see it is completed successfully.
Once it is completed you can find the System backup in E drive.
_____________________________
NTDSUTIL
1) Open cmd
2) Type ntdsutil
ntdsutil: type help for more options.
3) Type IFM
4) Type Activate instance NTDS (Now it will look for AD domain service to backup)
5) For more option you can type Help or ?
6)Type Create Sysvol Full F:\IFM (IFM is backup folder name) once backup is done you can burn in a dvd drive or save it in pendrive for emergency.
7) IFM will backup Active directory, registry and Sysvol.You can check those folders in F drive backed up in IFM folder.
Notes :
*Windows Server backup - The builtin GUI for doing simple backups of entire volumes
*WBADMIN - A command line for doing standard backups and for creating system state backups
*NTDSUTIL - An AD-specific interactive command line tool for doing a lot of different and more powerful maintenance tasks on your AD. In terms of backup, NTDSUTIL creates IFM media.
*IFM - Install from Media - can be used to create (and recreate) domain controllers qucikly.
*System State backup - Created by WBADMIN, it contains only the guts of your AD that are absolutely necessary for faster restoration of a DC.
No comments:
Post a Comment