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 : "[email protected]" <[email protected]> À : XWiki Users <[email protected]> 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 ([email protected](mailto:[email protected])) 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 [email protected] http://lists.xwiki.org/mailman/listinfo/users