To get updates on new site content, like us on Facebook or follow us on Twitter.

Difference between revisions of "Sysadmin:Sysadmin Info"

From JFA Wiki
(To Do)
(To Do)
Line 1: Line 1:
  
 +
{{jfa-toc}}
 
== To Do ==
 
== To Do ==
  
Line 14: Line 15:
 
** Staging and Production will come later
 
** Staging and Production will come later
  
=== Links ===
+
== Migration Notes ==
 +
* When migrating, do a search replace on the "https://whatever.xyz" part of the name, and change appropriately. The sidebar in particular will likely have absolute URLs because URLs with and "&" will not work in the sidebar if they are relative.
 +
 
 +
== Handy Links ==
 
* Webfaction Failover https://blog.gingerlime.com/2012/webfaction-fail-over/
 
* Webfaction Failover https://blog.gingerlime.com/2012/webfaction-fail-over/
  

Revision as of 12:11, 21 February 2019

To Do

  • Write instructions for backing up database via ssh into [root]/jfa/backups/db with date suffix "-yyyy-mm-dd".
  • Write and install cron job to backup database daily into [root]/jfa/backups/db with date suffix "-yyyy-mm-dd".
  • Setup cache, use memcache? $wgMainCacheType =
  • Setup email on jfawiki (wiki.justiceforanimals.org).
  • Setup mediawiki instance at dev.justiceforanimals.org/wiki.

Migration Notes

  • When migrating, do a search replace on the "https://whatever.xyz" part of the name, and change appropriately. The sidebar in particular will likely have absolute URLs because URLs with and "&" will not work in the sidebar if they are relative.

Handy Links

How To

SSH

>ssh username@web542.webfaction.com >cd /home/gregfuller/webapps/jfawiki/ (for wiki.justiceforanimals.org)

Dump XML pages

>cd /home/gregfuller/webapps/jfawiki/maintenance >php72 dumpBackup.php --current >/home/gregfuller/webapps/jfawiki/jfa/backups/xml/jfawikidump-yyyy-mm-dd.xml FTP the file down to localhost

Backup Dababase into [root]/jfa/backups/db

ToDo

Move [root]/jfa/backups offsite

ToDo

Include js and css files in a MediaWiki App

  • done because login page on Refreshed theme doesn't load common.css and common.js