Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

mksysb

Status
Not open for further replies.

brendangriffin

Technical User
Feb 22, 2001
69
0
0
GB
Hi,

I run a mksysb command from a script attached to the cron

mksysb -X /dev/rmt1

The problem is that this now runs over to two tapes, I get a failed message in the morning as the second tape has not been inserted. Is there any way around this?

Thanks
 
two tapes for a mksysb.
Try running (smit mksysb) and see what happen.
Where it saids backup device or file.. hit F4 and pick your tape drive. Where it saids EXPAND /tmp if needed? say yes to it.
Good luck...
 
Not many choices...

1)Get a Bigger tape drive
2) Do them manually if you do not have a multiple tape exchanger
3) move non root stuff to its own volume group and use the savevg to
do your backups of just your data....doing a real mksysb monthly...manually
so you can use two tapes.
4) Use the /etc/ exclude.rootvg and exclude some directories that are not
100% critical............

Excludes files listed in the /etc/exclude.rootvg file from being backed up.
The rules for exclusion follow the pattern matching rules of the grep command.
Note: If you want to exclude certain files from the backup, create the
/etc/exclude.rootvg file, with an ASCII editor, and enter the patterns of
file names that you do not want included in your system backup image.
The patterns in this file are input to the pattern matching conventions
of the grep command to determine which files will be excluded from the
backup. If you want to exclude files listed in the /etc/exclude.rootvg file,
select the Exclude Files field and press the Tab key once to change the
default value to yes.

To generate a system backup with a new /image.data file, but exclude
the files in directory /home/user1/tmp, create the file /etc/exclude.rootvg
containing the line /home/user1/tmp/, and
enter:
mksysb -i -e /dev/rmt1

This command will backup the /home/user1/tmp directory but not the files it
contains.

 
hi,

I'm backing up two databases with the tar -cvf /dev/rmt1.1 syntax. It works but i can not see al the files on the tape at the same time. I'l have to do tar -tvf /dev/rmt1.1 two times to see the files of the second database.

Can somebody help me?

thnx
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top