Operating System - HP-UX
1834988 Members
2043 Online
110073 Solutions
New Discussion

make_net_recovery exclude options

 
rajesh73
Super Advisor

make_net_recovery exclude options

As of now we have taken ignite backup through the below command

command -/usr/local/bin/sudo /opt/ignite/bin/make_net_recovery -x inc_entire=vg00 -s unix1 -a unix1:/ignite/opt/ignite/recovery/archives/unix2

question:
i want to exclude one of the file system in VG00.what is the command to exclude the file system

file system name -/dev/vg00/cddumptmp
4 REPLIES 4
Hakki Aydin Ucar
Honored Contributor

Re: make_net_recovery exclude options

Hi,

it must be like this ;

-x exclude=file|directory

-x exclude=/dev/vg00/cddumptmp
Hakki Aydin Ucar
Honored Contributor

Re: make_net_recovery exclude options

By The Way, you have to keep in mind these;

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.
rajesh73
Super Advisor

Re: make_net_recovery exclude options

Hi,

Filesystem kbytes used avail %used Mounted on
/dev/vg00/lvol3 8388608 170472 8153944 2% /
/dev/vg00/lvol1 1048576 323208 719776 31% /stand
/dev/vg00/lvol8 8388608 6581880 1792720 79% /var
/dev/vg00/lvol6 10485760 2926400 7500336 28% /usr
/dev/vg00/lvol5 10485760 5142616 5301440 49% /tmp
/dev/vg00/lvol4 10485760 5101952 5341800 49% /opt
/dev/vg00/lvol7 1048576 22328 1018272 2% /home
/dev/vg00/cddumptmp 31457280 28707323 2578128 92% /cddump
/dev/vg01/usrmnt 20971520 2968100 17722224 14% /mnt

i wan to take backup below file system only .

/dev/vg00/lvol3 8388608 170472 8153944 2% /
/dev/vg00/lvol1 1048576 323208 719776 31% /stand
/dev/vg00/lvol8 8388608 6581880 1792720 79% /var
/dev/vg00/lvol6 10485760 2926400 7500336 28% /usr
/dev/vg00/lvol5 10485760 5142616 5301440 49% /tmp
/dev/vg00/lvol4 10485760 5101952 5341800 49% /opt
/dev/vg00/lvol7 1048576 22328 1018272 2% /home

kindly advice this below command

sudo make_net_recovery --x exclude=/dev/vg00/cddumptmp -s unix1 -a unix1:/ignite/opt/ignite/recovery/archives/TSSMX

SUDHAKAR_18
Trusted Contributor

Re: make_net_recovery exclude options


make_net_recovery -s unix1 -a unix1:/ignite/opt/ignite/recovery/archives/TSSMX -x inc_entire=vg00 -x exclude=/cddump