I'm trying to find a good method to automatically perform backups on Magnolia 
5.3 CE.

According to the following documentation I should be able to use the Scheduler 
module to perform exports:

https://documentation.magnolia-cms.com/display/DOCS/Importing+and+exporting#Importingandexporting-Option3:UseMagnolia'sexportcommand
https://documentation.magnolia-cms.com/display/DOCS/Scheduler+module

However, when the cron triggers I'm getting NPE for 'output'. Looking at the 
source codes, it seems I'm supposed to provide an OutputStream but how could I 
possibly provide that?

The command I'm invoking is info.magnolia.commands.impl.ExportCommand, based on 
the documentation at 
https://documentation.magnolia-cms.com/display/DOCS/Commands

Can someone advise what am I doing wrong? Or is the documentation wrong?

-- 
Context is everything: 
http://forum.magnolia-cms.com/forum/thread.html?threadId=e5dce2f8-b1b0-48f5-b767-721f72253f5e


----------------------------------------------------------------
Alternatively, use our forums: http://forum.magnolia-cms.com/
To unsubscribe, E-mail to: <[email protected]>
----------------------------------------------------------------

Reply via email to