3bae3f4f4fb6c1335e1398f431eeea4e.pdf

(343 KB) Pobierz
Contents
Backup
Registry Keys and Values for Backup and Restore
Srdelayed.exe
Tape Backup
Tape Initialization
Tape Input and Output
Creating a Backup Application
Backing Up and Restoring Hard Links
Single-Instance Store and SIS Backup
SIS Links and Reparse Points
The SIS Common Store and Common-Store Files
Advantages of Using SIS
Backup Reference
Backup Functions
BackupRead
BackupSeek
BackupWrite
CreateTapePartition
EraseTape
GetTapeParameters
GetTapePosition
GetTapeStatus
PrepareTape
SetTapeParameters
SetTapePosition
SisCreateBackupStructure
SisCreateRestoreStructure
SisCSFilesToBackupForLink
SisFreeAllocatedMemory
SisFreeBackupStructure
SisFreeRestoreStructure
SisRestoredCommonStoreFile
SisRestoredLink
WriteTapemark
Backup Structures
TAPE_ERASE
TAPE_GET_DRIVE_PARAMETERS
TAPE_GET_MEDIA_PARAMETERS
TAPE_GET_POSITION
TAPE_PREPARE
TAPE_SET_DRIVE_PARAMETERS
TAPE_SET_MEDIA_PARAMETERS
TAPE_SET_POSITION
TAPE_WRITE_MARKS
WIN32_STREAM_ID
Backup
1/7/2020 • 2 minutes to read • Edit Online
Registry keys for backup and restore allow backup applications to communicate with other applications and
services about backup and restore operations. For more information, see
Registry Keys and Values for Backup and
Restore.
The tape backup API enables backup applications to read from and write to a tape, initialize a tape, and retrieve
tape or tape drive information. For more information, see
Tape Backup.
Single-instance store (SIS ) is an architecture designed to maintain duplicate files with a minimum of overhead.
Backup application use the SIS backup API to access the SIS architecture. For more information, see
Single-
Instance Store and SIS Backup.
Backup and restore of encrypted files is enabled by the raw encryption API, which reads and writes encrypted files
while keeping the data in encrypted format. The API allows the encrypted data in these files to be backed up and
restored, while meeting the goals of maintaining the security of the backed up data, and being usable by an
application that lacks permission to use the encryption keys on the file. For more information, see
Backup and
Restore of Encrypted Files.
The Srdelayed tool can enable system state recovery applications to move, delete, and set the short name of
system files. For more information, see
Srdelayed.exe.
Related topics
B
a
c
k
u
p
R
e
f
e
r
e
n
c
e
Registry Keys and Values for Backup and Restore
1/7/2020 • 10 minutes to read • Edit Online
Applications that request or perform backup and restore operations should use the following registry keys and
values to communicate with each other or with features such as the
Volume Shadow Copy Service (VSS )
and
Windows Backup:
CustomPerformanceSettings
DisableMonitoring
FilesNotToBackup
FilesNotToSnapshot
IdleTimeout
KeysNotToRestore
LastInstance
LastRestoreId
MaxShadowCopies
MinDiffAreaFileSize
OverallPerformanceSetting and CustomPerformanceSettings
SYSVOL
CustomPerformanceSettings
See
OverallPerformanceSetting and CustomPerformanceSettings.
DisableMonitoring
On Windows client platforms beginning with Windows 7, users are automatically prompted to configure the
Windows Backup feature if they have not already done so. These notifications appear at computer startup time,
beginning seven days after the operating system is installed. They also appear when the user plugs in a hard disk
drive; in this case, the notifications appear immediately.
OEMs and developers of third-party backup applications can use the
DisableMonitoring
registry value to turn
off these automatic notifications.
This value does not exist by default, so it must be created under the following registry key:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\WindowsBackup
The
DisableMonitoring
registry value has the data type REG_DWORD and is interpreted as follows:
If the value's data is set to 1 and if users have not already configured the Windows Backup feature, the
automatic notifications are turned off. If an automatic notification is already present in Action Center, setting
this registry value causes the notification to be removed at 10:00 the following morning.
If the value does not exist, if its data is not set, or if its data is set to zero, the automatic notifications are not
turned off.
Windows Vista and Windows XP:
This registry value is not supported.
FilesNotToBackup
The
FilesNotToBackup
registry key specifies the names of the files and directories that backup applications
should not backup or restore. Each of the entries in this key is a REG_MULTI_SZ string in the following format:
[
Drive
][
Path
]\FileName [/s]
Drive
specifies the drive and is optional. For example, c:. To specify all drives, use a backslash (); no drive letters
are needed.
Path
specifies the path and is optional. It cannot contain wildcard characters.
FileName
specifies the file or directory and is required. It can contain wildcard characters.
/s specifies that all subdirectories of the specified path are to be included.
Environment variables such as %Systemroot% can be substituted for all or part of the entire string.
The following table shows some typical entries.
ENTRY NAME
DEFAULT VALUE
Internet Explorer
Memory Page File
MS Distributed Transaction Coordinator
Temporary Files
\Pagefile.sys
C:\Windows\system32\MSDtc\MSDTC.LOG
C:\Windows\system32\MSDtc\trace\dtctrace.log
%Systemroot%\CSC\* /s
\hiberfil.sys
\SIS Common Store\*.* /s
%TEMP%\* /s
Offline Files Cache
Power Management
Single Instance Storage
Temporary Files
NOTE
Applications that perform volume-level backups generally do so by copying the entire volume at the block level, so they
cannot honor the
FilesNotToBackup
registry key at backup time. Instead, they wait until restore time to delete the files that
were not to be backed up. In most cases, this is a reasonable strategy. However, in the case of Single Instance Storage files,
the SIS Common Store files must not be deleted at restore time.
For block-level volume backups, Windows Server Backup and the Windows Wbadmin utility honor the
FilesNotToBackup
registry key by deleting the appropriate files at restore time. System Restore and System State
Backup do not honor the
FilesNotToBackup
registry key.
Windows XP:
System Restore honors the
FilesNotToBackup
registry key.
FilesNotToSnapshot
VSS supports the
FilesNotToSnapshot
registry key. Applications and services can use this key to specify files to
be deleted from newly created shadow copies. For more information, see
Excluding Files from Shadow Copies.
Windows Server 2003 and Windows XP:
This registry key is not supported.
For block-level volume backups, Windows Server Backup honors the
FilesNotToSnapshot
registry key by
Zgłoś jeśli naruszono regulamin