diff --git a/README.md b/README.md index 3a43a2b..7f653c7 100644 --- a/README.md +++ b/README.md @@ -67,6 +67,7 @@ ### Update Update your gitbucket image in three steps. But first of all: **MAKE A BACKUP!!!** +Without backup the host ssh keys will be lost. #### from 4.19.3 to 4.20.0 You have to backup your `gitbucket.conf` because this config does not exist in the repository any more. @@ -87,7 +88,12 @@ 1. Commit your local changes. Changes in `gitbucket.conf` will be ignored! -2. get the new image +2. Backup +``` +./backup.sh backup all +``` + +3. get the new image Shutdown and remove your images. This will not delete your mysql database volume. ``` docker-compose down @@ -98,12 +104,17 @@ docker-compose up -d --remove-orphans ``` -3. cleanup your docker environment +4. cleanup your docker environment This step is optional. Please do this only if you understand the next line. ``` docker rmi -f $(docker images -f "dangling=true" -q) ``` +5. restore ssh keys +``` +./backup.sh restore sshkeys +``` + ### Plugins To use plugins download the plugin and move it into `data/plugins`.