# Backup problem: 'dump' only create a 1KByte .zip file

**URL:** <https://forum.gitea.com/t/backup-problem-dump-only-create-a-1kbyte-zip-file/1581>\
**Category:** General\
**Created:** [October 16, 2019, 3:47pm UTC](https://forum.gitea.com/t/backup-problem-dump-only-create-a-1kbyte-zip-file/1581 "2019-10-16T15:47:58Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![elfuego](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.gitea.com/elfuego/32/4746_2.png) [@elfuego](https://forum.gitea.com/u/elfuego)\
**Post date:** [October 19, 2019, 11:11am UTC](https://forum.gitea.com/t/backup-problem-dump-only-create-a-1kbyte-zip-file/1581/2 "2019-10-19T11:11:52Z")

</div>

Gitea has some backup problems, so I solve it by backuping manually, as follows.

> [@Backup issue for Gitea](https://forum.gitea.com/t/backup-issue-for-gitea/865/5):
>
> 1.dump db (I use postgresql, so pg\_dump) 2.copy git repos 3.copy /var/lib/gitea

---

_[View the full topic](https://forum.gitea.com/t/backup-problem-dump-only-create-a-1kbyte-zip-file/1581)._
