create new tag
, view all tags


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


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.


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


  • 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.



  • 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 History Action Size Date Who Comment
Texttxt GetAWeb.txt   manage 1.4 K 2000-09-17 - 12:36 UnknownUser  
Unknown file formatmd5 GetAWebAddOn.md5 r2 r1 manage 0.2 K 2011-02-24 - 05:10 PeterThoeny  
Compressed Zip archivetgz GetAWebAddOn.tgz r2 r1 manage 4.8 K 2011-02-24 - 05:10 PeterThoeny  
Compressed Zip archivezip GetAWebAddOn.zip r7 r6 r5 r4 r3 manage 7.4 K 2011-02-24 - 05:10 PeterThoeny  
Unknown file formatEXT GetAWebAddOn_installer r2 r1 manage 3.4 K 2011-02-24 - 05:10 PeterThoeny  
Edit | Attach | Watch | Print version | History: r29 < r28 < r27 < r26 < r25 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r29 - 2013-10-16 - PeterThoeny
  • Learn about TWiki  
  • Download TWiki
This site is powered by the TWiki collaboration platform Powered by Perl Hosted by OICcam.com Ideas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2018 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.