Project

General

Profile

Task #96

Task #95: Server Migration

Script writing

Added by Charlotte Fields about 6 years ago. Updated about 6 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Start date:
04/14/2018
Due date:
% Done:

0%

Spent time:

Description

Make a script to complete a migration with minimal user input.
steps:
  • setup clean landingpad for the migration (get the base server setup) Note, this doesn't have to be done but would be nice
  • database migration
  • ~/live/public/system migration
  • ~/live/.env.production migration

Things to consider:
tootcat (Old server) runs under /home/polymerwitch/live so either make the script adjustable or hard code it for this case.

History

#1 Updated by Charlotte Fields about 6 years ago

things that may also be backed up
  • The nginx config (under /etc/nginx/sites-available/default)
  • The systemd config files (/etc/systemd/system/mastodon-*.service) which may contain your server tweaks and customizations

src Running Mastodon, Migration Guide

Also available in: Atom PDF