We have a script that was supposed to move LOG files off a server onto a local repository. It turned out the author of the script added an apostrophe by accident in the destination:
MOVE /y "C:\XXX\XXX\XXX\audit.*.log" "\\[FQDN]\XXX`$\XXX\XXX\XXX"
(Notice the apostrophe before the dollar sign)
The log files have been disappearing from the server and, presumably because of the typo, they have not been showing up in the repository server.
The third-party vendor who monitors the server has also mentioned that it seems the hard drive is getting filled up, which would be consistent with the size of the missing log files (around 500MB each, daily for the last 6 weeks).
Question: are these missing log files recoverable? Does Windows store files from a MOVE operation somewhere in a hidden/temp folder, or are they gone for good? For the time being, I'm not worried about the hard drive space, as I've corrected the error. I would like to recover the logs, if possible.
The OS of the server & repository are both Windows Server 2019 (I think).