Is there a Windows application that can deploy files from one location to another, but also move away the files that are to be replaced at the destination, into an archive location?
Example scenario: Folder SourceUpdate represents a sub-set of the files found at Destination (i.e. not necessarily all the files). There is also be folder Archive. When a deployment is triggered (a manual operation), any files that are due to be replaced in Destination would be moved into a folder within Archive (such as Archive\[Date_Time]\ ), maintaining their folder structure. The SourceUpdate files are then copied up to the Destination folder.
It would be important that the archived files are moved away, rather than just renamed in their current folder before being renamed.
Ideally you would also then be able to trigger a rollback which would reverse this process, moving the archived files back to their original place and replacing the SourceUpdate files.
I don't think a PowerShell script would be that complicated and could provide this, though I'm wondering if there are good applications already out there.