Running Batch After Backup-Job causes "Fehler 1" (Error 1)
Hi
What does "Fehler 1" mean? Fact is, Batch is running without error when either testing with Test-Button (see Screenshot) within Acronis Options, Tab "Erweitert" on Screen "Benutzerbefehle spezifizieren und konfigurieren" or just executing in DOS-Task (cmd). Batch (N = Synology NAS, DS916+ / E = ext. Harddrive):
xcopy "N:\Acronis\Outlook" "E:\Acronis\Outlook" /S /E /C /H /R /Y /D if errorlevel 4 goto lowmemory if errorlevel 2 goto abort if errorlevel 0 goto exit :lowmemory echo Insufficient memory to copy files or echo invalid drive or command-line syntax. goto exit :abort echo You pressed CTRL+C to end the copy operation. goto exit :exit
Looking forward to hear why Acronis gives "Fehler 1".
Tks + Rgds


- Se connecter pour poster des commentaires

Yeah, tryi it as .bat instead of .cmd
Also there is a known issue when using xcopy or Robocopy to NAS when keeping the original file security and attributes. The NAS can't accept the same security and atttibutes and the command will fail as a result.
I'm not sure which switch stops that in Xcopy. In Robocopy it is necessary to turn of dcopy as outlined here.
http://www.luisrocha.net/2008/12/robocopy-error-error-5-0x00000005.html?m=1
- Se connecter pour poster des commentaires

@ both of You! You are absolutely right! I just wonder, why - especially if this is already known - the "Answer given by Acronis" is so weak!
As a matter of fact, the Job was running through after having been started by its own, when having named the "Batch" (!!!) with "cmd" at the End of the Batch-Name. And if so, I furthermore wonder, why Acronis does not this make running smoothly, and especially not gives en Error-Code as "Fehler 1". And not additional Information! I think - sorry - this is weak.
But anyway, thanks to your feedback, my problem is solved. Thanks again to both of you! ;-)
PS: Preview of this Entry does not work either, again. It did not work when writing my first message ;-(
Fichier attaché | Taille |
---|---|
508322-171001.png | 1.52 Ko |
- Se connecter pour poster des commentaires

Glad you got it running right.
- Se connecter pour poster des commentaires