Script to backup files to network drive
Hello,
I have a script set up to run on user logoff through GP on Windows 7 to backup a file from the user area to the network drive. When the user logs off I can see the script flash up (so i take it it's running) but the file doesn't get updated on the network area. The only thing I can think is that the network share is getting disconnected before the script can copy the file.
Is there any other place I should run the script or is there any way to keep the network share linked until the file has copied?
Answers (3)
Robocopy seemed to fixed my issue. I had been using xcopy which didn't seem to work on logoff but the robocopy did.
What'd you write the script in?
See if this is applicable at all - http://social.technet.microsoft.com/Forums/en-US/w7itpronetworking/thread/c4507eae-f98a-4312-b11d-3a3d7e52a5dd