Closed

Description
- Gitea version (or commit ref): 1.1.1
- Git version: 1.9.1
- Operating system: Linux
- Database (use
[x]
):- PostgreSQL
- MySQL
- MSSQL
- SQLite
- Can you reproduce the bug at https://try.gitea.io:
- Yes (provide example URL)
- No
- [ x] Not relevant
- Log gist:
Description
Supplying an alternate tempdir
causes the backup to fail on our particular file-system layout (/tmp
is tiny) :
$ gitea dump --tempdir=/path/to/my/temp
...
2017... Failed to save gitea-dump-149....zip: write /tmp/cae/gitea-dump-149....zip/gitea-repo.zip: no space left on device
Perhaps this depends on interpretation, but, as someone who just wants to quickly get a Git repository manager up with the least number of stumbles, I read tempdir
to mean the path that will be used in every case that calls for a temporary directory during the backup process, and so I expect that it will use my supplied temp dir path even to construct the zip.
Thanks!