HPE Community read-only access December 15, 2018
This is a maintenance upgrade. You will be able to read articles and posts, but not post or reply.
Hours:
Dec 15, 4:00 am to 10:00 am UTC
Dec 14, 10:00 pm CST to Dec 15, 4:00 am CST
Dec 14, 8:00 pm PST to Dec 15, 2:00 am PST
Operating System - OpenVMS
cancel
Showing results for 
Search instead for 
Did you mean: 

How to understand the SLS backup running process

 
SOLVED
Go to solution
Davor_7
Regular Advisor

How to understand the SLS backup running process

i checked the SYSBAK.COM file and knew that it contains the parameters needed in the backup job
so, i can run an individual backup job by $stor startup system_backup SYSBAK.COM

but, if i want to run a scheduled automatical job for backup. how can i do ? how does the system know when the backup should be started ?(the start_time parameter is in SYSBAK file,how does system get this time and run the job on time ?)
19 REPLIES
Bradford Hamilton
Regular Advisor

Re: How to understand the SLS backup running process

!so, i can run an individual backup job by !$stor startup system_backup SYSBAK.COM
!
!but, if i want to run a scheduled automatical !job for backup. how can i do ? how does the !system know when the backup should be started !?(the start_time parameter is in SYSBAK !file,how does system get this time and run the !job on time ?)

You could simply create a command file with the STORAGE STARTUP command, and SUBMIT the "wrapper" command file.

I haven't played with SLS in a few years, but IIRC, you can create .BAK files that contain time of day and day of week "symbol" assignments, as well. There is, I recall, a detached job run by SLS once per night, that looks for these .BAK files, and "schedules" them to run.

Folks who currently use SLS can fill in any details I have left out - I haven't used it since 2002.
Ian Miller.
Honored Contributor

Re: How to understand the SLS backup running process

If you have a backup job defined in a file SLS$SYSBAK:XXXX_SBK.COM you can start it by
$ STORAGE START SYSTEM_BACKUP XXXX

____________________
Purely Personal Opinion
Ian Miller.
Honored Contributor

Re: How to understand the SLS backup running process

At midnight or when you restart SLS then SLS will at SLS$SYSBAK:XXXX_SBK.COM files and schedule batch jobs in the SLS batch queue according to the parameters in the file.
____________________
Purely Personal Opinion
Davor_7
Regular Advisor

Re: How to understand the SLS backup running process

thanks Miller
!At midnight or when you restart SLS then SLS will at SLS$SYSBAK:XXXX_SBK.COM files and schedule batch jobs in the SLS batch queue according to the parameters in the file.

you mean that the parameter(TIME_1) will actually control the backup starting time and submit it into batch queue, right ?

BTW, if my BAK.COM file is not in SLS$SYSBAK directory. how can i submit a individual job? $stor startup system_backup [directory]***.bak.com ?
Ian Miller.
Honored Contributor

Re: How to understand the SLS backup running process

The xxx_SBK.COM file is required to be in SLS$SYSBAK.

See HELP STORAGE START SYSTEM_BACKUP

The TIME_1,DAYS_1, parameters control when the batch job will be queued for.
____________________
Purely Personal Opinion
Davor_7
Regular Advisor

Re: How to understand the SLS backup running process

thanks!
and i have other parameters can not be understood...

1.could you explain this one by one for me?
qualifiers :== /record/since=backup/igno=(interlock,nobackup)/media_format=compaction/bloack_size=65024/fast

2.DENSITY :== 0
(1)this means no compaction, right? but why it's ")/media_format=compaction" in the Question-1?
(2)the default value is 6250(from SYSBAK.TEMPLATE),what's the unit of 6250?

3.REEL_SIZE == 2400
what's the reel size ?

4.QUICHLOAD_RETRIES == 80
it's 80 seconds or 80 trials ?
(if it's 80 sec)it will try to mount the disk which is in the drive? if it cannot mount it on or the disk is not free, after the 80 sec, what will it do ? try to load the next tape in and mount? (if it's right, after trying all tapes in the slot, will it restart to try the first tape ?)

5.SAVESET_GEN == "F$EXTRA(0,15,DO_DISK)+"".BAK"""
there are many """" here, i cannot seperate them, could you tell me the function of quote marks one by one?

many questions,... hehe~ sorry for that, i'm a green hand :P
thanks indeed in advance !
Bradford Hamilton
Regular Advisor

Re: How to understand the SLS backup running process

1.could you explain this one by one for me?
qualifiers :== /record/since=backup/igno=(interlock,nobackup)/media_format=compaction/blo
ack_size=65024/fast

These are all qualifiers for BACKUP - record, fast, and since=backup all indicate an incremental backup. igno=interlock is standard, ignore=nobackup is not - has the potential for making backups a lot longer than they need to be. block_size=65024 is close to the maximum blocking factor for files to be put on tape. The various qualifiers for the BACKUP command are important to learn - I suggest study of the relevant section(s) of the System Manager's Manual to gain a better understanding of BACKUP. SLS will be easier to understand with this background.
Bradford Hamilton
Regular Advisor

Re: How to understand the SLS backup running process

2.DENSITY :== 0
(1)this means no compaction, right? but why it's ")/media_format=compaction" in the Question-1?
(2)the default value is 6250(from SYSBAK.TEMPLATE),what's the unit of 6250?

3.REEL_SIZE == 2400
what's the reel size ?

Also, study of the SLS manuals will be helpful here, as well. The 6250 value refers to bpi - a measurement important in the day of reel-to-reel tape drives. 2400 refers to the number of feet on the tape reel. I'm not sure if these parameters are important today, but a check of the SLS manual(s) may help.
Davor_7
Regular Advisor

Re: How to understand the SLS backup running process

thanks Hamilton
but i cannot find "SLS" in system manual, is there any special document for SLS?
Ian Miller.
Honored Contributor

Re: How to understand the SLS backup running process

DENSITY has to match the drive defined in SYS$STARTUP:TAPESTART.COM
I use DENSITY:= COMP which results in /MEDIA=COMPACT being added to my backup commands.

REEL_SIZE is really relevant - leave it as 2400.

You need to find a copy of the SLS Documentation - there are several manuals. SLS is a strange and complicated product until you get used to it.

QUICKLOAD_RETRIES is number of retries.

The SAVESET_GEN is taking the first 15 characters of the disk name and adding .BCK

Remove the outer " then replace each "" by " and it may be clearer. Read the DCL manual on the fun with quotes as that line is just a DCL symbol assignment statement.
____________________
Purely Personal Opinion
Bradford Hamilton
Regular Advisor
Solution

Re: How to understand the SLS backup running process

thanks Hamilton
but i cannot find "SLS" in system manual, is there any special document for SLS?

You can find a copy of the manuals here (hosted on a VMS machine):

<>

Good luck!
Davor_7
Regular Advisor

Re: How to understand the SLS backup running process

Miller

another confused thing
in the BAK file here,
DENSITY = 0
QUALIFIER :== /BACKUP=COMPACTION

i think there's a conflict here...
what's your idea on it ?
Davor_7
Regular Advisor

Re: How to understand the SLS backup running process

Hamilton

the URL you give me is not listing the SLS document... maybe i have no idea to use it :)
Ian Miller.
Honored Contributor

Re: How to understand the SLS backup running process

I think there is not a conflict just two ways of getting the same result.
____________________
Purely Personal Opinion
Davor_7
Regular Advisor

Re: How to understand the SLS backup running process

oh~ Miller
DENSITY = 0 (means no compact, right?)
QUALIFIER :== /BACKUP=COMPACTION (means having compact, right?)

why did you say no conflict on these two sentences?

Bradford Hamilton
Regular Advisor

Re: How to understand the SLS backup running process

Hi Davor,

The URL should bring you to a page that lists the three SLS manuals; the icons to the left of the names of the manuals are "clickable". There are PDF and Bookreader versions of each of those manuals. Just click on the icons to view them.

--Brad
Ian Miller.
Honored Contributor

Re: How to understand the SLS backup running process

The DENSITY symbol is used to match against drives defined in the triplets in TAPESTART.COM . It does not prevent enabling compaction on the drive (which is enabled by /MEDIA=COMP).

As I said SLS is a strange and confusing product at times and you need to spend some time with the manuals.
____________________
Purely Personal Opinion
Davor_7
Regular Advisor

Re: How to understand the SLS backup running process

thanks Hamiton
i got the files..

but, do you have following guide? i cannot find them on HP website

Media and Device Management Services
for OpenVMS Guide to Operations
Bradford Hamilton
Regular Advisor

Re: How to understand the SLS backup running process

re: MDMS manual -

Google is your friend. I found this at a site in AU (warning - URL wrapped):

http://www.sysworks.com.au/disk$vaxdocsep961
/decw$book/d3zuaa42.decw$book

Good luck!

--Brad