We have a daily backup with acronis on our server, but for extra sanity I want to copy the .pst files from our file server to another server.
I am using forfiles on Windows 2008 and Hobocopy 1.0 stable, which is similar to robocopy but uses VSS to copy open and locked files. When I run this command I get an "ERROR: Files of type "*.pst" not found."
Batchfile
forfiles -p "C:\Data\Mail"/m *.pst -c "cmd /c c:\scripts\hobocopy.exe /incremental /skipdenied /verbosity=4 /r /ignorepattern=backup* echo @file x:\NetworkPSTbackuplocation"
If I run it on a specific user's directory I get a different error:
Batchfile
forfiles -p "C:\Data\Mail\UserFolder"/m *.pst -c "cmd /c c:\scripts\hobocopy.exe /incremental /skipdenied /verbosity=4 /r /ignorepattern=backup* /simulate @file C:\pstbackup"HoboCopy (c) 2006 Wangdera Corporation. hobocopy@wangdera.com...