From 8ae791cdc888938a3281f6ce57563c4e43375b1a Mon Sep 17 00:00:00 2001 From: bkroll <10960255+bkroll@users.noreply.github.com> Date: Mon, 23 Jul 2018 17:20:35 +0200 Subject: [PATCH] added backup and start/stop --- docs/content/doc/installation/from-binary.en-us.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/docs/content/doc/installation/from-binary.en-us.md b/docs/content/doc/installation/from-binary.en-us.md index 8847b3083..385e95c4f 100644 --- a/docs/content/doc/installation/from-binary.en-us.md +++ b/docs/content/doc/installation/from-binary.en-us.md @@ -92,10 +92,12 @@ See how to create [Linux service]({{< relref "run-as-service-in-ubuntu.en-us.md" ## Updating to a new version -You can update to a new version of gitea by replacing the binary at `/usr/local/bin/gitea`. +You can update to a new version of gitea by stopping gitea, replacing the binary at `/usr/local/bin/gitea` and restarting the instance. The binary file name should not be changed during the update to avoid problems in existing repositories. +It is recommended you do a [backup]({{< relref "../usage/backup-and-restore.en-us.md" >}}) before updating your installation. + If you have carried out the installation steps as described above, the binary should have the generic name `gitea`. Do not change this, i.e. to include the version number.