If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
Thread Tools | Rate Thread | Display Modes |
#1
|
|||
|
|||
sync command for windows?
Hi All,
Linux has a command called "sync" sync - flush file system buffers Force changed blocks to disk, update the super block. I like to call it before and after doing back ups. Is there an equivalent Windows command for this? Many thanks, -T |
Ads |
#2
|
|||
|
|||
sync command for windows?
T on 2016/12/09 wrote:
Linux has a command called "sync" sync - flush file system buffers Force changed blocks to disk, update the super block. I like to call it before and after doing back ups. Is there an equivalent Windows command for this? SysInternals' sync program. Probably uses the FlushFileBuffers function (after enumerating the open handles on files) noted at: https://msdn.microsoft.com/en-us/lib...(v=vs.85).aspx |
#3
|
|||
|
|||
sync command for windows?
On 12/09/2016 12:45 PM, VanguardLH wrote:
T on 2016/12/09 wrote: Linux has a command called "sync" sync - flush file system buffers Force changed blocks to disk, update the super block. I like to call it before and after doing back ups. Is there an equivalent Windows command for this? SysInternals' sync program. Probably uses the FlushFileBuffers function (after enumerating the open handles on files) noted at: https://msdn.microsoft.com/en-us/lib...(v=vs.85).aspx Hi Vanguard, Perfect! Thank you! Sync: https://technet.microsoft.com/en-us/...rnals/bb897438 I will probably be incorporating this in all my pre and post scripts for Cobian Backup. -T |
#4
|
|||
|
|||
sync command for windows?
In message , T writes:
On 12/09/2016 12:45 PM, VanguardLH wrote: T on 2016/12/09 wrote: Linux has a command called "sync" sync - flush file system buffers Force changed blocks to disk, update the super block. I like to call it before and after doing back ups. Is there an equivalent Windows command for this? SysInternals' sync program. Probably uses the FlushFileBuffers function (after enumerating the open handles on files) noted at: https://msdn.microsoft.com/en-us/lib.../aa364451(v=vs. 85).aspx Hi Vanguard, Perfect! Thank you! Sync: https://technet.microsoft.com/en-us/...rnals/bb897438 I will probably be incorporating this in all my pre and post scripts for Cobian Backup. -T Probably not what you're after, but I also find their SyncToy useful: https://www.microsoft.com/en-gb/down....aspx?id=15155 (scroll down - that page has a little advert at the top today). -- J. P. Gilliver. UMRA: 1960/1985 MB++G()AL-IS-Ch++(p)Ar@T+H+Sh0!:`)DNAf The squeamish will squeam a lot. (Barry Norman on the film "300", in Radio Times 30 March-5 April 2013.) |
#5
|
|||
|
|||
sync command for windows?
On 12/10/2016 03:53 AM, J. P. Gilliver (John) wrote:
In message , T writes: On 12/09/2016 12:45 PM, VanguardLH wrote: T on 2016/12/09 wrote: Linux has a command called "sync" sync - flush file system buffers Force changed blocks to disk, update the super block. I like to call it before and after doing back ups. Is there an equivalent Windows command for this? SysInternals' sync program. Probably uses the FlushFileBuffers function (after enumerating the open handles on files) noted at: https://msdn.microsoft.com/en-us/lib.../aa364451(v=vs. 85).aspx Hi Vanguard, Perfect! Thank you! Sync: https://technet.microsoft.com/en-us/...rnals/bb897438 I will probably be incorporating this in all my pre and post scripts for Cobian Backup. -T Probably not what you're after, but I also find their SyncToy useful: https://www.microsoft.com/en-gb/down....aspx?id=15155 (scroll down - that page has a little advert at the top today). Hi J.P., The word "sync" means a lot of things. I am after "flush[ing] file system buffers" But thank you anyway, I am always look for file sync programs that actually work right. Rsync is easy to use under Linux, but cumbersome under Windows. I have started using Cobain Backup for sync'ing files a lot. But ... -T |
Thread Tools | |
Display Modes | Rate This Thread |
|
|