MediaWiki: Purge All Users hold Page Content

If you use MediaWiki to hold your Infos, you perhaps want to Mirror the wiki to other Locations or drop all Users but hold the Content?

You can do it with onboard tools:

On the Source:

  • Login into the Console of the Webserver
  • go to /webspace/wiki/maintenance
  • run here:

php  dumpBackup.php --full > backup.xml

  • tar or rsync the image folder to destination Webspace
  • copy backup.xml to the destination Webspace
  • if you not have done, install MediaWiki new on the destination
  • go to the /webspace/wikinew/maintenance
  • paste backup.xml here
  • restore the backup:

php importDump.php backup.xml

  • run rebuild Database:

php rebuildrecentchanges.php

  • cleanup Caches:

php update.php

  • go to the Wiki and Login!
  • Check out the Content and you have NO Spam Users inside!!
  • This Steps can be used with Scripts to mirror Wiki Content WITHOUT User mirroring!! (filter out Spam Users!)


PDF/A: Setup Linux CUPS to Print Archive PDF/A

If you have a Office and you have to archive Documents and Prints over Years you should have heard that there is a special PDF Type called PDF/A which is set as default Archiving PDF File Type for decades.

Air Cooled Archive Raid Harddrives Low Noise Passive Cooled
Air Cooled Archive Raid Harddrives with Acoustic Decoupling (Zero Dollar) Solution

To use it you can use the Linux Print Server called CUPS to translate all digital Prints to PDF/A. This free Software Printer is known on all Linux Releases, and he can listen on USB and Network Interfaces on Documents. Also you can use Network Printers/Scanners like the Brother MFC-Series to Scan Documents and later to print them virtual as PDF/A (PDP Archive File)

The way the file is going on a Office:

Office PC -> Openoffice Writer-> Print to Cups->Linux OS -> Network -> Linux Office Server -> Linux OS -> CUPS -> CUPS Converter to PDF/A (Postscript Driver)-> Output Directory (perhaps Windows, FTP, Cloud Share)

Manual Cups Ubuntu

PDF/A Basics

Manual Windows Share Setup

Manual Cloud Share Setup

Manual FTPs Server Setup


  • On the Data Share you can put single “Text” (.txt) files for words like “holiday.txt, 2017.txt” into different folders to describe the Documents and Media.
  • This offers a Timeless Search Solution, on Linux/Unix Console with the DEFAULT TOOLS like find, grep, cat or locate. Cause Text will be readable the next Decades!
  • Think easier is more helpful..
  • If you need no File Access Restrictions try to prevent the usage of modern CMS or databased Solutions!
  • Use Technics which are independent from the Operating Systems

..happy Archiving..