For several days I try to find cmd solution to make incremental backup. Want to force robocopy/xcopy to reset archive attribute on source files when doing mirroring but with no success. I want to make each day mirror and each hour incremental backup in separate folders which work ok.
I want to daily create mirror c:\source folder tod:\backup\source folder. But need option to reset archive attribute "on the fly". /mir switch wont to this and /m switch do this but cant use this for mirroring purpose because I dont want to copy all unchanged files all over again. attrib -a c:\source\*.* /s is not solution because I have allot files.
Maybe is solution to use last modified timestamp instead archive attribute but how to do this?