Closed
Description
DumpRepository -> migrateRepository -> uploader.Rollback -> os.RemoveAll(g.baseDir)
If migrateRepository returns error, then the data directory is removed completely.
I have run gitea dump-repo
in the gitea directory, then the Gitea's data directory (including sqlite database, repositories) is removed, all lost (luckily not on production).