tag: xml

Migrating GitLab from one server to another (with external postgres)

So I have a gitlab server, it’s running on https://git.volkor.me/ I use it for my personal projects, along with learning how to properly setup environments and such. Pre-Migration Ensure the old server is up to date. sudo apt update && sudo apt dist-upgrade Create a backup sudo gitlab-rake gitlab:backup:create copy this backup to the new server scp /var/opt/gitlab/backups/XXXXXXXXX_gitlab_backup.tar NEW_SERVER_IP:~ Setup Actually Install gitlab on the new server now Create the user and database in postgres, with the same user/pass and such (READ NODE AT THE BOTTOM) ensure you’ve copied the gitlab.

Tiny Tiny RSS Migration

As an effort of lowering my monthly server costs, I want to move my blog and rss reader onto the same server as the gitlab instance. The gitlab server has a postgres server running already, so we need to migrate the existing database over without screwing up the database. TinyTinyRSS is a php rss newsreader, similar to google reader. I use it specifically because of the fact it’s server based, so the web app and the android app are kept in sync.