Zitat von Dmitry Gromov <[email protected]>:
Hi, Andreas! On Friday, February 14, 2014 11:47:04 AM UTC-5, [email protected] wrote:Zitat von Dmitry Gromov: VSS provides a snapshot of the filesystem with all Applications which are "VSS-aware" taking care of a consistent state of their files in the snapshot. So related to the Systemstate the OS will take care that the files are usable and readable by the Backup System. If you restore a snapshot backup on a new disk all the files included in the Systemstate are there as they should. The only thing missing is to "automatically" repair a System without restoring the whole (boot-)volume.Well, yes, I know how VSS works. Once provider is requested to create shadow copy, it will provide snapshot to the requestor, which can be mounted as drive letter, for example, and copied. What I am asking is this - what happens in bareos client - will it be able to trigger appropriate VSS provider (SystemState, Hyper-V, etc.) and get the resulting snapshot and copy it?
That the reason to use VSS after all. All provider register for the volume in question and set their files to a save state before the snapshot requested by Bareos happens. So Bareos actually triggers all providers listed for the volume. It should look like this in the Bareos log:
14-Feb 19:16 swyx-fd JobId 8194: Generate VSS snapshots. Driver="Win32 VSS", Drive(s)="C" 14-Feb 19:17 swyx-fd JobId 8194: VSS Writer (BackupComplete): "System Writer", State: 0x1 (VSS_WS_STABLE) 14-Feb 19:17 swyx-fd JobId 8194: VSS Writer (BackupComplete): "SqlServerWriter", State: 0x1 (VSS_WS_STABLE) 14-Feb 19:17 swyx-fd JobId 8194: VSS Writer (BackupComplete): "MSDEWriter", State: 0x1 (VSS_WS_STABLE) 14-Feb 19:17 swyx-fd JobId 8194: VSS Writer (BackupComplete): "COM+ REGDB Writer", State: 0x1 (VSS_WS_STABLE) 14-Feb 19:17 swyx-fd JobId 8194: VSS Writer (BackupComplete): "Registry Writer", State: 0x1 (VSS_WS_STABLE) 14-Feb 19:17 swyx-fd JobId 8194: VSS Writer (BackupComplete): "Event Log Writer", State: 0x1 (VSS_WS_STABLE) 14-Feb 19:17 swyx-fd JobId 8194: VSS Writer (BackupComplete): "BITS Writer", State: 0x1 (VSS_WS_STABLE) 14-Feb 19:17 swyx-fd JobId 8194: VSS Writer (BackupComplete): "WMI Writer", State: 0x1 (VSS_WS_STABLE)
Bareos then simply backup the snapshot and destroy it afterwards. Regards Andreas
smime.p7s
Description: S/MIME Cryptographic Signature
