Tags:
create new tag
, view all tags

GetAWebAddOn

Make a copy of a whole TWiki web for backup or for offline reading

Introduction

Sometime it is useful to make a copy of a TWiki web from remote for backup or for offline reading. This add-on archives a whole TWiki web.

Supported File Formats

The script produces files in the .tar format.

Usage

Web Format Versions URI
Webname tar all %SCRIPTURL{get-a-web}%/Webname/Webname.tar

Security

  • All the twiki/data, twiki/pub and twiki/template files of the chosen web are archived, except for the .htaccess and .htpasswd and the *.lock files.
  • User authentication can be handled with apache <Location> directive.
  • Any user that can access this script is able to get a full copy of the entire web - TWiki security is NOT respected. Use with caution.

Demo

Installation

  • Unzip in twiki root directory

Add-On Info

  • Set SHORTDESCRIPTION = Make a copy of a whole TWiki web for backup or for offline reading

Add-on Author: TWiki:Main.AndreaSterbini, TWiki:Main.WillNorris, TWiki:Main.SvenDowideit
Copyright: © 2004-2005 TWiki:Main.WillNorris, © 2004-2011 TWiki:TWiki.TWikiContributor
License: GPL (GNU General Public License)
Add-on Version: 2011-02-23
Change History:  
2011-02-23: TWikibug:Item6638: Fix for TWiki-5.0; doc improvements; changing TWIKIWEB to SYSTEMWEB -- PeterThoeny
25 June 2008: 0.98 fixed problem running on TWiki 4.2 - TWiki:Main.SvenDowideit
7 Feb 2005: 0.97 made compatable with Cairo or DEVELOP
8 Dec 2004: 0.96 added more error checking, redirects errors to browser for easier debugging
2 Dec 2004: 0.95 updated to use Archive::Tar instead of system calls (only tar is available atm); also now works correctly and automatically regardless of whether your pub, templates, and data directories all share the same parent directory, or are spread out
12 Oct 2004: 0.9 for TWiki:Codev/TWikiRelease01Sep2004
17 Sep 2000: Initial version
CPAN Dependencies: CPAN:Archive::Tar
Other Dependencies: none
Perl Version: 5.005
Add-on Home: http://TWiki.org/cgi-bin/view/Plugins/GetAWebAddOn
Feedback: http://TWiki.org/cgi-bin/view/Plugins/GetAWebAddOnDev

Related Topic: TWikiAddOns

Topic attachments
I Attachment Action Size Date Who Comment
Texttxt GetAWeb.txt manage 1.4 K 2000-09-17 - 12:36 UnknownUser  
Unknown file formatmd5 GetAWebAddOn.md5 manage 0.2 K 2011-02-24 - 05:10 PeterThoeny  
Compressed Zip archivetgz GetAWebAddOn.tgz manage 4.8 K 2011-02-24 - 05:10 PeterThoeny  
Compressed Zip archivezip GetAWebAddOn.zip manage 7.4 K 2011-02-24 - 05:10 PeterThoeny  
Unknown file formatEXT GetAWebAddOn_installer manage 3.4 K 2011-02-24 - 05:10 PeterThoeny  
Topic revision: r28 - 2011-08-23 - PeterThoeny
 
Twitter Delicious Facebook Digg Google Bookmarks E-mail LinkedIn Reddit StumbleUpon    
  • Download TWiki
TWiki logo Powered by Perl Hosted by OICcam.com Ideas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2012 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.