mirror of
https://gitea.com/gitea/docs.git
synced 2026-03-27 05:58:30 +07:00
更新 i18n/zh-cn/docusaurus-plugin-content-docs/current/administration/backup-and-restore.md (#272)
Reviewed-on: https://gitea.com/gitea/docs/pulls/272 Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com> Co-authored-by: baikuarch <baikuarch@sina.com> Co-committed-by: baikuarch <baikuarch@sina.com>
This commit is contained in:
@@ -47,7 +47,7 @@ Gitea 包括数据库、文件和 Git 仓库,当它被使用时所有这些都
|
||||
|
||||
```sh
|
||||
# mysql
|
||||
mysqldump -u$USER -p$PASS --database $DATABASE > gitea-db.sql
|
||||
mysqldump -u$USER -p$PASS --databases $DATABASE > gitea-db.sql
|
||||
# postgres
|
||||
pg_dump -U $USER $DATABASE > gitea-db.sql
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user