WikiIndex:Recipe for server moves: Difference between revisions

m
Text replacement - "ReadOnly" to "Read-only"
m (Text replacement - "{{TOCright}}" to "{{TOC right}}")
m (Text replacement - "ReadOnly" to "Read-only")
Line 5: Line 5:


===Prior to the move===
===Prior to the move===
Note: The only thing that will be changed on the current [[:Category:Server|server]] before, during, and after the move is to set it the wiki site [[:Category:ReadOnly|read-only]], and add a [[MediaWiki:Sitenotice]] banner during the move itself.  Not mucking with the server preserves a working server that we can fail back to if something unforeseen happens.
Note: The only thing that will be changed on the current [[:Category:Server|server]] before, during, and after the move is to set it the wiki site [[:Category:Read-only|read-only]], and add a [[MediaWiki:Sitenotice]] banner during the move itself.  Not mucking with the server preserves a working server that we can fail back to if something unforeseen happens.


# Make a complete [[:Category:Wiki Backups|backup]] of the wiki. (as of November 14, 2014 ... gzipped up without the cache the backup is 517Mb).
# Make a complete [[:Category:Wiki Backups|backup]] of the wiki. (as of November 14, 2014 ... gzipped up without the cache the backup is 517Mb).
Line 15: Line 15:


===The actual move===
===The actual move===
# Switch the current WikiIndex [[wiki]] site into [[:Category:ReadOnly|read-only]] mode; to ensure that the [[:Category:Database|database]] is in a consistent state, and that no [[:Category:WikiIndex account|accounts]] or [[edit]]s are created (and subsequently lost) during the move.
# Switch the current WikiIndex [[wiki]] site into [[:Category:Read-only|read-only]] mode; to ensure that the [[:Category:Database|database]] is in a consistent state, and that no [[:Category:WikiIndex account|accounts]] or [[edit]]s are created (and subsequently lost) during the move.
# Add a [[MediaWiki:Sitenotice|site message]] banner to the top of the wiki site on every page that indicates the move is in progress.
# Add a [[MediaWiki:Sitenotice|site message]] banner to the top of the wiki site on every page that indicates the move is in progress.
# Make a new complete dump of the database and [[:Category:Images|images]].  That means a new [[:Category:Wiki Backups|backup]] will be created which contains all changes to wiki until that point in time.
# Make a new complete dump of the database and [[:Category:Images|images]].  That means a new [[:Category:Wiki Backups|backup]] will be created which contains all changes to wiki until that point in time.