Skip to content

Can't Restore from backup #7999

@r376533

Description

@r376533

Gogs version

0.13.3

Git version

  • Server:
  • Client:
    is not about git bug

Operating system

windows11

Database

SQLite3

Describe the bug

Today (2025-07-01 12:00 +8)
download from github release and unzip
i want try backup and restore function
but get error

To reproduce

run server
".\gogs web" then setting first time(in my case is use sqlite)
and create account then create repo then push some file on server
stop server,use this command backup
".\gogs backup" -> out put "gogs-backup-.zip"
and restore immediately(zip file name is some time string)
".\gogs restore --config .\custom\conf\app.ini" --verbose --from .\gog-backup-
.zip"
will fail and get this message

Image

Expected behavior

it will success and no get any error

Additional context

No response

Code of Conduct

  • I agree to follow this project's Code of Conduct

Metadata

Metadata

Assignees

No one assigned

    Labels

    💊 bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions