Cheat sheet

Backup & VSS — Cheat sheet

Windows backup and VSS reference covering 3-2-1-1-0, RPO/RTO, writers, providers, shadow storage, events and restore validation.

⌚ About 3 min read
View my favorites
BackupIntermediate to advanced8 sections · 32 reference points

Windows backup and VSS reference covering 3-2-1-1-0, RPO/RTO, writers, providers, shadow storage, events and restore validation.

Strategy & objectives

3-2-1-1-0
3 copies, 2 supports, 1 hors site, 1 offline/immutable, 0 erreur après vérification

Resilience principle, not a product-specific configuration.

RPO
Perte de data maximale acceptable

Determines required backup frequency.

RTO
Temps maximal de reprise acceptable

Includes detection, restore and return to service.

Restore test
Restaurer périodiquement fichier, VM ou application

A green backup that was never restored is insufficient evidence.

VSS state

Writers
vssadmin list writers

Required writers should ideally be Stable / No error before the job.

Providers
vssadmin list providers

Identifies Microsoft and third-party providers.

Shadow copies
vssadmin list shadows

Lists existing VSS snapshots without deleting them.

Shadow storage
vssadmin list shadowstorage

Checks reserved, used and maximum shadow storage.

VSS
Get-Service VSS

VSS may be Manual/stopped outside operations without being faulty.

Software Provider
Get-Service swprv

Correlate with providers actually in use.

COM+ Event System
Get-Service EventSystem

Some writers depend on additional application services.

Writer state before/after
vssadmin list writers

Capture before restarting to preserve evidence of Failed state.

Windows events

VSS log events
Get-WinEvent -FilterHashtable @{LogName='Application';ProviderName='VSS';StartTime=(Get-Date).AddHours(-8)} -ErrorAction SilentlyContinue

Correlate timestamps with the backup job.

VolSnap events
Get-WinEvent -FilterHashtable @{LogName='System';ProviderName='volsnap';StartTime=(Get-Date).AddHours(-8)} -ErrorAction SilentlyContinue

Useful for shadow-copy storage issues.

Event 8193
Erreur VSS souvent liée à accès/COM+/registry selon contexte

Do not assume one root cause; read the full event message.

Event 12289
Erreur de création/traitement snapshot

Correlate provider, volume, I/O and available space.

Storage & capacity

Volumes
Get-Volume | Where-Object DriveLetter

Check free space on source, destination and system volumes.

Disks
Get-PhysicalDisk | Select FriendlyName,HealthStatus,OperationalStatus,Size

Storage latency/errors can surface as VSS timeouts.

Full shadow storage
vssadmin list shadowstorage

A low maximum may cause snapshot deletion or failure.

I/O
PerfMon / outils constructeur / logs stockage

VSS depends on storage; fix hardware/storage errors before resetting VSS.

Common errors

Writer Failed
Writer spécifique en état Failed

Identify owning service/application before restart.

Timeout
Writer ou provider ne répond pas à temps

Check load, I/O, stuck services or concurrent backup.

Provider veto
Le provider refuse l’opération

Check third-party provider, storage and related events.

Insufficient space
Snapshot/shadow storage ne peut croître

Measure capacity before changing limits.

Backup job validation

Application status
Succès du job + absence d’avertissement critique

Success with warning may still leave objects unprotected.

Size & duration
Comparer aux tendances habituelles

Unusually small/fast backups deserve investigation.

Backup chain
Check incrémentaux, full et dépendances

Do not manually delete chain members without understanding dependencies.

Restore
Tester restauration vers emplacement isolé

Validate files, permissions and application consistency.

Before VSS repairs

Capture
writers + providers + shadows + events

Preserve evidence before any restart.

Identify writer
Name exact + service/application propriétaire

Repairs should be targeted, not blanket resets.

Check concurrency
Autres jobs backup/snapshot en cours

Concurrent snapshot engines can conflict.

Rollback plan
Backup/configuration avant registre ou COM+

Do not alter COM+/registry without documented rollback.

Key points

  • Avoid blanket VSS reset scripts as a first response.
  • Never delete all shadow copies without understanding restore/application impact.
  • Restore testing is the final validation of backup strategy.
  • VSS errors can be symptoms of storage, load or application problems.
← All cheat sheets
♡ 0