Skip to content

Discuss manual backup (gitea dump) #448

Closed
@issmirnov

Description

@issmirnov

Hello everyone,

Reposting gogs/gogs#2924 so that we can keep track of it here.

There is a hidden command called dump that creates a zip file with the config (custom/conf/app.ini), gitea-db.sql and a nested zip of the repos.

It would be really good to have this behavior documented on the website, and also some tips on how to perform a restore. The way I see it, one can download a fresh binary of gitea, set up the same file structure and somehow import the sql file. I personally have very little experience with SQL so am not sure how this is done.

I'm in the middle of moving servers, so would be happy to be the guinea pig on migrating a gitea installation. I'm also a huge fan of markdown so can help with documentation if needed.


  • Operating system: Ubuntu 14.04 LTS
  • Database:
    • MySQL

Metadata

Metadata

Assignees

No one assigned

    Labels

    type/docsThis PR mainly updates/creates documentation

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions