PmWiki2PDFBackup

Question

  • Can I back up my entire site in PDF format?

Answer

  • Using the PmWiki2PDF cookbook entry and this one, you can!

Notes and Comments

  • This recipe was last tested on PmWiki version: 2.0beta30
  • This recipe requires at least PmWiki version: 2.0beta30 and PmWiki2PDF
  • Also, this script must be run from a Windows-based machine

Instructions

  • Download this text file: backupWiki.txtΔ, and rename it to backupWiki.js.
  • Place this file on any Windows machine that has network access to the PmWiki server (or put it on the server itself).
    • Script's default location is C:\PDF\
  • Download wget version 1.10 or higher from http://xoomer.virgilio.it/hherold/#Files (or any other site with Windows binaries).
  • Modify the script to suit your own server.
    • All of the modifiable variables are at the top of the script (strWgetLocation, strHttpLocation, etc.)
  • Test it out by either double-clicking on the backupWiki.js file, or executing it in a command line by running cscript.exe C:\PDF\backupWiki.js
  • It should back up all of your wiki pages to the location you specified in strTargetDirectory.

See Also

Contributors

Questions

  • Would it be possible to get a little further explanation of the variables and the locations required? I have the PmWiki2PDF module working, but the source directory variable does not seem to be working. When you say 'network access to the PMWiki server', are you referring to local access? Can it be run from the server side to back up a site I'm managing that I only have remote management of (IE, a hosted web site)?
  • I ran it, and it processed every file! But, there is no resulting PDF file... where is the resulting file(s)??? Never mind... I found them.

Category: PDF