You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Dec 2, 2017. It is now read-only.
Copy file name to clipboardExpand all lines: content/doc/usage/backup-and-restore.en-us.md
+4-9Lines changed: 4 additions & 9 deletions
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,5 @@
1
1
---
2
-
date: "2016-12-27T16:00:00+02:00"
2
+
date: "2017-01-01T16:00:00+02:00"
3
3
title: "Usage: Backup and Restore"
4
4
slug: "backup-and-restore"
5
5
weight: 11
@@ -15,16 +15,11 @@ menu:
15
15
16
16
# Backup and Restore
17
17
18
-
Gitea currently has a `dump` command that will save your installation to a zip
19
-
file. There will be a `restore` command implemented at some point in the future.
20
-
You will be able to use this to back up your installation, as well as make
21
-
migrating servers easier.
18
+
Gitea currently has a `dump` command that will save your installation to a zip file. There will be a `restore` command implemented at some point in the future. You will be able to use this to back up your installation, as well as make migrating servers easier.
22
19
23
20
## Backup Command (`dump`)
24
21
25
-
First, switch to the user running gitea: `su git` (or whatever user you are
26
-
using). Run `./gitea dump` in the gitea installation directory. You should
27
-
see some output similar to this:
22
+
First, switch to the user running gitea: `su git` (or whatever user you are using). Run `./gitea dump` in the gitea installation directory. You should see some output similar to this:
28
23
29
24
```
30
25
2016/12/27 22:32:09 Creating tmp work dir: /tmp/gitea-dump-417443001
@@ -38,7 +33,7 @@ First, switch to the user running gitea: `su git` (or whatever user you are
38
33
Inside the `gitea-dump-1482906742.zip` file, you will find the following:
39
34
40
35
*`custom/conf/app.ini` - This is your server config.
41
-
*`gitea-db.sql` - the mysql dump (TODO add info for other databases)
36
+
*`gitea-db.sql` - SQL dump of your database.
42
37
*`gitea-repo.zip` - This zip will be a complete copy of your repo folder.
43
38
See Config -> repository -> `ROOT` for the location.
44
39
*`log/` - this will contain various logs. You don't need these if you are doing
0 commit comments