Inscrivez-vous ou connectez-vous pour rejoindre votre communauté professionnelle.
BY adding Batch file in task scheduler ..& also By server backup feature..
3rd1 is3rd party softwares like VEAM, symantic...bla bla..Hahahha
Plz share , how to write batch file for system state backup on a network location wid scheduled method in easiest way ..plz
First you will open a command prompt with elevated privileges, click Start , right-click Command Prompt , and then click Run as administrator .
At the prompt, type:
wbadmin start systemstatebackup -backupTarget:<VolumeName> [-quiet]
For example, to create a system state backup with no prompts to the user and save it to volume D, type:
wbadmin start systemstatebackup -backupTarget:F: -quiet
To view the complete syntax for this command, at a command prompt, type:
Wbadmin start systemstatebackup /?
To open a command prompt with elevated privileges, click Start , right-click Command Prompt , and then click Run as administrator .
At the prompt, type:
wbadmin enable backup [-addtarget:<BackupTarget>] [-removetarget:<BackupTarget>] [-schedule:<TimeToRunBackup>] [-include:<ItemsToInclude> [-nonRecurseInclude:<ItemsToInclude>] [-exclude:<ItemsToExclude>] [-nonRecurseExclude:<ItemsToExclude>] [-allCritical] [-systemState] [-vssFull | -vssCopy] [-user:<UserName>] [-password:<Password>] [-quiet]
For example, to create a system state backup, daily at9 A.M., with no prompts to the user, and save it to volume F, type:
wbadmin enable backup -addtarget:F: -schedule:: -systemState -quiet
To view the complete syntax for this command, at a command prompt, type:
Wbadmin enable backup /?
but at the end i want give you advice don't depend on any tools not specialized in Backup and restore and i recommend Backup exec this is the best practice solution to make backup and restore
please review this link it will give you the details.
http://windowsitpro.com/windows-server-2008/q-how-can-i-perform-system-state-backup-my-windows-server-2008-system-command-li
Start>command prompt>run as administrator> wbadmin start systemstatebackup -backupTarget:<VolumeName> [quiet]
For example, to create a system state backup with no prompts to the user and save it to volume F, type:
wbadmin start systemstatebackup -backupTarget:F: -quiet
To open a command prompt with elevated privileges, click Start , right-click Command Prompt , and then click Run as administrator .
At the prompt, type:
wbadmin start systemstatebackup -backupTarget:<VolumeName> [-quiet]
For example, to create a system state backup with no prompts to the user and save it to volume F, type:
wbadmin start systemstatebackup -backupTarget:F: -quiet
To view the complete syntax for this command, at a command prompt, type:
Wbadmin start systemstatebackup /?
To set advanced backup options :
1- In the Backup dialog box, click the Backup tab, and then select the files and folders that you want to back up.
2- Click Start Backup .
3- In the Backup Job Information dialog box, click Advanced .
4- Set the advanced backup options that you want, and then click OK .
In Windows Server 2008 R2, you can use the Backup Schedule Wizard, the Backup Once Wizard, the Wbadmin start systemstatebackup command, the Wbadmin enable backup command, or the Windows PowerShell cmdlets for Windows Server Backup to create a backup of the system state for a server. A backup of the system state can be saved to a locally attached disk (either internal or external) or a remote shared folder. It cannot be saved to a DVD, optical media, or other removable storage media. In addition, when you create a system state backup, you can also add other files, folders, and volumes for recovery.