From 8ae30f706dd7c30c1956014522cfc2e13a6c2769 Mon Sep 17 00:00:00 2001 From: les Date: Sat, 19 Jun 2021 22:53:39 +0200 Subject: [PATCH] minor with documentation --- docs/dev/dev.md | 2 +- docs/install/backup.md | 2 +- docs/install/docker.md | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/dev/dev.md b/docs/dev/dev.md index ba9226dd..3ac1beaf 100644 --- a/docs/dev/dev.md +++ b/docs/dev/dev.md @@ -42,4 +42,4 @@ yarn dev > warning "Warning" > You need to register a first user, this will be an active administrator! -Please use the [issue board](https://framagit.org/les/gancio/-/boards) to discuss any modification. +Please use the [issues](https://framagit.org/les/gancio/-/issues) to discuss any modification. diff --git a/docs/install/backup.md b/docs/install/backup.md index c10c5a19..5055fa1e 100644 --- a/docs/install/backup.md +++ b/docs/install/backup.md @@ -17,7 +17,7 @@ tar -czf gancio-$(date +%Y-%m-%d-%H%M%S)-backup.tgz \ $(ls -d config.json uploads user_locale db.sqlite postgres data logs 2> /dev/null) ``` > warning "Permission denied" -> `postgres` directory could be with different permission or owner so you'll probably to be root or use `sudo` instead. +> `postgres` directory could be with different permission or owner, in this case you need to be root or use `sudo` instead. > info "Automatic backup" > To periodically backup your data you should probably use something like [restic](https://restic.net) or [borg](https://www.borgbackup.org/) \ No newline at end of file diff --git a/docs/install/docker.md b/docs/install/docker.md index 4d26c017..dad28673 100644 --- a/docs/install/docker.md +++ b/docs/install/docker.md @@ -86,7 +86,7 @@ tail -f data/logs/gancio.log > 1. `cd /opt/gancio` > 1. [Backup your data]({% link install/backup.md %}) > 1. Download new `Dockerfile`
`wget {{site.url}}{% link /docker/Dockerfile %}` -> 1. Download new `docker-compose.yml` (substitute `sqlite` to `postgres` in case):
`wget {{site.url}}{% link /docker/sqlite/docker-compose.yml %}` +> 1. Download new `docker-compose.yml` (substitute `sqlite` with `postgres` in case):
`wget {{site.url}}{% link /docker/sqlite/docker-compose.yml %}` > 1. Build the new container `docker-compose build` > 1. Extract your backup into `./data`
`mkdir data; tar xvzf gancio--backup.tgz -C data` > 1. Stop your old container `docker-compose stop`