This Bash script simplifies performing common maintenance tasks (backup/restore database, recreate search index, ...).
‼ IMPORTANT: The script assumes it's located inside
/<path-to-Tekst-repo>/Tekst-Util/
, so do not move it anywhere else!!
Run ./tekst-util --help
for an overview of the commands, flags and arguments. Each command has its own help that can be accessed via ./tekst-util <command> --help
.
This utility script has been created using Bashly. To easily run Bashly commands via the Bashly Docker image, just create this alias:
alias bashly='docker run --rm -it --user $(id -u):$(id -g) --volume "$PWD:/app" dannyben/bashly'
See the Bashly documentation for how to use this (it's not hard at all).