mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-11-30 16:11:39 +00:00
commit
5b32cdd960
|
@ -58,7 +58,7 @@ func runDump(ctx *cli.Context) {
|
||||||
workDir, _ := setting.WorkDir()
|
workDir, _ := setting.WorkDir()
|
||||||
z.AddFile("gogs-repo.zip", path.Join(workDir, "gogs-repo.zip"))
|
z.AddFile("gogs-repo.zip", path.Join(workDir, "gogs-repo.zip"))
|
||||||
z.AddFile("gogs-db.sql", path.Join(workDir, "gogs-db.sql"))
|
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"))
|
z.AddDir("log", path.Join(workDir, "log"))
|
||||||
// FIXME: SSH key file.
|
// FIXME: SSH key file.
|
||||||
if err = z.Close(); err != nil {
|
if err = z.Close(); err != nil {
|
||||||
|
|
Loading…
Reference in a new issue