A
_Andrew_B
Guest
Howdy folks,
I'd like to read/backup a single file transparently to another program. Using fileshare.ReadWrite |fileshare.Delete I can handle every case other than the other program trying to delete the file and recreate it while I'm reading it. (I'm ok with the file being crash consistent).
I've had no real luck getting this to work until I heard of the Volume Shadow Service
It looks like this thing would ask for applications to freeze for up to a minute and then store difs of the whole volume and in that way I could just access my log file.
Theoretically that should work, but it feels like hitting a fly with a sledgehammer.
I don't need a shadow of a whole volume, just a single file (or folder) and waiting 1 minute for a freeze is a bit slow (not to mention stopping the server from doing stuff)
Is there a way to tell VSS to not shadow the whole volume, OR is there another way to transparently access a file without interrupting the other program?
Thanks
-Andrew
Continue reading...
I'd like to read/backup a single file transparently to another program. Using fileshare.ReadWrite |fileshare.Delete I can handle every case other than the other program trying to delete the file and recreate it while I'm reading it. (I'm ok with the file being crash consistent).
I've had no real luck getting this to work until I heard of the Volume Shadow Service
It looks like this thing would ask for applications to freeze for up to a minute and then store difs of the whole volume and in that way I could just access my log file.
Theoretically that should work, but it feels like hitting a fly with a sledgehammer.
I don't need a shadow of a whole volume, just a single file (or folder) and waiting 1 minute for a freeze is a bit slow (not to mention stopping the server from doing stuff)
Is there a way to tell VSS to not shadow the whole volume, OR is there another way to transparently access a file without interrupting the other program?
Thanks
-Andrew
Continue reading...