I've been running jaspperserver (deploye开发者_如何学Cd on tomcat 6) for a while now. In my daily report folder I have quite a huge number of files.
I'm wondering if there is a way to back them up and delete them from that folder so that I have an empty daily report folder again.
You could download them via the webservice interface of jasperserver in a script and then safe them somewhere. And then delete them on the server.
Or you could just take a backup of the jasperserver database (which contains the pdf files) and delete them afterwards. But then you would have to do a restore to download them later.. and that might be a problem if you upgraded jasperserver version.
You could even just run a separate jasper server off the database copy...
精彩评论