goombawaho
MIS
I'm terrible with scripting, so don't laugh. This is a script I use all the time for copying user documents and desktop to a server/NAS/external drive because they don't always save things on the server. Don't want to do FOLDER redirection.
robocopy.exe "C:\users\user\My Documents" "\\server\Pcbackups\user\Documents" /MIR /FFT /TEE /ZB /R:2 /W:5 /LOG:"C:\Backup.log"
robocopy.exe "C:\users\user\desktop" "\\server\Pcbackups\user\Desktop" /MIR /FFT /TEE /ZB /R:2 /W:5 /LOG+:"C:\Backup.log"
Is there a way to include every user on the computer, given that you don't know what users may have actually logged into the computer via the domain and created a profile? You can offer a better/smarter way, the script just shows what I'm after.
"Living tomorrow is everyone's sorrow.
Modern man's daydreams have turned into nightmares.
robocopy.exe "C:\users\user\My Documents" "\\server\Pcbackups\user\Documents" /MIR /FFT /TEE /ZB /R:2 /W:5 /LOG:"C:\Backup.log"
robocopy.exe "C:\users\user\desktop" "\\server\Pcbackups\user\Desktop" /MIR /FFT /TEE /ZB /R:2 /W:5 /LOG+:"C:\Backup.log"
Is there a way to include every user on the computer, given that you don't know what users may have actually logged into the computer via the domain and created a profile? You can offer a better/smarter way, the script just shows what I'm after.
"Living tomorrow is everyone's sorrow.
Modern man's daydreams have turned into nightmares.