Skip to content
This repository was archived by the owner on Dec 2, 2017. It is now read-only.

Commit 7705c72

Browse files
issmirnovbkcsoft
authored andcommitted
Followup to #40 - remove manual line breaks. (#51)
* Remove manual line breaks, and update sql comment.
1 parent a6334e3 commit 7705c72

File tree

1 file changed

+4
-9
lines changed

1 file changed

+4
-9
lines changed

content/doc/usage/backup-and-restore.en-us.md

Lines changed: 4 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
date: "2016-12-27T16:00:00+02:00"
2+
date: "2017-01-01T16:00:00+02:00"
33
title: "Usage: Backup and Restore"
44
slug: "backup-and-restore"
55
weight: 11
@@ -15,16 +15,11 @@ menu:
1515

1616
# Backup and Restore
1717

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.
2219

2320
## Backup Command (`dump`)
2421

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:
2823

2924
```
3025
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
3833
Inside the `gitea-dump-1482906742.zip` file, you will find the following:
3934

4035
* `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.
4237
* `gitea-repo.zip` - This zip will be a complete copy of your repo folder.
4338
See Config -> repository -> `ROOT` for the location.
4439
* `log/` - this will contain various logs. You don't need these if you are doing

0 commit comments

Comments
 (0)