12-09-2016 07:48 AM
Hi everyone, i am trying to use the include/exclude list feature on some Linux RHEL 7 clients.
The situation is this. I have a backup job with multiple clients inside and the backup selection for all of them is "ALL_LOCAL_DRIVE". For the clients i want to backup only some folder but not necesseraly the same for each of them.
So i have created the exclude_list file with only one line wich is "/" and the include_list file with some folders path like (/etc,/var...) each on one line and i placed them on the /usr/openv/netbackup" folder on each client (one file per client). The result is nothing is taken and i don't know where else to look.... Any help please
Solved! Go to Solution.
12-09-2016 09:54 AM
12-09-2016 10:12 AM - edited 12-09-2016 10:14 AM
Because the exclude and include lists are stored on the client itself, you loose visibility of what it is you are specifically backing-up - and because you'll be skipping certain areas, then you won't have a backup of your custom config anyway, because you won't be backing up the exclude and include lists.
Plus, if someone re-installs the client, then you've lost your lists.
A policy is effectively an overlapping "set of sets" (i.e. set of schedules, a set of clients, a set of selections)... so, put common areas in policies. Your future backup administration tasks will be much easier if you control the selection via policies.
Plus the "effective config" is then visible in the management GUI and not hidden away in lists on clients.
12-09-2016 08:00 AM
You are doing it wrong, what you backup should be done using policies in Netbackup and not exclude_list include_list on the clients.
Use exclude_list to exclude data you do not want to backup (e.g /data/)
use include_list to include paths located in a directory previous excluded (e.g /data/somedir/very_important_data)
12-09-2016 08:54 AM - edited 12-09-2016 08:56 AM
Hi Nicolai,
Thanks for your response. i am not sure i understand.
I have one policy with 10 linux client. For each of the 10 client i want to backup the same 3 folders ;
/etc
/srv
/var/spool/cron
and than i want to backup different folders ex:
for Server 1 i want to add /var/log/httpd
for Server 2 i want to add /export/home
etc...
So i should only create the include list per server and not the exclude list ? if so, what should i put in the backup select policy (only the 3 common folders) ?
12-09-2016 09:54 AM
12-09-2016 10:05 AM
Hi Mariane,
I know your right but i was looking for a way to regroup some servers (around 300 in total), so having to manage 20-30 policies in the end was more appealing to me than having to manage hundreds...
12-09-2016 10:12 AM - edited 12-09-2016 10:14 AM
Because the exclude and include lists are stored on the client itself, you loose visibility of what it is you are specifically backing-up - and because you'll be skipping certain areas, then you won't have a backup of your custom config anyway, because you won't be backing up the exclude and include lists.
Plus, if someone re-installs the client, then you've lost your lists.
A policy is effectively an overlapping "set of sets" (i.e. set of schedules, a set of clients, a set of selections)... so, put common areas in policies. Your future backup administration tasks will be much easier if you control the selection via policies.
Plus the "effective config" is then visible in the management GUI and not hidden away in lists on clients.