1
1
mirror of https://github.com/go-gitea/gitea.git synced 2024-11-18 04:24:00 +01:00
This commit is contained in:
chai2010 2014-11-24 10:58:39 +08:00
parent 1b66600bd0
commit f9ad8d6903

@ -58,7 +58,7 @@ func runDump(ctx *cli.Context) {
workDir, _ := setting.WorkDir()
z.AddFile("gogs-repo.zip", path.Join(workDir, "gogs-repo.zip"))
z.AddFile("gogs-db.sql", path.Join(workDir, "gogs-db.sql"))
z.AddFile("custom/conf/app.ini", path.Join(workDir, "custom/conf/app.ini"))
z.AddDir("custom", path.Join(workDir, "custom"))
z.AddDir("log", path.Join(workDir, "log"))
// FIXME: SSH key file.
if err = z.Close(); err != nil {