From c5adc4e472d7d1aa0b3017943dde7815a5bfa624 Mon Sep 17 00:00:00 2001 From: DoTheEvo Date: Sat, 11 Feb 2023 23:36:00 +0100 Subject: [PATCH] update --- bookstack/readme.md | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/bookstack/readme.md b/bookstack/readme.md index b773ff7..4b7014e 100644 --- a/bookstack/readme.md +++ b/bookstack/readme.md @@ -15,7 +15,7 @@ Documentation and notes. BookStack is a modern, open source, good looking wiki platform for storing and organizing information. -Written in PHP, with MySQL database for the user data.
+Written in PHP, using Laravel framework, with MySQL database for the user data.
There is no official Dockerhub image so the one maintained by [linuxserver.io](https://www.linuxserver.io/) is used, which uses nginx as a web server. @@ -34,14 +34,14 @@ which uses nginx as a web server. └── bookstack-backup-script.sh ``` -* `bookstack_data/` - a directory where bookstack will store its web app data -* `bookstack_db_data/` - a directory where bookstack will store its MySQL database data +* `bookstack_data/` - a directory with bookstacks web app data +* `bookstack_db_data/` - a directory with database data * `.env` - a file containing environment variables for docker compose * `docker-compose.yml` - a docker compose file, telling docker how to run the containers * `bookstack-backup-script.sh` - a backup script if you want it You only need to provide the files.
-The directories are created by docker compose on the first run. +The directories are created on the first run. # docker-compose @@ -160,8 +160,9 @@ Manual image update: #### Backup -Using [borg](https://github.com/DoTheEvo/selfhosted-apps-docker/tree/master/borg_backup) -that makes daily snapshot of the entire directory. +Using [kopia](https://github.com/DoTheEvo/selfhosted-apps-docker/tree/master/kopia_backup) +or [borg](https://github.com/DoTheEvo/selfhosted-apps-docker/tree/master/borg_backup) +to make daily snapshot of the entire docker directory. #### Restore @@ -177,11 +178,10 @@ Users data daily export using the For bookstack it means database dump and backing up several directories containing user uploaded files. -Daily [borg](https://github.com/DoTheEvo/selfhosted-apps-docker/tree/master/borg_backup) run -takes care of backing up the directories. +Daily kopia or borg backup run takes care of backing up the directories. So only database dump is needed.
The created backup sqlite3 file is overwritten on every run of the script, -but that's ok since borg is making daily snapshots. +but that's ok since kopia/borg are keeping daily snapshots. #### Create a backup script