- Don't attempt to back up directories specified in config files which don't exist? Or maybe continue to do so, so we throw the error. Ignore commented directories
- redirect stdout (but not stderr) to /dev/null for tar executions to avoid the "Removing leading..." messages, to keep output empty unless something goes wrong
Directory does not exist: /var/lib/lbbs/templates
Directory does not exist: /home/bbs/newsgroups
tar: Removing leading `/' from member names
tar: Removing leading `/' from hard link targets
Comments
You must be logged in to leave a comment.
9/14/2024 7:24 PM — InterLinked
Autoresolved by code commit on GitHub:
backup.sh: Improve script output formatting.
https://github.com/InterLinked1/lbbs/commit/f5aaeab00dac51a2fd93c10c9c900db5fbbf959e