Video Screencast Help

Exclusion and include list in file system.

Created: 04 Sep 2013 • Updated: 14 Oct 2013 | 5 comments
This issue has been solved. See solution.
Exclusion and include list in file system.
 
Hi All,
 
As the data size of the file system /notes/ln93_9 is too high. We have enabled multistream for the policy 2_Notes_unix_ln93app1.
 
And added the file sytem in the exclusion list : exclude_list.2_Notes_unix_ln93app1.Full_daily
 
Configured a new policy for the file system /notes/ln93_9 . which runs on first saturday of every month. Policyname : 2_Notes_unix_ln93app1_LN93_9
 
But my need is exclusion must happen for the file system /notes/ln93_9 in the policy 2_Notes_unix_ln93app1.
 
At the same time i need to include the mail database /notes/ln93_9/mail/* in the filesystem /notes/ln93_9 to be included in the same policy with the inclusion list.
 
Please find the exclude and inclusion list given below.
 
 
Policy Name : 2_Notes_unix_ln93app1
 
Backup slection : ALL_LOCAL_DRIVES
 
Scheduled : Daily full backup
 
 
 
 
Policy Name : 2_Notes_unix_ln93app1_LN93_9
 
Backup selection : /notes/ln93_9
 
scheduled : Full backup at the first saturday of the month.
 
 
ln93app1-root- /usr/openv/netbackup # ls -l
total 240
-rw-r--r--    1 root     system          101 Sep 25 2012  .rename.12919
-rw-r--r--    1 root     sys              86 May 14 2009  .rename.4640
drwxr-xr-x    6 root     bin            2048 May 30 06:08 bin
-rw-r--r--    1 root     system          366 Aug 29 20:04 bp.conf
-rw-r--r--    1 root     system          316 Jan 21 2013  bp.conf.05Jun2013
-rw-r--r--    1 root     sys             204 May 09 2007  bp.conf.37666
-rw-r--r--    1 root     sys             203 May 10 2007  bp.conf.56086
drwxr-sr-x    2 root     bin             512 Jun 17 2003  dbext
-rw-r--r--    1 root     staff            91 Jun 02 2010  exclude_list
-rw-r--r--    1 root     system           16 Jul 17 05:02 exclude_list.2_Notes_unix_ln93app1
-rw-r--r--    1 root     system           92 Aug 26 2009  exclude_list.2_Notes_unix_ln93app1.Full_daily
drwxr-xr-x    3 root     bin             512 Jan 08 2012  ext
drwxr-sr-x    3 root     sys             512 Nov 16 2005  hardlink_info
drwxr-xr-x    4 root     bin             512 Jan 08 2012  help
-rw-r--r--    1 root     system           20 Jul 17 04:59 include_list.2_Notes_unix_ln93app1.Full_daily
drwxr-sr-x    5 root     bin             512 May 30 05:55 logs
-rw-r--r--    1 root     system         9000 May 30 06:08 nblog.conf
-rw-r--r--    1 root     system         3655 May 30 05:55 nblog.conf.05-30-13.05:47:20
-rw-r--r--    1 root     bin            8937 Mar 17 2012  nblog.conf.template
-rw-r--r--    1 root     bin            1071 Mar 17 2012  nblu.conf.template
drwxr-xr-x    3 root     bin             512 Jan 08 2012  sec
-rw-r--r--    1 root     bin           19071 Mar 17 2012  vfm.conf
 
ln93app1-root- /usr/openv/netbackup # cat exclude_list
/xinfx_*
/infx_*
/drinfx_*
/dwsize_*
/xps_*
/ora??
/cd0
/mnt
/proc
/restore
/usr
/databack
 
ln93app1-root- /usr/openv/netbackup # cat exclude_list.2_Notes_unix_ln93app1
/notes/ln93_9/*
 
ln93app1-root- /usr/openv/netbackup # cat exclude_list.2_Notes_unix_ln93app1.Full_daily
/xinfx_*
/infx_*
/drinfx_*
/dwsize_*
/xps_*
/ora??
/cd0
/mnt
/proc
/restore
/notes/ln93_9/*
 
 
ln93app1-root- /usr/openv/netbackup # cat include_list.2_Notes_unix_ln93app1.Full_daily
/notes/ln93_9/mail/*
 
Thanks
 
Operating Systems:

Comments 5 CommentsJump to latest comment

RamNagalla's picture

is your exlude and include lists are not getting honored?

if yes, disable the muitistream for the policy 2_Notes_unix_ln93app1 and test it once again.

Ramaero1's picture

Thanks for the reply nagala.

As you said my exclude and include lists are not getting honoured.

even after disabling multi stream. Still facing the same issue

Marianne's picture

Please post client's bpbkar log.

This will show us how include and exclude lists are interpreted.

Supporting Storage Foundation and VCS on Unix and Windows as well as NetBackup on Unix and Windows
Handy NBU Links

Ramaero1's picture

Hello Marianne 

Sorry for the delay in responce.

Attached the bpbkar file for refrence.

AttachmentSize
bpbkar.txt 3.4 MB
watsons's picture

From bpbkar log, it seems the exclude_list & include_list are working as expected...

Some example of exclusion in your files:
 
18:08:34.669 [13565980] <4> is_excluded: Excluded /notes/ln93_9/mail1.box by exclude_list entry /notes/ln93_9/*
18:08:34.670 [13565980] <4> is_excluded: Excluded /notes/ln93_9/mail2.box by exclude_list entry /notes/ln93_9/*
18:08:34.670 [13565980] <4> is_excluded: Excluded /notes/ln93_9/mail7.ntf by exclude_list entry /notes/ln93_9/*
18:08:34.670 [13565980] <4> is_excluded: Excluded /notes/ln93_9/mail7ex.ntf by exclude_list entry /notes/ln93_9/*
...
18:19:26.628 [16908370] <4> is_excluded: Excluded /notes/ln93_9/nmg by exclude_list entry /notes/ln93_9/*
 
and it did include this one:
18:23:56.473 [13565980] <4> bpbkar PrintFile: /notes/ln93_9/mail/bgaw3.nsf
 
Maybe you want to tell us which file exactly you found is not in the backup completion.
SOLUTION