Updated How to enable VSS for rclone (markdown)

asdffdsa6131 2021-02-28 10:21:21 -05:00
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