diff --git a/README.md b/README.md index aee0998..eef98e7 100644 --- a/README.md +++ b/README.md @@ -30,6 +30,12 @@ _Source - https://docs.gitea.io/en-us/backup-and-restore/_ # bash -c "x" -> execute bash with command x /usr/bin/docker exec -u git -w /tmp/backups gitea bash -c "/app/gitea/gitea dump" + + + +#export to import to postgres (migrating from mysql to postgres) +sudo docker exec -u git -it -w /tmp gitea bash -c '/app/gitea/gitea dump -d postgres' + ``` ## nginx