-
-
Notifications
You must be signed in to change notification settings - Fork 5.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update back-up restore example for 1.13 changes #14374
Conversation
Signed-off-by: Daniël Vos <danielvos@outlook.com>
Codecov Report
@@ Coverage Diff @@
## master #14374 +/- ##
=======================================
Coverage 41.84% 41.85%
=======================================
Files 744 744
Lines 79738 79738
=======================================
+ Hits 33366 33372 +6
+ Misses 40861 40857 -4
+ Partials 5511 5509 -2
Continue to review full report at Codecov.
|
mysql --default-character-set=utf8mb4 -u$USER -p$PASS $DATABASE <gitea-db.sql | ||
# or sqlite3 $DATABASE_PATH <gitea-db.sql | ||
# sqlite3 | ||
sqlite3 $DATABASE_PATH <gitea-db.sql | ||
# postgres | ||
psql -U $USER -d $DATABASE < gitea-db.sql |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this assumes that the original DB user (same as before backup procedure) exists. In case for different DB user, it must be granted GRANT ALL PRIVILEGES
(mysql) or REASSIGN OWNED
or (ALTER DATABASE OWNER
) (postgres)
* master: Add pager to the branches page (go-gitea#14202) Removed invalid form tag (go-gitea#14391) Update back-up restore example for 1.13 changes (go-gitea#14374) It seems vet on windows is unnecessary (go-gitea#14302)
Update back-up/restore documentation with the recent changes made to the
gitea dump
command in version 1.13Fixes #14373
Signed-off-by: Daniël Vos danielvos@outlook.com