Verified Commit 8ae30f70 authored by les's avatar les
Browse files

minor with documentation

parent 8984736c
......@@ -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.
......@@ -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
......@@ -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` <br/> `wget {{site.url}}{% link /docker/Dockerfile %}`
> 1. Download new `docker-compose.yml` (substitute `sqlite` to `postgres` in case): <br/>`wget {{site.url}}{% link /docker/sqlite/docker-compose.yml %}`
> 1. Download new `docker-compose.yml` (substitute `sqlite` with `postgres` in case): <br/>`wget {{site.url}}{% link /docker/sqlite/docker-compose.yml %}`
> 1. Build the new container `docker-compose build`
> 1. Extract your backup into `./data` <br/>`mkdir data; tar xvzf gancio-<yourLastBackup>-backup.tgz -C data`
> 1. Stop your old container `docker-compose stop`
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment