diff options
author | Jacob Vosmaer <contact@jacobvosmaer.nl> | 2014-05-08 13:18:22 +0200 |
---|---|---|
committer | Jacob Vosmaer <contact@jacobvosmaer.nl> | 2014-05-08 13:18:22 +0200 |
commit | 3bfbea37e9a0cca64bf67e0a8a8ce3ceb9b9db55 (patch) | |
tree | 99fa77d2ede7b1cd9e9a21955eacaeb3b9abdddc /doc/update | |
parent | 92591b63dcba5115537cd1e6da714540590975b8 (diff) | |
download | gitlab-ce-3bfbea37e9a0cca64bf67e0a8a8ce3ceb9b9db55.tar.gz |
Indicate when to stop/start GitLab
Diffstat (limited to 'doc/update')
-rw-r--r-- | doc/update/mysql_to_postgresql.md | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/doc/update/mysql_to_postgresql.md b/doc/update/mysql_to_postgresql.md index 661dcc02ba8..5b9209d7df4 100644 --- a/doc/update/mysql_to_postgresql.md +++ b/doc/update/mysql_to_postgresql.md @@ -11,11 +11,17 @@ second part of this documents explains the procedure to do this. Use this if you are keeping GitLab on the same server. ``` +sudo service gitlab stop + +# Update /home/git/gitlab/config/database.yml + git clone https://github.com/lanyrd/mysql-postgresql-converter.git cd mysql-postgresql-converter mysqldump --compatible=postgresql --default-character-set=utf8 -r databasename.mysql -u root gitlabhq_production python db_converter.py databasename.mysql databasename.psql psql -f databasename.psql -d gitlabhq_production + +sudo service gitlab start ``` ## Converting a GitLab backup file from MySQL to Postgres |