Difference between revisions of "Server migration checklist"
From Organic Design wiki
(stub checklist) |
(remember authorized keys for git user) |
||
Line 3: | Line 3: | ||
*Stop the main services on the current server | *Stop the main services on the current server | ||
*Pack up ''home'', ''www'' and ''etc'', export the database, dump the spam rules and send to the new server (best to use ''scp'' from the new server to the old to receive the files) | *Pack up ''home'', ''www'' and ''etc'', export the database, dump the spam rules and send to the new server (best to use ''scp'' from the new server to the old to receive the files) | ||
− | *Create the users on the new server | + | *Create the users on the new server, remember authorized keys for git user |
*Un-pack the backups and set to the correct ownership | *Un-pack the backups and set to the correct ownership | ||
*Import the database and the spam rules | *Import the database and the spam rules | ||
*Update the configurations (some such as Exim probably need to be rebuilt from the new package maintaner's conf version) | *Update the configurations (some such as Exim probably need to be rebuilt from the new package maintaner's conf version) | ||
*Note that some files such as .forwards need to be manually copied since they're copied on commit hooks | *Note that some files such as .forwards need to be manually copied since they're copied on commit hooks |
Revision as of 15:49, 31 May 2018
- Run through the Install a new server and Configure mail server procedure to get the basic settings, packages and security set up on the new server
- Stop the main services on the current server
- Pack up home, www and etc, export the database, dump the spam rules and send to the new server (best to use scp from the new server to the old to receive the files)
- Create the users on the new server, remember authorized keys for git user
- Un-pack the backups and set to the correct ownership
- Import the database and the spam rules
- Update the configurations (some such as Exim probably need to be rebuilt from the new package maintaner's conf version)
- Note that some files such as .forwards need to be manually copied since they're copied on commit hooks