User Tools

Site Tools


restore_wiki_procedure

This is an old revision of the document!


Restore Wiki Procedure

:!: TODO :!: Remove the wiki from the old site.

  1. [Ares] Plug in Flicky.
  2. [Ares] Win + Alt + F6, Refresh Local Wiki.bat.
  3. [Ares] Open a Windows Explorer at the backup location (E:\Backups\Wiki\Full\data\pages)
  4. [Firefox] Find the most recently changed wiki page and check that the back up has the change (wiki\data\pages).
  5. [Firefox] Download the latest version of the Wiki software. Toggle off all the languages and click 'Start Download' at the bottom of the page.
  6. [Ares] Extract to a temp directory and rename root directory to dokuwiki.
  7. [PowerShell ISE] Run the C:\Bin2\Ares\General Scripts\Prepare New Wiki.ps1 script.
  8. [Ares] Check the file C:\Temp\dokuwiki\web.config exists.
  9. [Azure Portal] Restart the 'TallGuyRacing' App Service (so that the delete works).
  10. [FileZilla] Local file: C:\Temp\dokuwiki
  11. [FileZilla] Remote site: /site/wwwroot
  12. [FileZilla] Delete /2018xxxx_wwwroot.
  13. [FileZilla] Rename /wwwroot to /2018xxxx_wwwroot.
  14. [FileZilla] Copy /2018xxxx_wwwroot/backup-wiki.php to /wwwroot/backup-wiki.php :!: TODO :!: Automate this.
  15. [FileZilla] Upload C:\Temp\dokuwiki\wiki.7z to /site/wwwroot.
  16. [Azure Portal] Start a console.
  17. [Azure Portal,Console] cd wiki
  18. [Azure Portal,Console] 7za x wiki.7z
  19. [Internet Explorer] Go to the wiki and log on as admin.
  20. [Internet Explorer] Go to Admin → Searchindex Manager → Rebuild index.
  21. [Internet Explorer] Go to the Admin → Extension Manager page.
  22. [Internet Explorer] Remove unused plugins, update plugins that require updating.
  23. [Firefox] Verify the plugins work (see Plugin Checks below).
  24. [Firefox] Verify this file is *not* accessible. If it is, something is wrong with web.config file. See here for more info.
  25. [Firefox] Verify search works (including private pages).
  26. [Firefox] Verify old revisions work and page comparison.
  27. [Firefox] Verify editing a page and previewing an edited page works.
  28. [Ares] Delete the contents of E:\Backups\Wiki\Full.
  29. [Ares] Win + Alt + F6, Refresh Local Wiki.bat.

Plugin Checks

Comment Syntax Plugin

Verify there is nothing after this line.

Tag Plugin

  1. Verify the tags at the bottom of this page are okay.
  2. Click one to verify tag lists are okay.
  3. Try this link.

Pagelist Plugin

This should look okay:

2009/11/25 02:39Stephen Heise
2009/01/14 00:51Stephen Heise
2009/01/14 00:57Stephen Heise
2009/12/25 09:48Stephen Heise
2009/11/24 22:48Stephen Heise
2009/01/14 00:45Stephen Heise
2009/09/18 06:15Stephen Heise
2009/01/14 00:47Stephen Heise
2009/02/02 04:12Stephen Heise
2009/01/14 23:57Stephen Heise
2009/01/14 23:55Stephen Heise
2010/10/05 20:02Stephen Heise
2009/09/23 04:59Stephen Heise
2009/01/14 23:58Stephen Heise
2010/03/14 22:11Stephen Heise
2009/11/04 20:44Stephen Heise
2010/04/27 22:42Stephen Heise

Blockquote Plugin

This should look okay:

Your male and female slaves are to come from the nations around you; from them you may buy slaves.Leviticus 25:44 OT (New International Version)

Editx

Edit a page and verify that there is a 'page management' title and link at the bottom of the page.

Plugin List

Rate Limiting the Searchindex Manager plugin

This probably doesn't need to be done, now that the wiki is hosted on Azure.

  1. [Ares] Open wiki/lib/plugins/searchindex/ajax.php in Notepad++.
  2. [Notepad++] Add the sleep line of code near the bottom of the file:
        // do the work
      $success = idx_addPage($_POST['page'], false, $force);
      sleep(5);
  3. [Notepad++] Save new version of the file.
restore_wiki_procedure.1610246372.txt.gz · Last modified: 2021/01/11 03:39 (external edit)

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki