Add option to skip backup in upgrade.sh #11368

Open
opened 2025-11-02 09:35:47 -06:00 by GiteaMirror · 0 comments
Owner

Originally created by @dvandonkelaar on GitHub (Jul 30, 2023).

Feature Description

The upgrade.sh script creates a dump before upgrading the binary file.
If the backup location is changed with the backupopts to a remote folder, this line reports a permisison error.
When a manual backup is executed, adding --skip-backup as argument prevents this problem.

Screenshots

No response

Originally created by @dvandonkelaar on GitHub (Jul 30, 2023). ### Feature Description The [`upgrade.sh` script](https://github.com/go-gitea/gitea/blob/main/contrib/upgrade.sh) creates a dump before upgrading the binary file. If the backup location is changed with the `backupopts` to a remote folder, this line reports a permisison error. When a manual backup is executed, adding `--skip-backup` as argument prevents this problem. ### Screenshots _No response_
GiteaMirror added the type/proposal label 2025-11-02 09:35:47 -06:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#11368