Solved

AS/400 Backup Status

Posted on 2007-03-28
5
1,110 Views
Last Modified: 2010-08-05
Hi;

How can I know if my AS/400 backup everything that I need including system and all data?  When I run DSPBCKSTS, I got the following information.

What Was Backed Up                                       Last Backup Date
User Libraries:
    All.................................................................. 03/27/07
    All (changes only)
    From list
    From list (changes only)
Folders:
    All...................................................................03/27/07
    All (changes only)
    From list
User directories:
    All...................................................................03/27/07
    All (changes only)
Security data ....................................................03/27/07
Configuration ....................................................03/27/07
OfficeVision/400 Calendars
OfficeVision/400 mail

I want to make sure if disaster occurs, all data and system files in my backup tape can be restored.

And also, how can I tell...
1. if my backup tape capacity is full
2. the total size of data and system files backed up.

I need these information to determine how many tapes I need for backup each time.
0
Comment
Question by:KANEWONG
  • 3
  • 2
5 Comments
 
LVL 27

Assisted Solution

by:tliotta
tliotta earned 250 total points
ID: 18812892
KANEWONG:

For a start, you'll almost certainly never know if your tape is nearly full without testing. Testing might involve running a program loop that simply wrote tape records after the last saved file until end-of-tape was signalled. Then store the number of records written each day. As more of the tape is used by your saves, the number of tape records that you can write will go down.

Two elements have a large impact -- the number of gaps and the size of the tape records between gaps.

Tape transports have gotten incredibly precise, but they'll never be perfect. The physical speed of moving tape puts stresses on the tape itself and on the hardware. The mechanism tries to start tape moving as quickly as possible and to stop it as quickly as possible. Because this can never happen, tapes records don't generally get written so that one record immediately follows another. Instead, there's a small length of unused tape between each record -- an "inter-record gap".

(Note: DAT tapes don't have these gaps. But they have a couple other elements that also affect swallow up space on the tapes.)

A tape record is essentially a "block". Each block is written and a gap follows. If blocks are small, the number of gaps increases.

The number of objects can influence the number of blocks. A very large number of small objects can take up much more space on tape than a few large objects. Each small object might take up only a partial block, each block has a gap after it. Large objects might completely fill a few full blocks.

When saving a variety of things to a single tape, it can be extremely difficult to figure out how much tape surface was used. Not only inter-record gaps, but various kinds of "tape marks" can also be written. Where does one object end and another begin? If an object takes multiple blocks, the only way to tell what block belongs to which object is to write extra blocks to the tape.

And beyond simple management overhead, stretches of tape might simply be bad and get skipped over. Tape can stretch so that it's a bit longer after it's been used. Tapes might simply be a little bit longer than advertised.

In short, without testing, you probably aren't going to know.

Tom
0
 
LVL 1

Author Comment

by:KANEWONG
ID: 18816710
Hi;

thanks for your comment.

I am currently using DAT on my AS/400e, can I force it to overwrite tape each time I run backup?  And how?
0
 
LVL 27

Accepted Solution

by:
tliotta earned 250 total points
ID: 18820438
KANEWONG:

DAT is becoming more common fortunately. Best you can do is a simple:

 ==>  dsptap  dev( tapedevice ) output( *PRINT )

You could also output to *OUTFILE for some automation. *PRINT will give you something to look at. Blocksize and file length of each labeled item can be multiplied together to give you the best estimate of how much tape has been used, and therefore an estimate of how much might be added on.

I'm not clear on what you mean by "overwrite". Do you want to re-use the same tape the next night? or do you want to force your save to rewind back to the beginning if it reaches end-of-tape?

Tom
0
 
LVL 1

Author Comment

by:KANEWONG
ID: 18825329
Yes, when I say "overwrite" means that the tape will be use again.  For example; the tape used on Monday will be used again on next Monday.
0
 
LVL 27

Assisted Solution

by:tliotta
tliotta earned 250 total points
ID: 18827551
KANEWONG:

The common reasons a tape can't be reused --

1. It's been write-protected -- The lock on the cartridge has been switched by hand.

If so, simply unlock it before loading the cartridge.

2. There's an expiration date set on the tape label(s).

Expiration dates can be reset by the INZTAP command.  Initialize the tape when it's loaded, and set an appropriate expiration date during the save. Alternatively, use the CLEAR(*ALL) parameter for the SAVxxx command.

There are probably other possibilities, but those should cover almost all circumstances.

Tom
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

There are many Password Managers (PM) out there to choose from. PM's can help with your password habits and routines, but they should not be a crutch you rely on too heavily. I also have an article for company/enterprise PM's.
In 2017, ransomware will become so virulent and widespread that if you aren’t a victim yourself, you will know someone who is.
This Micro Tutorial will give you a basic overview how to record your screen with Microsoft Expression Encoder. This program is still free and open for the public to download. This will be demonstrated using Microsoft Expression Encoder 4.
Windows 10 is mostly good. However the one thing that annoys me is how many clicks you have to do to dial a VPN connection. You have to go to settings from the start menu, (2 clicks), Network and Internet (1 click), Click VPN (another click) then fi…

867 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now