New
#210
It worked - sorry, I didn't see the "start" on your line.
Thanks!
It worked - sorry, I didn't see the "start" on your line.
Thanks!
Bill thank for the tutorial. I have a little problem and I would have some suggestion from you. I have done it and it works correctly if I run it in a manual mode. If I automate it as Task Scheduler it does not work. I receive a message (see attached) that the option instruction /log:backup_log.txt is not a valid parameter and the task does not start.
The script should copy from a network drive <P> to a <E> storage drive.
This the script I have done :
robocopy "P:\Archivio Comune" "E:\Backups Archivio Comune" /e /mir /np /z /tee /log:backup_log.txt
I have also modified the option instruction as /log:backup.txt but the result is the same.
Do you have any idea why the it works in manual mode and not as automated Task Scheduled ?
Thank in advance for you help and suggestion.
Thank for the immediate replay and thank for the suggestion. Yes with the highest privileges the task works,no error ,it is createed the backup file but does not create the log.txt file in the same folder where there is the script. It may be in an other folder ? Thank a lot.
Non in the Desktop. When I run it manually the log.txt is created into the same folder of the script. I did a search in the C:\ but nowhere there is the log.tpx
Try this:
robocopy "P:\Archivio Comune" "E:\Backups Archivio Comune" /e /mir /np /z /tee /log: "P:\Archivio Comune\backup_log.txt"
The logfile should now be saved to "P:\Archivio Comune
No way. With the last script you sent also in manual mode the backup.txt is not written. In both mode , manual and Task Schedule, the backup file is written but not the log.txt file.