Open kevindd992002 opened 10 years ago
What happens if you run it manually with /verbosity=4?
Is that switch a shadowspawn switch?
Yes. See https://github.com/candera/shadowspawn#usage for full usage.
Can I email you the results of the script with the verbosity switch?
Sure. candera@wangdera.com.
I just sent the email. Thanks.
Looking at the logs, those both seem to be successful runs, and I don't see any weird things like other backup utilities that can occasionally screw things up. Unfortunately, I don't run Windows 8.1, so I don't have experience with it to say what might be the issue. There are a few links on the hobocopy troubleshooting page that might be helpful: https://github.com/candera/hobocopy/wiki
I know, right. Like I said, manually running the script gives me a 0x0 successful result but when it runs by the schedule then it gives me that error code. Should I file a case in hobocopy?
If you're using shadowspawn there's no need to file an issue in hobocopy. I suspect this is somehow related to security, as scheduled tasks run in a different context than interactive ones. I can't think of a reason that it would fail intermittently, though. But like I said I'm not running Windows 8.1. I run it scheduled under Windows 7 all the time. I think there are some compatibility settings you can mess with in Task Manager that might help, but really, I'm not sure what the problem is.
Truthfully, I haven't touched this tool in several years, so I'm not super optimistic about being able to figure out what this is. Sorry about that, but I barely use Windows at all in the last five years.
i understand. Do you think the "configure for" setting in the task schedule itself has something to do with it? I had it running without an error code in Windows 7 also.
What does task manager have to do with task schedules?
Sorry - I mistyped. I meant "Task Scheduler" not "Task Manager". I have no idea whether the "configure for" setting would help or not - just a sort of lame suggestion as to something to try tweaking.
Just try to run it from the command line, if it works there, then there is some settings from Task Scheduler that have to be changed.
I use shadowspawn as a scheduled task to backup some files from my C drive. It works properly in Windows 7 but when I migrated to Windows 8.1, it's giving me an (0x8001) error code in Task Scheduler. The log file of the robocopy process itself goes through just fine though, so my files are being copied properly but I'm not sure what that error code say. The weird thing is that this only happens sometimes and not consistent. When I try to manually run the task, sometimes it gives me a successful status.
The task just runs a batch file saved in c:\windows\system32 and the batch file includes these:
shadowspawn C:\Users\KevinMychal\AppData\Roaming\Mozilla\Firefox\Profiles\rrzrruax.default\sessionstore-backups Q: robocopy Q:\
D:\Backup\sessionstore-backups /R:5 /W:15 /COPYALL /PURGE /V /log:C:\robocopy_log.txt shadowspawn C:\Users\KevinMychal\AppData\Roaming\Mozilla\Firefox\Profiles\rrzrruax.default\bookmarkbackups Q: robocopy Q:\ D:
\Backup\bookmarkbackups /R:5 /W:15 /COPYALL /PURGE /V /log+:C:\robocopy_log.txt shadowspawn C:\Users\KevinMychal\Desktop Q: robocopy Q:\ D:\Backup\Desktop /R:5 /W:15 /DCOPY:DAT /COPYALL /MIR /V /log+:C:\robocopy_log.txt
What can I do to troubleshoot this further?