mirror of
https://github.com/rclone/rclone.git
synced 2024-11-22 00:13:49 +01:00
Updated How to enable VSS for rclone (markdown)
parent
d9b2f1ca6f
commit
37dc57fc00
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user