Edgewall Software

Opened 14 years ago

Closed 13 years ago

#7901 closed defect (fixed)

Allow dumping of a group of wiki pages

Reported by: Shane Caraveo <shanec@…> Owned by: Remy Blank
Priority: normal Milestone: 0.12
Component: wiki system Version:
Severity: normal Keywords:
Cc: Branch:
Release Notes:
API Changes:
Internal Changes:


Using trac-admin, you can dump all or one of the wiki pages. The patch to follow allows you to specificy a group of wiki pages to dump, by using the wiki page names. To dump all the wiki pages with a name starting with "Trac" you use:

trac-admin /path/to/env wiki dump Trac /dump/directory

I suppose it could actually use regular expressions to offer a bit more flexibility.

Attachments (1)

trac-export-wiki.patch (1.6 KB ) - added by Shane Caraveo <shanec@…> 14 years ago.
dump a group of wiki files

Download all attachments as: .zip

Change History (4)

by Shane Caraveo <shanec@…>, 14 years ago

Attachment: trac-export-wiki.patch added

dump a group of wiki files

comment:1 by Remy Blank, 14 years ago

Milestone: 0.12

I'll look into this. However, the trac-admin infrastructure has been reworked in trunk, so I'd rather implement this there.

comment:2 by Remy Blank, 14 years ago

Owner: set to Remy Blank

comment:3 by Remy Blank, 13 years ago

Resolution: fixed
Status: newclosed

Implemented in [8634]. I didn't go all the way to using regexes, but an arbitrary number of page names can be specified after the directory in trac-admin $ENV wiki dump, and a name ending with a * means that all pages with that prefix should be dumped.

Modify Ticket

Change Properties
Set your email in Preferences
as closed The owner will remain Remy Blank.
The resolution will be deleted. Next status will be 'reopened'.
to The owner will be changed from Remy Blank to the specified user.

Add Comment

E-mail address and name can be saved in the Preferences .
Note: See TracTickets for help on using tickets.