Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Possible to copy open files on Windows with VSS? #990

Open
poulpoulsen opened this issue Jan 5, 2017 · 12 comments

Comments

@poulpoulsen
Copy link

commented Jan 5, 2017

Hello,
it would be very handy, if the program could copy, sync open files on windows plattform? As far as know therefor the program has to use VSS. Actual this is not implemented.
Any change to implement?

Best wishes
poul

@ncw ncw added the enhancement label Jan 5, 2017

@ncw

This comment has been minimized.

Copy link
Collaborator

commented Jan 5, 2017

Nice idea - any Windows developers reading this that would like to have a go?

@skizztle

This comment has been minimized.

Copy link

commented Jan 10, 2017

Much needed enhancement for sure!

@ncw

This comment has been minimized.

Copy link
Collaborator

commented Jan 11, 2017

Ask any developers you know to see if they could help :-)

@ncw ncw added this to the Help Wanted milestone Dec 14, 2017

@cowwoc

This comment has been minimized.

Copy link

commented Jan 16, 2018

@ncw Related RFE (until this is implemented): add an option to skip open files (don't count Access Denied tried to open them as an I/O error). I am hoping the error code you get back allows you to differentiate between permission problems vs the file being locked.

@ncw

This comment has been minimized.

Copy link
Collaborator

commented Jan 19, 2018

@cowwoc --ignore-errors is in the pipeline: see #642

@cowwoc

This comment has been minimized.

Copy link

commented Jan 22, 2018

@ncw I'm not asking to ignore all errors. I'm asking to ignore only "file is locked" errors. That said, I understand this is a short-term workaround and this option is no longer useful once VSS support is added.

@ncw

This comment has been minimized.

Copy link
Collaborator

commented Jan 22, 2018

@cowwoc Hmm, perhaps ignore errors needs to be more speficic. You might find it useful when it is done though...

@polar147

This comment has been minimized.

Copy link

commented Aug 26, 2019

Maybe this will be usefull for develop this feature using native Windows vssapi.dll or using AlphaVSS(http://alphavss.alphaleonis.com/)

https://docs.microsoft.com/en-us/windows/win32/api/vsbackup/nf-vsbackup-createvssbackupcomponentsinternal

@ncw

This comment has been minimized.

Copy link
Collaborator

commented Sep 3, 2019

If you look on this restic issue you'll see a script you could adapt for VSS with rclone.

@ncw

This comment has been minimized.

Copy link
Collaborator

commented Sep 9, 2019

asdffdsa posted this on the wiki on how to use VSS with rclone

https://github.com/rclone/rclone/wiki/How-to-enable-VSS-for-rclone

Discussion on the forum: https://forum.rclone.org/t/how-to-enable-vss-for-rclone-on-windows/11675

Comments appreciated :-)

@asdffdsa6131

This comment has been minimized.

Copy link

commented Sep 9, 2019

I saw about a comment about AlphaVSS.
I am a long time user of Cobian backup, that software uses AlphaVSS.

@cowwoc

This comment has been minimized.

Copy link

commented Sep 9, 2019

@ncw So... you're going to hate me for saying this... It would be nice if rclone invoked vshadow for us under the hood :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
6 participants
You can’t perform that action at this time.