Is there a way to just store the output of --full-result?
Seems like what I have to do is specify an after- script and have it consist of
cat - >report.txt
Seems silly. Am I missing something?
Is there a way to just store the output of --full-result?
Seems like what I have to do is specify an after- script and have it consist of
cat - >report.txt
Seems silly. Am I missing something?
Nope, I donât think youâre missing anything.
I agree it would be nice to have a âredirect stdout to log file Xâ optionâŚ
OK, but how do I do this in Windows?
I think itâs
type STDIN >report.txt
Unfortunately, no. But I appreciate the attempt
Yeah I just tried that.
oh holy crap what a POS windows is
hereâs what will work:
findstr x* STDIN >report.txt
the reason is, unlike âcatâ in Unix, âTYPEâ in MS-DOS canât see STDIN. Only files on disk.
Butâ findstrâ, which is sortakindalittlebit like âgrepâ, can see STDIN. âx*â says, âgive me lines with 0 or more occurrences of âxâ.â Which is all lines.
Your best bet for now is to run the task as a command line with something like >C:\DuplicatiOutput.txt
at the end of the line.
So if you are wanting the output of a backup job piped to a file, then Iâd suggest using the âExport â As Command-lineâ feature to get a command line you can then add the above redirect to and run in a shell.
If itâs something else, such as a Compare, that you want then youâll have to manually build the command line. Itâs not difficult once you understand it, but getting there can be a bit of a pain.
Let us know what the specific command youâre looking to log is and maybe we can put a sample together for you.
Itâs POSSIBLE (but Iâve not tested) that the Windows 10 bash shell will work with STDIN @Kahomono described.
Iâm not going to disagree, but I will point out that the way to do whatâs being asked for is to use the command lineâŚwhich Iâm pretty sure is what people used to rag on Linux aboutâŚ
Also, in case you didnât catch it Iâve started a âFeaturesâ topic about getting a --stdout=<path>
type advanced parameter added.
Yes, I saw it. I already gave it a Like.
Be a pal and try the findstr on WIn10. I only have a 7. Wonât touch 10.
Thatâs one thing Iâm missing in the Web UI: an âExport to commandlineâ button in the Commandline section of the Web UI, just like the export button for exporting backup jobs.
This will make it possible to assemble a command using the GUI and convert it for use outside the web interface. It also helps learning and understanding how the commandline tools work.
Um, why not throw the commandline on the screen and then go all ^C^V?
Yes, thatâs exactly what is should do. An âExportâ button next to the âRun command nowâ button gives choice between showing results in browser or commandline.
Unfortunately, it didnât work for me. I appreciate your thought though. It may be that there is something in my config that is different.