no way to compare when less than two revisions

Differences

This shows you the differences between two versions of the page.


en:services:storage_services:backup:tsm:admin:excludes [2019/02/19 09:46] (current) – created bnachtw
Line 1: Line 1:
 +====== Using Excludes more sophisticated ======
 +<WRAP center round tip 90%>
 +===== Excludes within client option sets =====
 +One elegant way to reduce the amount of data to backed up is to control some exclude rules by enforcing client option sets. If the option "-Force=Yes" is set, the client option set overrules any local setting of the clients.
 +</WRAP>
 +
 +==== excluding whole filespaces ====
 +=== Windows System State ===
 +For windows clients the setting of ''DOMAIN ALL-LOCAL'' also includes the backup of the ''systemstate'' (Windows Server 2008 and newer, Windows7 and newer). Due to our experience at the GWDG no user wants to restore the windows system itself but data only. Therefore the backup of the system state makes non-needed effort only. And the quite large count of registry entries causes a certain growth of the ISP database.
 +
 +Excluding the system state is done by the following rule:
 +<code>DOmain -SYSTEMSTATE</code>
 +
 +adding this rule to an existing client option set:
 +<code>
 +DEFine CLIENTOpt <Option set Name> DOmain -SYSTEMSATE Force=Yes
 +</code>
 +==== Updating all clients with no client option sets  ====
 +Updating *all* clients to the default option set neglects that other option sets may be set, so just doing a ''upd n * clopt=default'' will cause trouble. The better way is to update only whose clients, that do not have any client opt set:
 +<code>
 +SELECT 'UPDate Node ' || node_name || ' CLOpset=Default' FROM nodes WHERE option_set IS NULL
 +</code>
 +
 +=== Updating all windows clients without associated client option set ====
 +As the option ''DOMAIN -SYSTEMSTATE'' is only useful for windows clienst, it might be recommended having twp default rules: one for Windows and one for Linux. To assign all windows-clients to the default windows client option set, the SQL command needs an addition WHERE statement:
 +<code>
 +SELECT 'UPDate Node ' || node_name || ' CLOptset=Default_Windows' FROM nodes WHERE (option_set IS NULL AND platform_name like 'WinNT%')
 +</code>
 +=== Updating all non-windows clients without associated client option set ====
 +As the option ''DOMAIN -SYSTEMSTATE'' has no effect but warnings for all non-windows clients all these nodes should have a different //Default option set//:
 +<code>
 +SELECT 'UPDate Node ' || node_name || ' CLOptset=Default' FROM nodes WHERE (option_set IS NULL AND NOT platform_name like 'WinNT%')
 +</code>