最後更新: 2019-01-29
介紹
Windows System Restore is a workstation operating system feature (e. g. Windows 7)
and as such is not found on Microsoft Server Operating Systems, including Windows Server 2012.
However, the server operating systems include the Windows Server Backup feature which can be used to create full backups of the system,
or a System State backup which is quite similar to a Restore Point created by Windows System Restore.
Usage
Install
Server Manager > Manage > Add Roles and Features.
GUI
Administrative Tools -> Windows Server Backup (%windir%\system32\wbadmin.msc)
CLI
wbadmin start systemstatebackup -backuptarget:<targetDrive>:
i.e.
wbadmin start systemstatebackup -backuptarget:G:
backup 完成後, 會有 G:\WindowsImageBackup\HOSTNAME\
Backup on network
# A system state backup to a shared network folder is not supported on a computer running Windows Server 2008.
-backuptarget:\\servername\sharedFolder\
AD backup
active directory backup => backup systemstate
Backup file
Ntds.dit # Main AD DS DB file
Edb.log # transaction log
Edbxxxxx.log # auxiliary transaction logs (used to store changes if the main Edb.log file gets full before it can be flushed to Ntds.dit)
When the Edb.log file fills up, an Edbtemp.log file is opened.
The original Edb.log file is renamed to Edb00001.log, and Edbtemp.log is renamed to Edb.log file,
and the process starts over again.
Excess log files are deleted after they have been committed.
You may see more than one Edbxxxxx.log file if a busy domain controller has many updates pending.
Edb.chk # DB checkpoint file (track data not yet written from Edb*.log to Ntds.dit)
Edbres*.jrs # reserved transaction log file (allow to process transactions if the server runs out of disk space)