Operating System - HP-UX
1834609 Members
2841 Online
110069 Solutions
New Discussion

ignite-ux how to exclude files

 
Li Hao
Advisor

ignite-ux how to exclude files

I need to ignite vg00, is there any way to exclude certain directories? Some directory in vg00 is too big and not very important, which I do not want to include in the image.
5 REPLIES 5
Ludovic Derlyn
Esteemed Contributor

Re: ignite-ux how to exclude files

hi

use the option -x exclude .

Regards

L-DERLYN
Shrikant Lavhate
Esteemed Contributor

Re: ignite-ux how to exclude files

Li Hao,

If you need to exclude more files then it is recommended to design a graph file for that. Design graph file with file names you want to exclude with e in front of their path.
eg.

e /var/xyz.Z

For more details see man pages.

-=ShRi=-
Will it remain a personal, if I broadcast it here!
Shane Seymour
Frequent Advisor

Re: ignite-ux how to exclude files

You mean like with the options defined on the manual page, such as (please excuse the wrapping if the posting munges the manual page stuff):

-x exclude=file|directory
Excludes the file or directory from the archive. When a
directory is specified, no files beneath that directory will
be stored in the archive. If the excluded directory is an
unmounted file system shown in the /etc/fstab file, a
WARNING ("Filesystem xxx is not mounted. It will be
ignored.") message will be displayed.

Note, file names may NOT end with a space.

I hope you have regular backups of the files you're not putting onto the recovery archive from vg00.
ROCK_10
Advisor

Re: ignite-ux how to exclude files

Hi,

You can also use -p and -r option with make_tape_recovery. Please go through the MAN pages for option detail.

whiteknight
Honored Contributor

Re: ignite-ux how to exclude files

Li Hao,

example:-
Create a system recovery tape that includes all of the vg00 and vg01
volume groups, but that excludes the /depots directory:

#make_tape_recovery -x inc_entire=vg00 -x inc_entire=vg01 -x exclude=/depots

WK
Problem never ends, you must know how to fix it