Ok but I wanted reset only my space Sandbox everyday. So I suppose I must use an update
SQL request then (and delete xx/data_xwiki/storage/xwiki/Sandbox/) .
PS: But I think your idea to create a full playground wiki is a goord one (search engine
is not polluted by sandbox space)
thank you
________________________________
De : "vincent(a)massol.net" <vincent(a)massol.net>
À : XWiki Users <users(a)xwiki.org>
Envoyé le : Mercredi 9 avril 2014 11h17
Objet : Re: [xwiki-users] How do you reset sandbox?
Hi,
If you’re referring to the sandbox wiki, we do this once to save the mysql data:
mysqldump -uxwiki -p<pass here> --add-drop-database playground >
/root/playground/playground.sql
And then every
day with a os-level cron job:
/usr/bin/mysql playground < /root/playground/playground.sql
Thanks
-Vincent
On 9 Apr 2014 at 11:01:45, Pascal BASTIEN
(pbasnews-xwiki@yahoo.fr(mailto:pbasnews-xwiki@yahoo.fr)) wrote:
Hello,
How do you reinit sandbox?
With snippet and scheduler or bash + cron to launch a SQL code on database?
Thxs;
_______________________________________________
users mailing list
users(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/users