cancel
Showing results for 
Search instead for 
Did you mean: 

Exclusion and include list in file system.

Ramaero1
Level 3
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
 
1 ACCEPTED SOLUTION

Accepted Solutions

watsons
Level 6

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.

View solution in original post

5 REPLIES 5

RamNagalla
Moderator
Moderator
Partner    VIP    Certified

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
Level 3

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
Level 6
Partner    VIP    Accredited Certified

Please post client's bpbkar log.

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

Ramaero1
Level 3

Hello Marianne 

Sorry for the delay in responce.

Attached the bpbkar file for refrence.

 

watsons
Level 6

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.