You are viewing a plain text version of this content. The canonical link for it is here.
Posted to general@jakarta.apache.org by "Shapira, Yoav" <Yo...@mpi.com> on 2004/03/25 18:21:54 UTC

Are wiki pages backed up?

Hi,
Are our wiki pages (either old UseMod or new MoinMoin) backed up
regularly?  Or maybe backed up somewhere like CVS?  Is there something
we can do if someone maliciously edits a page and removes all content?

I apologize if I should know all this, or if this is the wrong list.  I
did search the various MoinMoin FAQs at wiki.apache.org, migration
guide, etc, and saw no mention of backups.  But maybe it's such an
obvious yes that no one saw the need to document it ;)  I just want to
confirm.  Thanks,

Yoav Shapira
Millennium Research Informatics





This e-mail, including any attachments, is a confidential business communication, and may contain information that is confidential, proprietary and/or privileged.  This e-mail is intended only for the individual(s) to whom it is addressed, and may not be saved, copied, printed, disclosed or used by anyone else.  If you are not the(an) intended recipient, please immediately delete this e-mail from your computer system and notify the sender.  Thank you.


---------------------------------------------------------------------
To unsubscribe, e-mail: general-unsubscribe@jakarta.apache.org
For additional commands, e-mail: general-help@jakarta.apache.org


Re: Are wiki pages backed up?

Posted by se...@apache.org.
----- Original Message ----- 
From: "Noel J. Bergman" <no...@devtech.com>
To: "Jakarta General List" <ge...@jakarta.apache.org>
Cc: <le...@apache.org>
Sent: Thursday, March 25, 2004 9:27 PM
Subject: RE: Are wiki pages backed up?


> > Are our wiki pages (either old UseMod or new MoinMoin) backed up
> > regularly?  Or maybe backed up somewhere like CVS?  Is there something
> > we can do if someone maliciously edits a page and removes all content?
> 
> UseMod kinda, MoinMoin, I'm not sure.  In the longer run, Greg is working on
> a Subversion-based Wiki that would be a drop-in replacement for our Moin
> Moin Wiki Farm.
> 

Previous copies of pages are saved in the backup directory, for example (JMeter Wiki)

ls -l data/backup
total 142
-rwxrwxrwx  1 noel    apsite   1334 Mar  4 11:01 FrontPage.1078426912
-rw-rw-rw-  1 nobody  apsite   1440 Mar  5 03:59 FrontPage.1078487995
-rw-rw-rw-  1 nobody  apsite   1996 Mar 10 14:41 FrontPage.1078958466
[...]

Anyone with shell access can restore an earlier version of a page. There may be a way using the Wiki too.

S.

---------------------------------------------------------------------
To unsubscribe, e-mail: general-unsubscribe@jakarta.apache.org
For additional commands, e-mail: general-help@jakarta.apache.org


Re: Are wiki pages backed up?

Posted by Leo Simons <le...@apache.org>.
Noel J. Bergman wrote:
>>Are our wiki pages (either old UseMod or new MoinMoin) backed up
>>regularly?

nope. Manually, every now and then. How lame is that, huh? Need to 
install a cronjob. Forgot about it several times now. Can someone please 
add an entry to jira?

Moin does store previous revisions of files (in the 'backup' folder 
alongside the 'text' folder), but not the latest revision. That, we can 
retrieve, in theory, from the change notifications. In practice, we had 
to do that when the avalon wiki was erronously wiped a while back, and 
it is a major headache which takes hours to figure out.

If someone with enoug priviledges runs an rm -Rf in the wrong place 
we've got a big problem.

> Or maybe backed up somewhere like CVS?  Is there something
> >we can do if someone maliciously edits a page and removes all content?

yes, if the edit is through the web, that is easy enough (though not 
enabled by default). The 'i' icon in the top right corner of each page 
gets you a page with a link to the revision info. Click on the 'view' of 
a revision, and replace 'action=recall' with 'action=raw'. You can 
copy-paste that content in the edit pane of the page to restore it.

I think a better description is in the Moin FAQ.

I don't think anyone has modded moin to automate that process, probably 
in part because...

> UseMod kinda, MoinMoin, I'm not sure.  In the longer run, Greg is working on
> a Subversion-based Wiki that would be a drop-in replacement for our Moin
> Moin Wiki Farm.

-- 
cheers,

- Leo Simons

-----------------------------------------------------------------------
Weblog              -- http://leosimons.com/
IoC Component Glue  -- http://jicarilla.org/
Articles & Opinions -- http://articles.leosimons.com/
-----------------------------------------------------------------------
"We started off trying to set up a small anarchist community, but
  people wouldn't obey the rules."
                                                         -- Alan Bennett


---------------------------------------------------------------------
To unsubscribe, e-mail: general-unsubscribe@jakarta.apache.org
For additional commands, e-mail: general-help@jakarta.apache.org


RE: Are wiki pages backed up?

Posted by "Noel J. Bergman" <no...@devtech.com>.
> Are our wiki pages (either old UseMod or new MoinMoin) backed up
> regularly?  Or maybe backed up somewhere like CVS?  Is there something
> we can do if someone maliciously edits a page and removes all content?

UseMod kinda, MoinMoin, I'm not sure.  In the longer run, Greg is working on
a Subversion-based Wiki that would be a drop-in replacement for our Moin
Moin Wiki Farm.

	--- Noel


---------------------------------------------------------------------
To unsubscribe, e-mail: general-unsubscribe@jakarta.apache.org
For additional commands, e-mail: general-help@jakarta.apache.org