cancel
Showing results for 
Search instead for 
Did you mean: 

Exclude Include does not work

Thomas_Schulz_3
Level 5

Hi.

On a Unix Server i work with the following exclude and include list.

include_list.MyPolicyA

/vol1/samba

exclude_list.MyPolicyA

/*

/vol1/samba/data_migration

 

When i start a backup from the server  then the files from the directory "/vol1/samba/data_migration" will be back-up.

Why?

 

We run Netbackup in 7.6.0.4

2 REPLIES 2

Nicolai
Moderator
Moderator
Partner    VIP   

First exclude_list is read, here you exclude everything, then include_list is read and that include /vol1/samba where /vol1/samba/data_migration is located. Hence /vol1/samba/data_migration is due for backup.

To exclude /vol1/samba/data_migration, put /vol1 as file list in the policy, then create exclude_list containing /vol1/samba/data_migration

You use include_list to include file paths removed by the excluded_list. include_list is not intended to include new file paths not specifyed in the policy's file path list.

 

 

Will_Restore
Level 6

Slight correction, if you want only /vol1/samba

Put /vol1/samba as file list in the policy, then create exclude_list containing /vol1/samba/data_migration