1752550 Members
5026 Online
108788 Solutions
New Discussion юеВ

Re: Problem in backup

 
Swain
Regular Advisor

Problem in backup

I have returned a script (attached)for taking backup of user files on system. I have tried it for 2 users and need to apply for 300 users. Facing following error while running script.
$ INITIALIZE/MEDIA_FORMAT=COMPACT NUS$MKC600: DKD400
$ MOUNT/FOREIGN/CACHE=TAPE/MEDIA_FORMAT=COMPACT NUS$MKC600: DKD400
%MOUNT-I-MOUNTED, DKD400 mounted on _NUS$MKC600:
$ BACKUP/VERIFY NUS$DKD400:[000000...]/BY_OWNER=[130,220] NUS$MKC600:JZIEGLER.SAV
%BACKUP-W-MOUNTERR, volume 1 on _NUS$MKC600 was not mounted because
its label does not match the one requested
%BACKUP-I-OPERASSIST, operator assistance has been requested

I got this help.

User Action: At this point, the Backup utility allows you to either quit
the operation, overwrite the volume label and continue, or put
a new volume in the drive and continue processing. To abort
the operation, enter the QUIT command at the BACKUP> prompt.
To overwrite information in the volume header and continue
processing, enter the OVERWRITE command at the BACKUP> prompt.
To restart the operation with a new volume, enter the NEW
command at the BACKUP> prompt. If the QUIT or NEW command is
chosen, the Backup utility automatically dismounts the volume.

Tried same with changed tapes, but no luck.

Any quick suggestion?
23 REPLIES 23
Volker Halle
Honored Contributor

Re: Problem in backup

Amaresh,

when writing to tapes, BACKUP compares the tape label with the tape label requested for the backup operation. If not specified via /LABEL=xxx, it defaults to the first 6 characters of the saveset name.

So you can use /IGNORE=LABEL to completely turn off BACKUP label processing. Or you can login as a tape operator ($REPLY/ENABLE=TAPE) and issue a REPLY/TO=n "OVERWRITE" after a REPLY/STATUS, if you backup job is waiting for operator action, to allow BACKUP to accept any tape label.

Volker.
Andy Bustamante
Honored Contributor

Re: Problem in backup

You can also add the /LABEL switch to your backup command, or use the /LABEL and /IGNORE=LABEL in combination to have initialize tapes with the label of your choice.

Don't forget to run trial restores whatever option you elect.

Andy
If you don't have time to do it right, when will you have time to do it over? Reach me at first_name + "." + last_name at sysmanager net
Art Wiens
Respected Contributor

Re: Problem in backup

Why do 300 passes on the same disk? Just back it up once and do selective restores when you need to. Depending on the disk hardware, reading through 300 times is probably not the most efficient use of resources. It's all going on the same single tape anyways.

Cheers,
Art
Shriniketan Bhagwat
Trusted Contributor

Re: Problem in backup

Hi,

If /IGNORE=LABEL is used, it will overwrite the tape label to first six characters of the saveset name. If you need the tape label not to get modified, then use /LABEL= qualifier.

Regards,
Ketan
Swain
Regular Advisor

Re: Problem in backup

Hi Art,

Thanks for the suggestion.

I have a full image backup of disk. When I try selective restore, I am getting error (disk is not file structured). How can I get individual files restored?

Thanks,
Amaresh
Joseph Huber_1
Honored Contributor

Re: Problem in backup

On a non-image restore, the output disk must be mounted.
If the error is something else, show us the exact command and error message.
http://www.mpp.mpg.de/~huber
Bob Blunt
Respected Contributor

Re: Problem in backup

You should also modify your "script" to use the same available switches for the BACKUP command string as you are on the MOUNT command AND you should definitely include the /SAVE switch... For example:

BACKUP/VERIFY NUS$DKD400:[000000...]/BY_OWNER=[130,220] NUS$MKC600:JZIEGLER.SAVE/SAVE/MEDIA_FORMAT=COMPACTION

I also agree that you have more efficient options for your archival. There are many methods and schemes available. /IMAGE and /INCREMENTAL, variations using /RECORD and /SELECT... No matter if you're using DLT, SDLT, DAT, 8mm, all of them already make multiple passes across the tape head and the media wears faster than you might expect. Performing one "big" backup for all the users should, hopefully, mean fewer passes across the mylar.
Steven Schweda
Honored Contributor

Re: Problem in backup

> [...] AND you should definitely include the
> /SAVE switch...

Why? When did /SAVE_SET stop being the
default for a tape?

> [...] Performing one "big" backup for all
> the users should, hopefully, mean fewer
> passes across the mylar.

While one job might be more efficient for
several reasons, unless one rewinds the tape
between jobs, it's not obvious to me why this
would be true.


> If the error is something else, show us the
> exact command and error message.

No matter what the problem, show the actual
command with the actual message. Or else
call a psychic hot-line.
Shriniketan Bhagwat
Trusted Contributor

Re: Problem in backup

Hi,

For selective restore the disk should be mounted and use /SELECT qualifier to restore the selected files. To restore the full image backup from tape to disk, the disk must be mounted foreign.
$ MOUNT/FOR

Thanks and Regards,
Ketan