DokuWiki

It's better when it's simple

User Tools

Site Tools


plugin:zip

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
plugin:zip [2011-05-29 09:55] – downloadurl changed lupo49plugin:zip [2023-12-17 00:21] (current) – new download url Aleksandr
Line 1: Line 1:
-====== Zip plugin ======+====== Zip Plugin ======
  
 ---- plugin ---- ---- plugin ----
Line 6: Line 6:
 email      : oncomouse@gmail.com email      : oncomouse@gmail.com
 type       : admin type       : admin
-lastupdate :  +lastupdate : 2006-06-01 
-compatible : until 2006-11-06+compatible : !Igor
 depends    :  depends    : 
 conflicts  conflicts 
Line 13: Line 13:
 tags       : maintenance, backup, archive tags       : maintenance, backup, archive
  
-downloadurl: http://dump.lupo49.de/plugin-mirror/plugin_zip/doku-zip-pear-0.4.zip+downloadurl: https://trello.com/1/cards/5d50434dfe312e30a96a8d96/attachments/5d5044ab13ec3e5a75eaf35e/download/doku-zip-pear-0.4.zip 
 +bugtracker :  
 +sourcerepo :  
 +donationurl:  
 + 
 +screenshot_img: 
 ---- ----
  
-====== Download ======+===== Warning! ===== 
 + 
 +^  :!: This plugin could break your dokuwiki! :!:  ^ 
 +|  See: [[https://forum.dokuwiki.org/d/20719-admin-page-corrupted | Admin Page corrupted]]   | 
 + 
 +===== Download =====
  
 //The Download-Button in the formular refers to the second link.// //The Download-Button in the formular refers to the second link.//
  
-  * [[http://dump.lupo49.de/plugin-mirror/plugin_zip/doku-zip-0.4.zip|Doku Zip Backup without PEAR libraries (4.0 Kb)]] (4.0 Kb) +  * [[https://trello.com/1/cards/5d50434dfe312e30a96a8d96/attachments/5d5044ab762be8282569a92c/download/doku-zip-0.4.zip|Doku Zip Backup without PEAR libraries]] 
-  * [[http://dump.lupo49.de/plugin-mirror/plugin_zip/doku-zip-pear-0.4.zip|Doku Zip Backup with PEAR libraries (176 K)]] (176 K) +  * [[https://trello.com/1/cards/5d50434dfe312e30a96a8d96/attachments/5d5044ab13ec3e5a75eaf35e/download/doku-zip-pear-0.4.zip|Doku Zip Backup with PEAR libraries]] 
-  * [[http://dump.lupo49.de/plugin-mirror/plugin_zip/doku-data.zip|Raw Doku data dir schema. Useful for restoring lost wiki data]]+  * [[https://trello.com/1/cards/5d50434dfe312e30a96a8d96/attachments/5d5044aa92d7bb32babb4943/download/doku-data.zip|Raw Doku data dir schema. Useful for restoring lost wiki data]]
  
 +===== Introduction =====
  
-====== Introduction ======+This plugin saves a doku wiki as a zip file that contains ''changes.log'', ''pages/'', and, ''attic/'' from the directory pointed to by ''%%$conf["savedir"]%%''. In addition to the ability to save zip backups, this plugin also allows for the restoration of lost data from such an archive.
  
-This plugin saves a doku wiki as a zip file that contains changes.log, pages/, and, attic/ from the directory pointed to by $conf["savedir"]. In addition to the ability to save zip backups, this plugin also allows for the restoration of lost data from such an archive. 
-\\ \\ 
 Make sure to check the [[plugin:zip#caveats_things_that_don_t_work|caveat]] section before installing, as there are a few problems with this plugin at the moment. Make sure to check the [[plugin:zip#caveats_things_that_don_t_work|caveat]] section before installing, as there are a few problems with this plugin at the moment.
  
- +===== Requirements =====
-====== Requirements ======+
  
 Doku Zip Backup depends on the [[http://pear.php.net/package/File_Archive|File_Archive]] library from [[http://pear.php.net/|PEAR]] to work. If you do not have the ability to install PEAR libraries (or do not have PEAR installed at all on your webhost), don"t worry, there is a version of Doku Zip Backup that includes all the PEAR libraries needed to run the plugin. Doku Zip Backup depends on the [[http://pear.php.net/package/File_Archive|File_Archive]] library from [[http://pear.php.net/|PEAR]] to work. If you do not have the ability to install PEAR libraries (or do not have PEAR installed at all on your webhost), don"t worry, there is a version of Doku Zip Backup that includes all the PEAR libraries needed to run the plugin.
  
  
-====== Installation ======+===== Installation =====
  
 As with any plugin, the zip file containing Doku Zip Backup must be extracted into the lib/plugins directory of your doku install. Depending on the install file (see below) you downloaded, you will have either a directory named zip-standalone or zip-with-pear. Rename that directory to zip in order to maintain standard naming conventions within doku. As with any plugin, the zip file containing Doku Zip Backup must be extracted into the lib/plugins directory of your doku install. Depending on the install file (see below) you downloaded, you will have either a directory named zip-standalone or zip-with-pear. Rename that directory to zip in order to maintain standard naming conventions within doku.
-\\ \\+
 After having done that, open the file zip/admin.php in your favorite text editor. After having done that, open the file zip/admin.php in your favorite text editor.
-\\ \\+
 There are two values you can change: There are two values you can change:
-\\ \\+
 If you are using the standalone version of Doku Zip Backup and the necessary PEAR libraries (see above) are not installed in a system-wide PEAR repository, you may uncomment the following line and set it to the location of the php folder within your personal PEAR repository. If you are using the standalone version of Doku Zip Backup and the necessary PEAR libraries (see above) are not installed in a system-wide PEAR repository, you may uncomment the following line and set it to the location of the php folder within your personal PEAR repository.
  
Line 52: Line 60:
  
 Users of the version of Doku Zip Backup that includes the PEAR libraries do not need to change this line. Users of the version of Doku Zip Backup that includes the PEAR libraries do not need to change this line.
-\\+
 Secondly, if you would like to place the location of where Doku Zip Backup places its temporary files, you may change the line: Secondly, if you would like to place the location of where Doku Zip Backup places its temporary files, you may change the line:
  
Line 61: Line 69:
 Other than that, there is nothing that needs to be configured. Other than that, there is nothing that needs to be configured.
  
-====== Caveats / Things That Don't Work ======+===== Caveats / Things That Don't Work =====
  
-  * At the moment, this plugin is incompatible with users who have set $conf["usegzip"] to 1. This is due more to the horrible documentation of File_Archive than to anything within the plugin itself. Once I figure out how to store compressed files in an archive using the library, this problem should be removed. +  * At the moment, this plugin is incompatible with users who have set ''%%$conf["usegzip"]%%'' to ''1''. This is due more to the horrible documentation of File_Archive than to anything within the plugin itself. Once I figure out how to store compressed files in an archive using the library, this problem should be removed. 
-  * Support for [[http://pear.php.net/package/Cache_Lite|Cache_Lite]] is disabled, as it does not appear to work in the current version of File_Archive. Its possible that I may be doing something wrong here, but it seems that when filling the cache, File_Archive does not actually compress the data (it may also be returning a tar file of some sort). Upon subsequent cache hits, the resulting zip file is perfectly fine (which seems to be undesirable).+  * Support for [[http://pear.php.net/package/Cache_Lite|Cache_Lite]] is disabled, as it does not appear to work in the current version of File_Archive. It'possible that I may be doing something wrong here, but it seems that when filling the cache, File_Archive does not actually compress the data (it may also be returning a tar file of some sort). Upon subsequent cache hits, the resulting zip file is perfectly fine (which seems to be undesirable).
   * Restoring from backup seems to destroy timestamps for last edit data. I have not yet verified this.   * Restoring from backup seems to destroy timestamps for last edit data. I have not yet verified this.
   * Software only has English localization.   * Software only has English localization.
- 
  
plugin/zip.1306655752.txt.gz · Last modified: 2011-05-29 09:55 by lupo49

Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Share Alike 4.0 International
CC Attribution-Share Alike 4.0 International Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki