mirror of
https://github.com/rclone/rclone.git
synced 2025-08-14 07:49:00 +02:00
Updated How to enable VSS for rclone (markdown)
@ -36,12 +36,12 @@ Let's say that we want to sync `c:\data\` to the cloud.
|
|||||||
mklink /d c:\snapshot\ %shadow_device_1%\
|
mklink /d c:\snapshot\ %shadow_device_1%\
|
||||||
|
|
||||||
rem Execute rclone with the source as c:\snapshot\data\, not c:\data\
|
rem Execute rclone with the source as c:\snapshot\data\, not c:\data\
|
||||||
rclone sync c:\snapshot\data\ dest:data
|
rclone sync c:\snapshot\data\ remote:data
|
||||||
|
|
||||||
rem Delete the symbolic link
|
rem Delete the symbolic link
|
||||||
rmdir c:\snapshot\
|
rmdir c:\snapshot\
|
||||||
|
|
||||||
To run the sync execute `vs.cmd` (1), which will:
|
To run the sync execute `vs.cmd`, which will:
|
||||||
1. Execute `vshadow.exe`, which will:
|
1. Execute `vshadow.exe`, which will:
|
||||||
1. Create the snapshot
|
1. Create the snapshot
|
||||||
2. Create a file named `setvars.cmd` with some variables identifying the snapshot created
|
2. Create a file named `setvars.cmd` with some variables identifying the snapshot created
|
||||||
|
Reference in New Issue
Block a user