-
-
Notifications
You must be signed in to change notification settings - Fork 6k
Closed
Description
- Gitea version (or commit ref): 1.7.1
- Git version: 2.7.4
- Operating system: Ubuntu Server 16.04 LTS
- Database (use
[x]
):- PostgreSQL
- MySQL
- MSSQL
- SQLite
- Can you reproduce the bug at https://try.gitea.io:
- Yes (provide example URL)
- No
- Not relevant
- Log gist:
Description
I installed Gitea from binary using this Installation from binary doc. I am trying to use the dump
command to take backup. But the dump
command is skipping the app.ini
in /etc/gitea
where all of my configs are.
Steps to reproduct
- perform backup with following steps:
cd /home/git
sudo -u git /usr/local/bin/gitea dump -c /etc/gitea/app.ini
sudo mv gitea-dump-* /path/to/backup/gitea-dump.zip
- now extract the zip file
cd /path/to/backup/
sudo unzip gitea-dump.zip
which gives the following output:
Archive: gitea-dump.zip
inflating: gitea-repo.zip
inflating: gitea-db.sql
creating: log/
inflating: log/gitea.log
inflating: log/xorm.log
inflating: log/serv.log
creating: log/hooks/
inflating: log/hooks/update.log
inflating: log/hooks/pre-receive.log
inflating: log/hooks/post-receive.log
inflating: log/http.log
creating: custom/
creating: custom/conf/
inflating: custom/conf/app.ini
check for the config in app.ini
cat custom/conf/app.ini
output
[security]
INTERNAL_TOKEN = xxxxxxxxxxxxxxxxxxx
all my configurations are in /etc/gitea/app.ini
not in custom/conf/app.ini
. Is it expected? Does anyone know how to solve this?
Thanks in advance!