restic/changelog/unreleased/pull-3067

23 lines
975 B
Text
Raw Normal View History

2020-11-06 03:18:30 +00:00
Enhancement: Add options to configure Windows Shadow Copy Service
Restic always used 120 sec. timeout and unconditionally created VSS snapshots
for all volume mount points on disk. Now this behavior can be fine-tuned by
2024-04-28 22:18:46 +00:00
new options, like exclude specific volumes and mount points or completely
2020-11-06 03:18:30 +00:00
disable auto snapshotting of volume mount points.
For example:
2024-04-28 22:18:46 +00:00
restic backup --use-fs-snapshot -o vss.timeout=5m -o vss.exclude-all-mount-points=true
2020-11-06 03:18:30 +00:00
changes timeout to five minutes and disable snapshotting of mount points on all volumes, and
2024-04-28 22:18:46 +00:00
restic backup --use-fs-snapshot -o vss.exclude-volumes="d:\;c:\mnt\;\\?\Volume{e2e0315d-9066-4f97-8343-eb5659b35762}"
2020-11-06 03:18:30 +00:00
2024-04-28 22:18:46 +00:00
excludes drive `d:`, mount point `c:\mnt` and specific volume from VSS snapshotting.
2020-11-06 03:18:30 +00:00
2021-03-23 04:41:45 +00:00
restic backup --use-fs-snapshot -o vss.provider={b5946137-7b9f-4925-af80-51abd60b20d5}
2024-04-28 22:18:46 +00:00
2021-03-23 04:41:45 +00:00
uses 'Microsoft Software Shadow Copy provider 1.0' instead of the default provider.
2020-11-06 03:18:30 +00:00
https://github.com/restic/restic/pull/3067