Forum Discussion

Arun_K's avatar
Arun_K
Level 6
12 years ago

include/exclude list

 

 

-bash-3.2$ cat exclude_list.ux123-OS

/proc

/tmp

/export/zones

*.dbf

core

/u*/oradata

/var/adm/sa

 

I want to backup  /u08/oradata

 

What to do?

NBU 7.1

ALL_LOCAL_DRIVES in backup selection

 

 

 

  • Your exclude list will exclude *any* files system/folder that matches the string /u*/oradata

    e.g. /u01/oradata, /u08/oradata and /u100/oradata

    If you had an appropriate include list of /u08/oradata then this would, suprisingly, include /u08/oradata

     

    e.g. following your original post:

    bash-3.2$ cat exclude_list.ux123-OS

    /proc
    /tmp
    /export/zones
    *.dbf
    core
    /u*/oradata
    /var/adm/sa

    bash-3.2$ cat include_list.ux123-OS

    /u08/oradata

     

    & a backup selection of ALL_LOCAL_DRIVES will backup /u08/oradata (as well as anything not covered by the exclude list) - to reduce the risk of confusion for yourself or NetBackup I would not have multiple data streams enabled in this policy

  • Either:

    • do away with exclude list & have a backup selection of /u08/oradata

    OR (if this is to cater for multiple clients where exact requirements may differ slightly - or other possible reasons where the set-up you have described is essential)

    • put /u08/oradata in an 'appropriately named' include list
  • What this include list will do?

     

     

    exclude list:

    /u*/oradata

    I want to backup  /u08/oradata

    We have u01 to u100 mount points on client

  • Your exclude list will exclude *any* files system/folder that matches the string /u*/oradata

    e.g. /u01/oradata, /u08/oradata and /u100/oradata

    If you had an appropriate include list of /u08/oradata then this would, suprisingly, include /u08/oradata

     

    e.g. following your original post:

    bash-3.2$ cat exclude_list.ux123-OS

    /proc
    /tmp
    /export/zones
    *.dbf
    core
    /u*/oradata
    /var/adm/sa

    bash-3.2$ cat include_list.ux123-OS

    /u08/oradata

     

    & a backup selection of ALL_LOCAL_DRIVES will backup /u08/oradata (as well as anything not covered by the exclude list) - to reduce the risk of confusion for yourself or NetBackup I would not have multiple data streams enabled in this policy