Hi Clemens, On 19 Feb 2015 at 10:56:57, Clemens Klein-Robbenhaar ([email protected](mailto:[email protected])) wrote:
On 02/19/2015 10:12 AM, [email protected] wrote:
Hi,
On 19 Feb 2015 at 09:22:24, Thomas Mortagne ([email protected](mailto:[email protected])) wrote:
On Thu, Feb 19, 2015 at 8:50 AM, [email protected] wrote:
Hi Michael,
On 18 Feb 2015 at 21:22:57, Michael Kurbatov ([email protected](mailto:[email protected])) wrote:
We were creating a tutorial wiki for our company. During the making of it, we wanted to delete a space by clicking XWiki drop down menu on the home page and clicking delete. Instead of deleting the space the whole wiki got deleted...
Is there a way to retrieve the lost content?
Yes, we really need a way to undelete a space or even the whole wiki from the recycle bin…
Space and wiki are two very different use cases, you can't restore a wiki because deleting a wiki delete the database/schema in which it's stored.
Indeed if you have deleted the wiki in the wiki index then it’s lost unfortunately if you don’t have backups.
If this is the issue here, then maybe the UI should make it harder to delete wikis ?
I.e. the way github does it of you want to delete a repository: you have to type in the name of the repository manually a second time before it is really deleted.
That is intentionally inconvenient to make accidental deletion by "random button clicking" impossible.
Yes we’ve discussed this several times AFAIR and we all agree but I couldn’t find the jira issue when searching this morning. If you find please reference it here. Maybe we should create a new jira issue just to be sure we don’t forget this and tackle it sooner than later. Thanks -Vincent
Just an idea Clemens
sorry -Vincent
I guess you could check this script: http://extensions.xwiki.org/xwiki/bin/view/Extension/RestoreSpace
BTW, were you using the filesystem for storing attachments?
Thanks -Vincent
Regards, Mikhail