User:Jka: Difference between revisions

From DataFlex Wiki
Jump to navigationJump to search
Line 42: Line 42:
=== Backup ===
=== Backup ===
*http://www.mediawiki.org/wiki/Manual:Moving_a_wiki
*http://www.mediawiki.org/wiki/Manual:Moving_a_wiki
*take snapshots of mysql dump and mediawiki settings  
*take snapshots of mysql dump and mediawiki settings (using cygwin)
**xcopy http://www.microsoft.com/resources/documentation/windows/xp/all/proddocs/en-us/xcopy.mspx?mfr=true
**tablesfile=vdfwiki-$(date +%Y%m%d).sql
**zip,unzip http://www.info-zip.org/
**mysqldump -u root -p > $(tablesfile)
*do a automated batch script that uploads the snapshots  
**mysqldump -u wikiuser -p wikidb > $(tablesfile)
**http://www.speedguide.net/read_articles.php?id=1547
**snapshot=vdfwiki-$(date +%Y%m%d).tbz
**tar cjf $(snapshot)
*do a automated batch script that uploads the snapshots (cron)
**ncftpput: http://www.ncftp.com/ncftp/doc/ncftpput.html
**ncftpput: http://www.ncftp.com/ncftp/doc/ncftpput.html
**schedule the batch : http://www.iopus.com/guides/winscheduler.htm


===Using MediaWiki extensions ===
===Using MediaWiki extensions ===

Revision as of 14:07, 16 February 2008

Information

Name Jacob Andresen
Email jacob@sture.dk
Company Sture Aps

Facebook: http://www.facebook.com/profile.php?id=714677527


Articles

Tips and Tricks

mediawiki admin

System Plan

2007 startup

  • Establish sysop team

2008 Q1

  • Automated backup (to DAE ftp server)
  • Handle comment spam (ConfirmEdit)

2008 Q2

  • Visual DataFlex Source code formatting ( input from Torkild )
  • namespaces support ( input from Mike )

Notes

Backup

  • http://www.mediawiki.org/wiki/Manual:Moving_a_wiki
  • take snapshots of mysql dump and mediawiki settings (using cygwin)
    • tablesfile=vdfwiki-$(date +%Y%m%d).sql
    • mysqldump -u root -p > $(tablesfile)
    • mysqldump -u wikiuser -p wikidb > $(tablesfile)
    • snapshot=vdfwiki-$(date +%Y%m%d).tbz
    • tar cjf $(snapshot)

Using MediaWiki extensions

other stuff

  • How to handle uploads
    • no .exe files

Page protection