|
|
< Previous | Next > |
| Product: NetBackup System Administrator's Help | |
NEW_STREAM DirectiveThe NEW_STREAM directive is recognized only if Allow Multiple Data Streams is set for the policy. NEW_STREAM directives are ignored if Allow Multiple Data Streams is not set. If this directive is used in a backup selections list, the first instance of it must be on the first line. If it appears on the first line, it can also appear elsewhere in the list. The presence or absence of NEW_STREAM on the first line of the backup selections list determines whether the backup is performed in administrator-defined streaming or auto-discover streaming mode. Administrator-defined Streaming Mode If NEW_STREAM is on the first line of the backup selections list, the backup is performed in administrator-defined streaming mode and the following occurs:
For example, consider the backup selections list below: NEW_STREAM /usr /lib NEW_STREAM /home /bin This backup selection list has two data streams.
If you add a backup selections list entry as part of an existing stream, its first backup is according to the next schedule that is due for the policy. If the next backup due is an incremental, then only changed files are backed up. To ensure that a new entry gets a full backup the first time, add it to a new stream. NetBackup performs a full backup of new streams that are added to the backup selections list. In the previous example, assume you add /var after /bin. If an incremental is due that evening, only changed files in /var are backed up. However, if you add a NEW_STREAM directive before /var, then NetBackup performs a full backup of all files in /var, regardless of when they were last changed. Auto-discover streaming mode is invoked if NEW_STREAM is not the first line of the backup selections list and the list contains either the ALL_LOCAL_DRIVES directive or wildcards. In this mode, the backup selections list is sent to the client, which preprocesses the list and splits the backup into streams as follows:
If the backup selections list contains neither the ALL_LOCAL_DRIVES directive nor wildcards, auto-discover mode is not used and preprocessing is done on the server rather than the client. In this case, each file path in the backup selections list becomes a separate stream. Auto-discover streaming mode applies to:
With auto-discover, the client determines how many streams are required by preprocessing the backup selections list before the backup begins. The first backup of the policy always includes preprocessing. However, preprocessing does not necessarily occur before every backup and whether it occurs depends on the preprocess interval. Setting the Preprocess Interval for Auto-discovery The preprocess interval applies only to auto-discover mode and specifies how often preprocessing occurs. When a schedule is due and auto-discovery is used, NetBackup checks whether the previous preprocessing session occurred within the preprocess interval:
If necessary, you can change the interval by using the bpconfig command. The default is four hours and is a good value for most sites that run daily backups. If the interval is too long or too short, the following can occur:
The form of the bpconfig command to use for changing the interval is: /usr/openv/netbackup/bin/admincmd/bpconfig [-prep hours] /usr/openv/netbackup/bin/admincmd/bpconfig -prep 12 You can set the preprocess interval for immediate preprocessing by specifying -prep 0. (Preprocessing occurs prior to every backup.) Specifying -prep -1 sets the preprocess interval to the default value of 4 hours. The following example sets the preprocess interval to 12 hours. You can determine the current interval by using the bpconfig command with the -L option: bpconfig -L Mail Admin: *NULL* Wakeup Interval: 9 minutes Max Jobs/Client: 8 Backup Tries: 2 in 12 hours Keep Logs: 3 days Max drives/master: 0 Maximum Backup Copies: 10 Compress DB Files: older than 10 days Media Mnt Timeout: 0 minutes (unlimited) Postprocess Image: immediately Display Reports: 24 hours ago Keep TIR Info: 1 days Prep Interval: 12 hours Example - Auto-Discover Streaming Mode Assume the selection list has the following entries: /usr /lib /home/* For this selection list, NetBackup generates:
If the /home directory has three subdirectories: tom, dick, and harry, but no files, NetBackup produces a separate stream for each subdirectory: /home/tom, /home/dick, and /home/harry. This is a total of five streams for the backup. However, if the wildcard is removed from /home, as in the following, then auto-discover is not used. /usr /lib /home In this mode, NetBackup generates only three streams, one for each of the directories in the list. Preprocessing is done on the server instead of the client. |
| ^ Return to Top | < Previous | Next > |
| Product: NetBackup System Administrator's Help | |
|
VERITAS Software Corporation
www.veritas.com |