From bb1e703de3ada60df5eceb6fcb338bbe88fb3163 Mon Sep 17 00:00:00 2001 From: Jack-Benny Persson Date: Thu, 19 Dec 2013 09:03:23 +0100 Subject: [PATCH] Extended README with explanation about STDOUT and STDERR --- README.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/README.md b/README.md index 037ba2e..33ba401 100644 --- a/README.md +++ b/README.md @@ -27,3 +27,10 @@ on your tape device. You can place your script wherever you on your system. When the script runs it will cd into your Proxmox backups files and perform it's action from there. +All error messages are printed to STDERR and all normal messages are printed to +STDOUT. Because of this you can run this script headless and save the output +in separate logfiles depending on whatever it's an error or normal messages. +For example you can it like this: +```bash +./serverbackup.sh > backupmessages.log 2> backuperrors.log +```