Environment WebFOCUS 8201 on IBM i, with Reporting Server running in Red Hat Linux partition.
I have a script to connect via ftp and download my work files (sql, acx, mas, xltm), then zip and rotate last 30 days (sessions) files.
I'd really like to also back up the reports and schedules which are stored in Derby database.
Yes, the Linux partition is being backed up daily, but it's such an involved process to put my client through when I need to restore something that I'm looking for a better solution.
The derby files are in /ibi8201/ibi/derby/WebFOCUS82/seg0.
I don't expect saving those files and the parent folder would do me any good.
I searched through past messages and saw a similar request from 2011 where the answer was to revert to system backups. Again, not my goal.
Looking for automated 1-click process so the Change Management packages don't seem to be the answer. They also don't include the schedules.
Anyone got a better solution for quickly backing up reports and/or schedules?This message has been edited. Last edited by: FP Mod Chuck,
Dennis Tuttle WebFOCUS 8.201M iSeries V7.2 Active, HTML, Excel
March 25, 2019, 04:01 PM
MartinY
Using the client you have the "Change Management". Create a new Scenario from the Export folder and select the schedules. The result will be stored under \\your_server\ibi\WebFOCUS82\cm\export
Cannot be automated, but at least you can back your schedules from there
WF versions : Prod 8.2.04M gen 33, Dev 8.2.04M gen 33, OS : Windows, DB : MSSQL, Outputs : HTML, Excel, PDF In Focus since 2007
March 25, 2019, 10:12 PM
TexasStingray
Actually you could use Visual Studio Community and create an exe that makes HTTP Requests to execute the export. Then you could use windows task scheduler and schedule the exe.
Scott
March 27, 2019, 12:27 PM
DennisET
I did some poking around and found these scripts that give me the impression I could automate exporting change management packages. I've done DOS batch scripting before but this is at a more advanced level.
I know just enough to log into Linux and check the stuff I've been shown how to do, but I'm not proficient.
Anyone with scripting and Linux skills willing to take a look?
Dennis Tuttle WebFOCUS 8.201M iSeries V7.2 Active, HTML, Excel
March 28, 2019, 09:53 AM
FP Mod Chuck
Dennis
In Linux you can create a .sh file of your own with ! ../ibi/WebFOCUS82/utilities/cm/cm_export.sh
The ! is like a windows DOS command. Then you can use the linux crontab command to schedule it. I haven't ever used crontab but I googled how to schedule on linux and it popped up..
Thank you for using Focal Point!
Chuck Wolff - Focal Point Moderator WebFOCUS 7x and 8x, Windows, Linux All output Formats
March 29, 2019, 11:38 AM
DennisET
I will investigate. Thanks!
Dennis
Dennis Tuttle WebFOCUS 8.201M iSeries V7.2 Active, HTML, Excel