Focal Point Banner


As of December 1, 2020, Focal Point is retired and repurposed as a reference repository. We value the wealth of knowledge that's been shared here over the years. You'll continue to have access to this treasure trove of knowledge, for search purposes only.

Join the TIBCO Community
TIBCO Community is a collaborative space for users to share knowledge and support one another in making the best use of TIBCO products and services. There are several TIBCO WebFOCUS resources in the community.

  • From the Home page, select Predict: WebFOCUS to view articles, questions, and trending articles.
  • Select Products from the top navigation bar, scroll, and then select the TIBCO WebFOCUS product page to view product overview, articles, and discussions.
  • Request access to the private WebFOCUS User Group (login required) to network with fellow members.

Former myibi community members should have received an email on 8/3/22 to activate their user accounts to join the community. Check your Spam folder for the email. Please get in touch with us at community@tibco.com for further assistance. Reference the community FAQ to learn more about the community.


Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     [SHARING] Hourly World Backups

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[SHARING] Hourly World Backups
 Login/Join
 
Master
posted
I created an hourly backup process for our developers after one very loud and irate dev lost his day's work on a disk space whitescreen crash. This backs up 9 worlds, hourly from 8a - 6p, M-F. Costs ~180MB but since I don't have to hear that commotion again, priceless.

This process (as written) requires WinZip on the Server and the Command Line Add On for compression. The files are overwritten each day the schedule executes (we also have a nightly backup done by our server team). The files are named with the date and hour of backup.

backup.bat
@ECHO OFF

For /f "tokens=1-3 delims=/:." %%a in ("%TIME%") do (set hour=%%a)

REM	ECHO %hour%

REM -ex Maximum (portable) compression
REM -P  Stores folder names.
REM -r  Recurses subfolders.
REM -a  Adds files

wzzip -ex -P -r -a "D:\WorldBackups\Hour%hour%-DevWorldsBackup.zip" @backup_dev_worlds_list.lst 1>NUL


backup_dev_worlds_list.lst
; Worlds
C:\ibi\WebFOCUS768\basedir\woMe\*
C:\ibi\WebFOCUS768\basedir\woYou\*
C:\ibi\WebFOCUS768\basedir\woGrumpyOldTroll\*


Scheduled via Windows Scheduled Tasks:

Separate task for every hour (10 total)
Schedule Task: Weekly
Start Time: 8:00am (repeat for other hours)
Schedule Task Weekly:
Every [_1_] Week On M, T, W, T, F

Hope this keeps your devs from griping!
- ABT


------------------------------------
WF Environment:
------------------------------------
Server/Client, ReportCaster, Dev Studio: 7.6.11
Resource Analyzer, Resource Governor, Library, Maintain, InfoAssist
OS: Windows Server 2003
Application/Web Server: Tomcat 5.5.25
Java: JDK 1.6.0_03
Authentication: LDAP, MRREALM Driver
Output: PDF, EXL2K, HTM

------------------------------------
Databases:
------------------------------------
Oracle 10g
DB2 (AS/400)
MSSQL Server 2005
Access/FoxPro
 
Posts: 561 | Registered: February 03, 2010Report This Post
<JG>
posted
There is no need to have winzip or any other 3rd party "zip" software on the server.
WebFOCUS includes a zip utility zip.exe on windows (different name on unix)

It's in the drive:\ibi\srv77\home\bin\ directory

type zip -h or zip -h2 at a command prompt in that folder for help (or give it the full path).
 
Report This Post
  Powered by Social Strata  

Read-Only Read-Only Topic

Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     [SHARING] Hourly World Backups

Copyright © 1996-2020 Information Builders