Ian (or Christian?) writes: >Has anyone found an easy way to incrementally backup HFS/ZFS files on a >ZOS platform. At the moment I am using the service routines BPX1GMN and >BPX1OPD to get a list of the mounted file systems, their ZOS dataset name >and modified date then using this as source to incrementally backup the >data. (seems a bit over the top)
The answer might strongly depend on what you use elsewhere in your enterprise (or at least on your mainframe) for backup. (Think here about disaster recovery, data security, automation, tape allocation, hierarchical storage management, etc. All these issues are normally part of your enterprise backup strategy already, so it's probably not a good idea to reinvent the wheel too much and just piggyback on what you've already got.) In the IBM tools realm there's the IBM Tivoli Storage Manager z/OS UNIX System Services Backup-Archive Client -- wow, that's a long name -- which is a piece of TSM which plugs into the TSM world. Innovation Data Processing's FDR/UPSTREAM USS is another example, and I suspect there are other vendor products out there. The entry point into the relevant TSM manual is on the Web here (watch the wrap): http://publib.boulder.ibm.com/infocenter/tivihelp/v1r1/index.jsp?topic=/com.ibm.itsmfdt.doc/ans5000033.htm If you do want to reinvent the wheel, and if you want something really, really basic (maybe too basic) and "free," you might use tar at a command line within USS. Take a look at the USS Command Reference (IBM Publication No. SA22-7802). In the section describing the tar command there's a subsection called "Examples." The second example describes how you might take an incremental. Here's the text (copy/paste): - - - - - To identify all files that have been changed in the last week (7 days), and to archive them to the /tmp/posix/testpgm file, enter: find /tmp/posix/testpgm -type f -mtime -7 | tar -cvf testpgm.tar - -type -f tells find to select only files. This avoids duplicate input to tar. - - - - - You can check the Command Reference for details on the find command in order to figure out what's going on with that example and how to modify it for your particular situation. You can issue USS commands from OMVS (3270) or via SSH or Telnet login (VT-type emulation), as you prefer. Hope that helps. - - - - - Timothy Sipples IBM Consulting Enterprise Software Architect Specializing in Software Architectures Related to System z Based in Tokyo, Serving IBM Japan and IBM Asia-Pacific E-Mail: [EMAIL PROTECTED] ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO Search the archives at http://bama.ua.edu/archives/ibm-main.html

