2
2
mirror of https://github.com/octoleo/restic.git synced 2024-12-01 17:23:57 +00:00
restic/changelog/0.17.0_2024-07-26/pull-3067

26 lines
1.3 KiB
Plaintext
Raw Normal View History

2024-07-22 22:19:22 +00:00
Enhancement: Add extended options to configure Windows Shadow Copy Service
2020-11-06 03:18:30 +00:00
2024-07-22 22:19:22 +00:00
Previous, restic always used a 120 seconds timeout and unconditionally created
VSS snapshots for all volume mount points on disk. This behavior can now be
fine-tuned by the following new extended options (available only on Windows):
2020-11-06 03:18:30 +00:00
2024-07-22 22:19:22 +00:00
- `-o vss.timeout`: Time that VSS can spend creating snapshot before timing out (default: 120s)
- `-o vss.exclude-all-mount-points`: Exclude mountpoints from snapshotting on all volumes (default: false)
- `-o vss.exclude-volumes`: Semicolon separated list of volumes to exclude from snapshotting
- `-o vss.provider`: VSS provider identifier which will be used for snapshotting
For example, change VSS timeout to five minutes and disable snapshotting of
mount points on all volumes:
2020-11-06 03:18:30 +00:00
2024-04-28 22:18:46 +00:00
restic backup --use-fs-snapshot -o vss.timeout=5m -o vss.exclude-all-mount-points=true
2024-07-22 22:19:22 +00:00
Exclude drive `d:`, mount point `c:\mnt` and a specific volume from snapshotting:
2020-11-06 03:18:30 +00:00
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-07-22 22:19:22 +00:00
Uses 'Microsoft Software Shadow Copy provider 1.0' instead of the default provider:
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
2020-11-06 03:18:30 +00:00
https://github.com/restic/restic/pull/3067