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 Version:
2011年02月23日
Change History:
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
17 Sep 2000:
Initial version
Other Dependencies:
none
Perl Version:
5.005
Related Topic: TWikiAddOns