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

Sysadmin:Sysadmin Info

From JFA Wiki
Revision as of 13:17, 17 February 2019 by Greg.Fuller (talk | contribs) (Greg.Fuller moved page Help:Sysadmin howtos to Sysadmin:Sysadmin Info without leaving a redirect)

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 email on jfawiki (wiki.justiceforanimals.org).
  • Write shell script to run on localhost to download [root]/jfa/backups.
  • Setup mediawiki instance at dev.justiceforanimals.org/wiki.

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