Here is my problem: No one is here over the weekend or on long holidays to perform a backup. However, there may...
By submitting your email address, you agree to receive emails regarding relevant topic offers from TechTarget and its partners. You can withdraw your consent at any time. Contact TechTarget at 275 Grove Street, Newton, MA.
be (and usually is) activity on the system that should be backed up on those days when the help desk is not present.
I was wondering if you have a routine that will save the system (complete backup) to a savf and name the savf according to the day it runs. Then I could let it run and when we do the next tape save, the savf lib would be saved.
Any code or direction in regards to working examples would be great.
However, if you have written a process that does what you want it to do after submitting it via a menu option, you can achieve the same results by scheduling this command to run using the i5/OS Base Job Scheduler. There is no elegant way to schedule this to run every other week using the Base Job Scheduler, but I believe you could get the results you are looking for by using the OMITDATE parameter.
For example, if you wanted your backup process to run every other Friday at 9 p.m. you could create a job schedule entry like this:
- ADDJOBSCDE JOB(MYBUJOB)
- CMD(CALL PGM(COMMAND))
- OMITDATE(111607 113007 121407 12280 010408) <--- I omit every other Friday
However, you would have to remember to update the OMITDATE list on a regular basis to keep things running.
As for using a Save file, this won't work well for a multi-library backup and it won't work at all for a SAVSYS process.
However, as of V5R4, there is something called Virtual Tape that would work just fine! Anything that you can write to a REAL tape you can write to a VIRTUAL tape. IBM provides information on how to set up a Virtual Tape environment.
Keep in mind that writing your backup to disk will require that you have enough disk space to hold all your data. You don't want to get into a situation where your backup process fills up your disk storage, causing the system to shut down!
Good Luck !
Related Q&A from Ken Graap
The BRMS Network feature allows a BRMS system to connect to other BRMS systems via a network, and enables a user to consolidate media such as backup ...continue reading
The only option to correct damage preventing file journaling is to use the RCLSTG command.continue reading
Find out if log files can be omitted during a save without causing problems in a full restore.continue reading
Have a question for an expert?
Please add a title for your question
Get answers from a TechTarget expert on whatever's puzzling you.