Hi Peter, Of course, though you might want to think a bit on the approach.
1) If you want to do it in XWiki using the scheduler plugin, you have to write some groovy script  in the scheduled task that you create in order to use the filter module  (or the old packager module , whichever you choose) in order to export the pages you are interested in and save the result (on the filesystem or as an attachment in a page). As inspiration, you could check out the source code (in java) of the export action  which is exactly what is going on when you are exporting a page from the UI. 2) A simpler choice, IMO, would be to schedule a cron  task on a linux machine (possible the same one running the XWiki instance) and have that task simply download (using something like cURL ) the result of a manually crafter export URL (as detailed in our documentation ) containing the list of pages to export. Hope this helps, Eduard ----------  http://platform.xwiki.org/xwiki/bin/view/DevGuide/Scripting  http://extensions.xwiki.org/xwiki/bin/view/Extension/Filter+Module  https://github.com/xwiki/xwiki-platform/blob/master/xwiki-platform-core/xwiki-platform-oldcore/src/main/java/com/xpn/xwiki/plugin/packaging/PackageAPI.java  https://github.com/xwiki/xwiki-platform/blob/master/xwiki-platform-core/xwiki-platform-oldcore/src/main/java/com/xpn/xwiki/web/ExportAction.java#L244  https://en.wikipedia.org/wiki/Cron  https://en.wikipedia.org/wiki/CURL  http://platform.xwiki.org/xwiki/bin/view/Features/Exports#HXARExport On Thu, Sep 17, 2015 at 3:49 PM, Peter Huisman <p.huis...@ximm.nl> wrote: > Hi, > > Is there a way to generate XAR’s using XWiki’s scheduling function? I’m > not looking for a DB based backup but merely for a backup of spaces / pages. > > With kind regards, > > Peter > _______________________________________________ > users mailing list > email@example.com > http://lists.xwiki.org/mailman/listinfo/users > _______________________________________________ users mailing list firstname.lastname@example.org http://lists.xwiki.org/mailman/listinfo/users