This chapter covers the options available for customizing your NetWorker backups. By using NetWorker's advanced configuration capabilities, you have the opportunity to tailor your backups to meet the specific needs of your network. The commands for configuring your NetWorker backups are located in the Customize menu.
NetWorker provides preconfigured settings so you can immediately back up your NetWorker clients. Customizing backups is not required, but is provided as an option so you can create your own unique configurations. See “Preconfigured Selections” for information on preconfigured settings.
The following are tasks for customizing NetWorker:
setting up backup schedules
creating index policies
configuring backup groups
using directives and label templates
setting up event notification
The individual backup schedule chosen for each client determines the level and schedule of the backup. The information in this section describes how to create your own customized backup schedule in the Schedules window, which you then apply to individual clients in the Clients window.
NetWorker provides five preconfigured schedules: Default, Full on 1st of Month, Quarterly, Full on 1st Friday of Month, and Full Every Friday. They are described under “Preconfigured Backup Schedules” You can make changes to the existing preconfigured backup schedules, but you cannot change their names. If you want to change the name of a schedule, you must delete it and re-create it, using a new schedule name.
Create new backup schedules for your NetWorker clients in the Schedules window. To open the Schedules window, choose Schedules from the Customize menu. The Schedules window appears, as shown in Figure 6-1.
The Schedules window contains the following items:
Schedules scrolling list—displays the names of the backup schedules known to the NetWorker server, including the preconfigured schedules provided with NetWorker and any new schedules that you create.
Name field—displays the name of the currently selected schedule. Use the Name field to enter the name of a new schedule after you click the Create button.
Period choices—let you set the schedule to apply to a weekly or monthly period. Week is the default selection.
When you select Week and set up a schedule, the backup level you select is applied to that day of the week for all weeks in the calendar (for example, level fulls every Sunday).
When you select Month and set up a schedule, the backup level you select is applied to that day of the month for all months in the calendar (for example, level fulls on the fifteenth of each month).
Previous Month button—click to view the backup schedule for the previous month in the calendar.
Current Month button—click to view the backup schedule for this month and next month in the calendar.
Next Month button—click to view the backup schedule for the upcoming month in the calendar.
![]() | Note: Each time you click the Previous Month button, NetWorker displays the previous two months in the calendar year; each time you click the Next Month button, NetWorker displays the next two months in the calendar year. |
calendars—display the day of the month and the backup level scheduled for each day. The date on each calendar day is followed by a forward slash (/) and one of the following numbers or characters indicating the level and type of scheduled backup for that day:
f—full backup.
1-9—level one through nine backups.
i—incremental backup.
s—skip scheduled backup.
An asterisk (*) next to a backup level means you have forced a different level (an override) for that day. For example, you scheduled a full backup on every Monday of the month, but the second Monday is a holiday. You can force a “skip backup” for the second Monday and force a full backup on Tuesday instead.
Before setting up a backup schedule, decide which schedule best fits the needs of your network and learn about the backup levels NetWorker supports.
This section illustrates setting up backup schedules with two examples. Read through the examples before you try to set up any new schedules on your own.
To create a new schedule, name the schedule and select your choices in the Schedules window. Then apply the schedule to a client in the Clients window.
This schedule is suitable for NetWorker clients with files that change often. You want to do a full backup every Monday because a weekly full backup simplifies the disaster recovery process. You also want to do a full backup on Mondays because someone will be available to change the media and monitor the server. The other days of the week, incremental backups protect the files that have changed since the last backup. You are going to name the backup schedule “Monday Full” to remind yourself that this schedule does a full backup every week, on Mondays.
To set up the “Monday Full” schedule, follow these steps:
Open the Schedules window by choosing Schedules from the Customize menu.
Click the Create button.
Enter “Monday Full” in the Name field.
Click the Week button, if it is not already selected.
Select any Sunday in the calendar for the either month and click the primary mouse button to pop up the menu of backup levels, as shown in Figure 6-2.
Choose incr from the backup level popup menu.
Notice all the Sundays of the calendar change to a backup level i, which signifies incremental backup.
Next, set the calendar to do a full backup every Monday:
Select any Monday in the calendar for the current month and pop up the backup level menu.
Select full from the backup level popup menu.
Click Apply to save the schedule.
![]() | Note: If you see the error message “user user_name needs to be on administrator's list,” it means you do not have permission to make changes to NetWorker configurations. |
See “Adding or Changing Administrators” in Chapter 4 for more information.
All the Mondays in both calendars display “f” next to the date, indicating a full backup takes place instead of the incremental backup. When you scroll through all the months, you see how the schedule set up for the current month is maintained throughout the entire calendar.
Use a monthly schedule for clients with files that do not change often. These clients need a full backup performed only once a month.
In this schedule, a full backup takes place on the first day of the month. A level 5 backup takes place in the middle of the month, backing up all files that have changed since the full backup. All other days of the month, an incremental backup protects daily changes. Name this schedule “Monthly Full” to remind you that this schedule does a full backup only once a month. Skip the level 5 backup with an override on November 16 because it is a company holiday; instead force the backup on November 17.
To set up the “Monthly Full” schedule, follow these steps:
Choose Schedules from the Customize menu to open the Schedules window.
Click the Create button.
Enter “Monthly Full” in the Name field.
Click the Month button, if it is not already selected.
Notice the months are already set up to do a full backup on the first day.
![]() | Note: When you set up one month in the Schedules window, that setup applies to all calendar months, and carries over from year to year. In the same way, if you set up a weekly schedule, it applies for all calendar weeks. This allows you to plan all the weeks or months in one session, without having to repeat the process every week or month. |
Set the month for a level 5 backup on the sixteenth day:
Select the sixteenth day (16/i) of the current month.
Select “5” from the backup level popup menu.
Scroll through the months, and notice how the monthly schedule is carried through every month—a full backup on the first day, a level 5 on the sixteenth day, and incremental backups on the other days of the month.
Next, override the scheduled level 5 backup on November 16 with a level “skip,” to skip the backup for that day, and schedule the level 5 backup for November 17:
Use the Previous Month or Next Month buttons to display the November calendar.
Select the sixteenth day in the November calendar.
Pop up the backup level menu, then select Overrides.
Slide the cursor to the right to display the Overrides menu.
Select skip* from the Overrides menu.
Select the seventeenth day in the November calendar.
Select 5* from the Overrides menu.
Click Apply to save the schedule.
The date on November 16 displays an s*, indicating you have forced a “skip backup” instruction for that day. The date on November 17 displays a 5* to indicate a level 5 backup will take place instead of the incremental. Overrides must be scheduled explicitly each time. An override does not automatically repeat within a monthly or weekly period.
Use this shortcut section if you are an experienced NetWorker user, or you have reviewed the examples preceding this section.
To create a backup schedule, follow these steps:
Choose Schedules from the Customize menu to open the Schedules window.
Click the Create button in the Schedules window.
Enter a name for the new schedule in the Name field.
Choose a weekly or monthly period for the schedule.
Place the cursor on a calendar day, and select it to pop up the backup level menu. Set the backup level for each day (or week, or month) by selecting one of the following choices:
full for a full backup
incr for an incremental backup
skip to skip a backup
any of the numbers 1 through 9 for a level backup
Overrides from the backup level menu to bring up the Overrides menu. Choose an override backup level to apply to the selected calendar date.
remove from the Overrides menu to remove an existing override
Click the Apply button to create the new schedule when you are through setting backup levels.
You may set up as many NetWorker backup schedules as you like, as long as you give each one a unique name. To assign a backup schedule to a client, you must use the Clients window. See Chapter 2, “Configuring and Monitoring Clients” for more information.
NetWorker makes it easy to set up your backup schedules. However, deciding which backup schedule best fits your requirements requires some planning.
When creating backup schedules, consider the following items.
How long do you want to keep the backed-up data?
How many versions of the data do you want to maintain?
How much data do you have to back up?
How many backup volumes do you want to use?
How much time do you have to complete a network-wide backup?
Do you want to use just a few backup volumes to recover from an entire disk crash?
For example:
Suppose the capacity of an 8 mm tape cartridge is about 5 gigabytes and the maximum transfer rate is around 500 kilobytes per second. Based on these figures, it would take more than 5 hours to back up 10 gigabytes of data. To back up a network with a lot of data, you may use more than one schedule to stagger the full backups over several days.
Think about how many backup volumes you want to keep; this number will depend on how often the data changes and how long you want to keep the files available for recovery.
If you run only incremental backups every night, you will need more backup volumes to fully recover from a disk crash. If a site has 10 gigabytes of data and 5% of all the data is modified each day, that means you need to back up 500 megabytes of data every day. At 400 kilobytes per second, 500 megabytes takes about 25 minutes to back up and fills about one tenth of an 8 mm tape cartridge. If you hold on to backups for three months, you will need to maintain twelve 8 mm tapes.
You must also determine a policy for recovering files. For example, if the users expect to recover any version of a lost file for at least three months, maintain all the backup volumes for a three-month period. On the other hand, if the users expect to recover only the latest version of a lost file, use level 1-9 backups to decrease the quantity of backup volumes you need to maintain. For more information on policies see, “Creating Index Policies”.
NetWorker supports four kinds of backup levels:
Full—backs up all files, regardless of whether or not they have changed.
Level 1-9—backs up files that have changed since the last lower backup level. Each backup level is represented by numbers 1 through 9, where 1 represents the fullest backup and 9 represents the most minimal backup.
Incremental—backs up files that have changed since the last backup, regardless of the level.
Skip—skips the scheduled backup. You may want to skip a backup on a holiday if you know that no one will be available to change or add more backup volumes.
If you do not need to maintain every version of a backed-up file online, you may use a backup scheme that includes occasional full backups followed by level 1-9 and incremental backups.
Different backup levels allow you to trade off the number of backup volumes and amount of time required to complete a backup with the number of backup volumes and amount of time required to recover from a disk crash.
Figure 6-4 illustrates how backup levels work.
Assume you use a new backup volume for each daily backup. On day 1, a full backup occurs. On day 2, the incremental backs up everything that has changed since the full backup. On day 3, the incremental backs up everything that has changed since day 2, and on day 4, everything that has changed since day 3. At this point, you have 4 backup volumes. To recover from a disk crash, you need all four of them—the one with the full backup (day1), and all the volumes with incremental backups.
On day 5, the level 8 backs up everything that has changed since the full backup. You no longer need the data on the backup volumes from day 2, 3, or 4. To do a full recovery from a disk crash, you only need two backup volumes: the full backup volume and the level 8 backup volume.
On day 9, the level 7 backs up everything that has changed since the full backup. You still need only two backup volumes to recover a disk: the full backup and the level 7.
Level 1-9 backups help you maintain control of your pool of backup volumes. Carefully planning your backup strategy allows you to recover everything on a disk with a minimum number of backup volumes.
![]() | Tip: You also control the size and time it takes to back up your data by using directives, which compress and eliminate unnecessary data from your backups. See the section “Using Directives” in this chapter. |
This section describes how to create policies that automatically manage the online indexes. You can also manage the indexes manually with the Indexes and Volumes windows. See “Manually Managing the Online Indexes” for a description of manual index management and index policy concepts.
When NetWorker starts a backup, it creates entries for the saved files in the online indexes. NetWorker maintains two types of indexes: a file index and a media index. The file index contains entries for the individual files, which are backed up in groups as save sets. The media index stores entries for the backup volumes that contain the backed-up save sets.
The media index does not recognize individual files, but instead recognizes the save sets to which the files belong. NetWorker maintains one file index per client and one media index per NetWorker server. NetWorker uses the indexes as databases to locate files marked for recovery.
As these indexes grow, they take up more disk space. NetWorker uses browse and retention policies to manage and reduce the size of the online indexes. Use the Policies window to create browse policies for managing the file index entries and retention policies for managing the media index entries. A policy (preconfigured or one you create yourself) can be used as either a browse or a retention policy.
Apply the policies to individual clients in the Clients window by selecting them from the Browse and Retention policies scrolling lists.
NetWorker provides the following preconfigured policies: Decade, Month, Quarter, Week, and Year. See the section “Preconfigured Policies” for more information on preconfigured policies.
Use the Policies window to create new policies for your browse and retention policies.
Choose Policies from the Customize menu to open the Policies window. The Policies window appears, as shown in Figure 6-5.
The Policies window contains the following items:
Policies scrolling list—displays the names of all the policies known to the NetWorker server. When a policy is highlighted in the scrolling list, its name, period, and number of periods appear in the lower section of the window.
Name field—displays the name of the currently selected policy. Enter the name of a new policy in the Name field after you click the Create button.
Period field—displays the period of time you want the policy to apply. Use the arrow button to display the Periods scrolling list choices.
Number of periods field—displays the number of periods applied to the policy. Use the arrow buttons to select the number of periods you want.
For example: A choice of Months for the Period and 3 for the Number of Periods means NetWorker automatically removes index entries from the online file index that are older than three months.
To create a new policy, follow these steps:
Click the Create button.
Enter a name for the policy in the Name field.
Select a Period for the policy.
Select the Number of periods for the policy by clicking the arrow button to select from the scrolling list or by entering a number in the field.
Click the Apply button to apply your selections. After you click Apply, the newly created policy appears in the Policies window scrolling list and in the Clients window as both a Browse policy and a Retention policy.
If you make a mistake, click the Reset button to revert to the previous selections.
You can enter any name for the policy that you want. Using the time period for policy names helps you remember the length of the policy. For example, when you specify Quarter as a browse policy for a client, it is easy to tell that the entries are kept in the online file index for three months.
Follow these steps to delete a policy:
Select the policy you want from the scrolling list.
Click the Delete button. A warning message appears, as shown in Figure 6-6.
Click OK to delete the policy, or click Cancel if you change your mind.
![]() | Note: You cannot delete the preconfigured NetWorker policies, or policies currently applied to a client. |
Follow these steps to change a policy:
Select the policy in the scrolling list.
Select the Period and Number of periods for the policy and make the changes. However, you cannot change the name of the policy.
Click the Apply button to change the policy.
NetWorker does not allow a client browse policy to exceed its retention policy. This means that an index entry for a save set must be removed from the file index before it can be marked recyclable or removed from the media index.
Every backup adds entries to the indexes, so the indexes require management in order to control their size and contents. NetWorker automatically manages the contents of the indexes by using the policies you chose for each client. You can conserve disk space by using automatic index policies to remove old index entries.
Each client requires two separate policies: a browse policy and a retention policy. NetWorker compares the backup date of the entries in the indexes with the time period specified by the policies. The browse policy determines how long entries for your files remain in the online file index and thus browsable in the NetWorker Recover window. File index entries older than the browse policy plus one cycle are automatically removed from the online file index, reducing disk space requirements. The retention policy determines how long entries for your volumes are retained in the media index and are available for recovery. Media index entries older than the retention policy plus one cycle are marked as recyclable in the media index, making the backup volume available for relabeling and overwriting with new data. The files on the volumes are deleted when you overwrite the volume with new data.
If you create new policies for automatic index management using the Policies window, the policies appear as selections for browse and retention policies in the Clients window. You determine the amount of time files remain browsable and recoverable for a client.
Figure 6-7 illustrates the interaction between index entries and policies.
Directives can reduce the amount of data you back up, possibly even eliminating the need to change backup volumes on the days you perform a full backup. A directive contains instructions to assist the backup process. Sometimes directives require execution of special programs called Application Specific Modules (ASMs), which are NetWorker modules that perform specific operations on files. See the uasm(1M) reference page for more information on ASMs.
NetWorker is shipped with the following preconfigured directives: DOS standard, Index, NetWare standard, NT standard, NT with compression, Unix standard, and Unix with compression. Each set of directives covers the most important and most useful backup instructions.
For more details about preconfiguration, see “Preconfigured Directives”.
Use the Directives window to change preconfigured directives or create new ones. To open the Directives window, choose Directives from the Customize menu. The Directives window appears, as shown in Figure 6-8.
The Directives window contains the following items:
Directives scrolling list—displays the names of the directives known to the NetWorker server.
Name field—displays the name of the currently selected directive. After you click the Create button, enter the name of a new directive in the Name field.
Directive field—shows the syntax for the currently selected set of directives. Each directive is preceded by the directory to which it applies (for example, << /tmp >>).
NetWorker backs up your data effectively with the existing preconfigured directives. However, you can create new directives or change existing ones.
To create a set of directives or modify existing instructions, follow these steps:
Click the Create button to add a new directive or select an existing directive from the Directives scrolling list.
Type your instructions in the Directive field.
Click the Apply button, after you add or change a directive, to apply the change.
For more information about directives, including algorithms and the correct syntax used to apply them, see the nsr(1M) reference page.
Suppose your NetWorker client is a fast machine, but your network is slow or busy. You may want to compress client files in order to use fewer backup volumes and less network bandwidth backing up its files. Using the compressasm directive can reduce the space consumed on a backup volume by as much as 50% (actual savings may vary). If you use compressasm on all files, a full backup of 8 GB may fit on a single backup volume.
![]() | Tip: If your backup hardware compresses data, it is wasteful to use the NetWorker compressasm directive and device compression at the same time. |
Use the skip directive to omit certain files from the backup entirely. You can use pattern matching to apply the instructions to specific files in the directory tree. For example, you can have NetWorker skip backing up core files and object (*.o) files.
NetWorker generates labels for backup volumes according to the rules of a label template. Label templates provide a method for consistently naming and labeling your backup volumes. You can use the preconfigured label templates or create custom label templates using the Label Templates window.
NetWorker also provides a facility for affixing your autochanger volumes with bar code labels. See “Understanding Labeling With Bar Codes” for more information.
This section describes how to use label templates, introduces preconfigured templates, describes how to create a custom label template, and provides examples for your use.
NetWorker uses label templates to label and keep track of your backup volumes. All of the backup volumes belong to volume pools that require corresponding label templates. For more information on pools, see the section “Using Volume Pools”.
It does not matter to NetWorker how the volumes are labeled as long as each one has a unique name. It tracks the backups and maps them to the backup volumes, so you do not have to remember which backups are on which volumes. When NetWorker needs a backup volume for recovery, it requests it by name in the Pending display of the NetWorker Administrator window.
NetWorker provides the following preconfigured label templates: Archive, Archive Clone, Default, Default Clone, Full, Migration, Migration Clone, NonFull, Offsite, PC Archive, PC Archive Clone, and Two Sided. These preconfigured label templates allow you to easily begin labeling your backup volumes without having to create any templates yourself.
NetWorker also provides preconfigured volume pools with names corresponding to the preconfigured label templates. The preconfigured volume pools automatically use the preconfigured label templates of the same name. The number range for all of the preconfigured label templates starts at “001” and ends with “999” to allow for expansion of the volume pools.
For more information about preconfigured label templates, see “Preconfigured Label Templates”.
Before you choose a label template, you must first choose the device that contains media ready for labeling from the Devices display in the NetWorker Administrator window. Next, choose a label template in the Pools window, then start the labeling process by choosing Label from the Media menu.
For a label template to appear as a choice in the Label window, the associated pool must be enabled in the Pools window (see Figure 6-9).
![]() | Tip: Whether you use a preconfigured or custom label template, remember to attach an external label to each volume with the correct label template name. |
This section explains how to create custom label templates using the Label Templates window.
Open the Label Templates window by choosing Label Templates from the Customize menu. The Label Templates window appears, as shown in Figure 6-10.
The Label Templates window contains the following items:
Label Templates scrolling list—displays the label templates known to the NetWorker server. The preconfigured label templates and any templates you create appear in this list.
Name field—displays the name of the selected label template. Use the Name field to enter the name of a new label template after you click the Create button.
Fields field—use for entering the fields that make up a label template. The scrolling list displays the components of the label template. Each component appears as one line in the display. There are four types of components:
range of numbers—for example, 001-999
range of lowercase letters—aa-zz
range of uppercase letters—AA-ZZ
character string—for example, Accounting, 001
If you enter a range of numbers or characters, the label number increments with each new label. For example:
first label | Engineering.001 |
second label | Engineering.002 |
third label | Engineering.003 |
Each range includes a starting value, a dash (-), and an ending value. The starting value and the ending value must have the same number of characters. For example, use “aaa-zzz,” not “aa-zzz.” (This rule does not apply to a list of strings or words.) You may have as many components as you want, but it is best to keep the template simple, with few components. The total length of the label cannot exceed 64 characters.
Separator choices—use the period, dash, colon, or underscore to separate each component of the label template. If you do not select a separator choice, the label components will not have separators (for example, AA00aa).
Next field—displays the next label NetWorker will use to label the backup volume according to the template. If you want to force a label or start the labeling scheme at a certain point, enter the starting label in the Next field. NetWorker continues to generate labels from that point on, according to the rules of the template. If you want NetWorker to generate the first name for you, leave the Next field blank.
Use the examples in this section to help you create a custom label template that identifies your media in a logical and meaningful order.
If your label template matches your backup media storage system, it helps you organize and locate the media in storage. For example, if you store backup media in bins or racks, include a place for the bin or rack number in the label template.
It is helpful if label template names match the name of the corresponding pool. Here is an example:
Name Label Pool Name AcctFull AcctFull.001 Accounting AcctFull.002 AcctFull.003 EngTest EngTest.001 Engineering Test EngTest.002 EngTest.003 |
In this example, assume you have only one NetWorker server and one autochanger. Your backup media is magnetic tape, arranged in numerical order, and organized in three racks. You want to create a scheme that is simple so anyone can easily store and find the backup volumes on the rack shelves.
Figure 6-11 shows three racks, named “1,” “2,” and “3.” Each rack has five shelves; the top shelf is “1” and the bottom shelf is “5.” Each shelf holds 100 tapes, left to right.
Using this labeling scheme, a tape labeled “2-3-54” will be stored in the second rack, on the third shelf, positioned between the fifty-third and fifty-fifth tapes on the shelf. NetWorker labels the tapes in the autochanger consecutively according to the label template.
NetWorker starts with the tapes in the first rack, on the first shelf, and numbers the tapes 1-1-001 to 1-1-100. Then, the tapes on the second shelf of the first rack are labeled, numbered from 1-2-001 to 1-2-100, and so forth, until the last tape in the third rack is labeled “3-5-100.” If you want to add a fourth rack to your tape storage system, you can easily do so by changing the label template.
![]() | Tip: Your label template should allow for expansion of your backup media storage system. For example, it is better to create a template for 100 tapes and not use all of them, than to create a template for only 10 tapes and run out of labels. |
Follow these steps to create the storage oriented label template:
Choose Label Templates from the Customize menu.
In the Label Templates window that appears, click the Create button.
Enter the name of the new labeling scheme in the Name field; for example: “Engineering backups.”
Enter the component of the first field into Fields. This field indicates the rack number, so enter “1-3” (without the quotes).
Click the add button.
![]() | Note: You must enter the same number of characters for all numbers in the label template. For example, use: “01-20” not “1-20” or “1-9” not “01-9” templates. |
Add the second and third components of the label template:
Enter the second component of the label template into Fields. This component represents the shelf number, so enter “1-5” in the field.
Click the add button.
Enter the third component of the label template, the tape position numbers. Enter “001-100” into Fields.
Click the add button.
Click the dash (-) Separator button to choose the separator between components.
Click the Apply button to apply the new template to the NetWorker server.
The Label Templates window now looks similar to Figure 6-12.
Your new template appears in the Label Templates scrolling list, template components appear in the Fields scrolling list, and the Next field displays the label of the next tape.
This example uses a sequential labeling scheme. In this scheme, there is no storage system pattern to follow—the labels are simply a way for NetWorker to identify the backup volumes. This label template generates lots of labels—you will probably never “run out” of labels for your backup volumes.
The label template in this example has two fields: “aa-zz” and “00-99.” It generates 67,600 different labels (262 times 102).
Table 6-1 shows an example of how NetWorker generates labels.
Table 6-1. Label Template Example
aa.00, | aa.01, | ... | aa.98, | aa.99, |
ab.00, | ab.01, | ... | ab.98, | ab.99, |
... |
|
|
|
|
az.00, | az.01 | ... | az.98, | az.99, |
ba.00, | ba.01, | ... | bz.98, | ba.99, |
... |
|
|
|
|
zz.00, | zz.01, | ... | zz.98, | zz.99 |
Follow these steps to create a sequential label template:
Choose Label Templates from the Customize menu.
In the Label Templates window that appears, click the Create button.
Enter the labeling scheme into the Name field, for example, “Personnel backups.”
Enter the component of the first field into Fields. In this example, this field contains pairs of character strings, so enter “aa-zz” into the field.
Click the add button.
Add the second component of the label template:
Enter the second component of the label template in Fields. This field contains double digits, so enter “00-99” in the field.
Click the add button.
Click the period (.) Separator button to choose the separator between components.
Click the Apply button to apply the new template to the NetWorker server.
This template is useful if you do not want to attach any meaning to the labels, but want to be able to generate lots of them over the years without devising a new template.
If you have an optical backup device, you can use the Two Sided preconfigured template or create a custom label template that accommodates two-sided media. Label templates for two-sided media have a and b fields to designate the two sides of the optical disk.
Follow these steps to create a label template for two-sided media:
Choose Label Templates from the Customize menu.
In the Label Templates window, click the Create button.
Enter a name for this template in the Name field (for example, “TwoSidedLabel”).
Add the following components to the Fields list: “server_name,” “001-999,” and “a-b” where “a-b” distinguishes the two sides of the media.
Click the period (.) Separator button to choose the separator between components.
The Label Templates window now looks similar to Figure 6-13.
Click Apply to save and apply the label template.
Using the example shown, NetWorker labels the first side of the optical disk as moon.001.a and the second side as moon.001.b.
When you create a label template, the order in which you enter each component of the template is important. NetWorker applies each component in a left-to-right order, starting with the first one you enter. NetWorker displays the ordered components in the Fields scrolling list, with the first component at the top.
NetWorker allows you to bundle clients into backup groups so you can easily start selected groups of clients backing up at different times. When you create the different groups, be sure to stagger their backup times to avoid overloading the server.
NetWorker is shipped with a Default group to which NetWorker automatically adds all of the clients. You must enable the Default group before it will automatically back up at 3:33 a.m. You are permitted to make changes to the Default group, but you may not delete it.
If you have a large number of clients, consider creating several groups with different backup times to help reduce network traffic. For example, start the backup of the engineering department machines at four o'clock in the morning, and all the other clients on the network at midnight. You can have any number of backup groups on your NetWorker server. The clients in each backup group start their automatic backups according to the start time of the group.
![]() | Note: Create groups in the Groups window. Select groups for individual clients in the Clients window. |
This section explains how to create new groups using the Groups window.
Open the Groups window by choosing Groups from the Customize menu. The Groups window appears, as shown in Figure 6-14.
Groups scrolling list—displays all backup groups known to the NetWorker server. When you first open the Groups window, you see the preconfigured Default group in the Groups scrolling list. When you select a name in the scrolling list, it also appears in the Name field along with its backup time in the Start time field.
Name field—displays the name of the group selected in the Groups scrolling list. Use this field to enter the name of a new group after you click the Create button.
Autostart choices—allow you to disable, enable, or immediately start a network-wide backup. The Default group comes disabled. To allow NetWorker to back up your clients in the Default group, you must select Enabled from the Autostart choices. The following lists the available Autostart choices:
Start time field—displays the time NetWorker starts the backup of the clients in the group selected in the Groups scrolling list. The Default group is preconfigured to back up at 3:33 am.
Client retries field—the number of times NetWorker will attempt to back up a failed client during a scheduled backup. Use the sliding bar or type a number in the field. For example, if you enter the number four and a client fails to back up, NetWorker will attempt to back up that client as many as four times.
Clones choices—select Yes to automatically clone the data being backed up for a group. Select No if you do not want to clone the data being backed up in a group. In order to clone data, NetWorker must support concurrent devices.
Clone pool field—enter the name of a pool or use the arrow button to select the clone pool from the scrolling list to which cloned data is backed up.
Migration clone pool field—enter the name of a pool or use the arrow button to select the migration clone pool from the scrolling list to which cloned migration data is backed up.
You may choose to add all of your clients to the Default group. However, that may not be an efficient way to accomplish backing up client data across the network.
To create a new group and assign a backup start time to the group, follow these steps:
Open the Groups window by choosing Groups from the Customize menu.
Click the Create button, and enter the name of the new group in the Name field. Choose a name that describes the systems in the group, either by department or schedule.
Select Enabled from the Autostart choices.
Delete the time in the Start time field and enter a new time, using 24-hour clock convention. (For example, enter 10 p.m. as 22:00.)
![]() | Tip: When you select start times for the different groups, make sure you schedule them far enough apart so that one group has sufficient time to complete backup before the next group begins. |
Use the Client retries sliding bar to set a value for the number of times NetWorker will attempt to back up a failed client.
Select one of the Clones choices. If you click Yes, then select or add the name of the clone pool in the Clone pool field.
Click the Apply button to apply the changes.
The name of the group appears in the Groups scrolling list. If you make a mistake, click the Reset button to clear your changes and start over.
If this error message appears, it means that you do not have permission to make configuration changes:
user user_name needs to be on administrator's list |
See “Adding or Changing Administrators” for more information.
After you create a backup group and set the start time, the group appears as a check box in the Clients window. To assign clients to the backup group, click the check box displayed for the group in the Clients window. See the section “Configuring Clients” for more information.
NetWorker normally attempts to back up a client in a group once during a scheduled backup. If NetWorker cannot back up a client in a group (because the client machine is down, for example), it will not try again unless you set a value for Client retries.
Use the Client retries sliding bar (Figure 6-15) in the Clients window to control the number of times NetWorker should keep trying to back up failed clients.
Drag the sliding bar to the right or left to set the number of client retries.
The number of times you set for NetWorker to attempt backing up a failed client appears in the Client retries field.
Click the Apply button.
To change the start time for a backup group, follow these steps:
Open the Groups window.
Select the group for which you want to change the backup time from the Groups scrolling list.
Delete the time in the Start time field and enter a new time, using 24-hour clock convention. (For example, enter 11 p.m. as 23:00.)
Click the Apply button to apply the changes.
If you make a mistake, click the Reset button to clear your changes and start over.
NetWorker does not let you delete a backup group while clients still belong to it. Before you try to delete a group, check the Clients window to make sure the group does not have clients. The Default group cannot be deleted.
To delete a group, follow these steps:
Open the Groups window.
Select the name of the group you want to delete from the Groups scrolling list.
Click the Delete button. A dialog box appears to confirm your request to delete the group.
Click Ok to delete the group.
If the group does not have clients, it is deleted and its name disappears from the Groups scrolling list. If the group you are trying to delete still has clients, the following warning appears:
The "groupname" group is still used by one or more clients. |
System administrators need to know about events taking place in the NetWorker environment. To keep you informed of backup activity, NetWorker displays messages on the system console (/dev/console) or mails them to you electronically.
These notices alert you to important NetWorker events. If a group of clients did not complete a nightly backup, for example, you are informed of this by the savegroup completion notices in your electronic mail.
NetWorker provides preconfigured notifications for the following events:
Bootstrap—prints information needed for recovering from a disk crash, including the server index, media index, and nsr.res file.
Migration—reports file migration status. Refer to the Legato documention on Hierarchical Storage Management for information on using NetWorker HSM.
Registration—requests that you properly register your NetWorker products.
Savegroup completion—reports on the success of a scheduled backup.
Tape mount request 1, 2, and 3—reports that NetWorker is requesting mounting of a backup volume.
![]() | Note: For more information on the preconfigured notifications, see the section “Preconfigured Notifications”. |
This section describes the contents of the Notifications window and how to use it for creating new event notifications.
Open the Notifications window by choosing Notifications from the Customize menu. The Notifications window appears, as shown in Figure 6-17.
The Notifications window contains the following items:
Notifications scrolling list—displays the names of all the notifications known to the NetWorker server. Information about a selected notification is displayed in the lower half of the window.
Name field—displays the name of the currently selected event notification. Use this field to enter the name of a new notification after clicking the Create button.
Action field—displays what type of action NetWorker takes with the notice. For example, NetWorker can use electronic mail to notify individuals that a volume needs to be mounted in the server. The action can be any UNIX command. You can change the Action field to customize how NetWorker posts notifications.
To create a new notification, follow these steps:
Open the Notifications window by choosing Notifications from the Customize menu.
Click the Create button, and enter the name of the new notification in the Name field.
Enter the code or commands in the Action field.
Click the Apply button.
![]() | Tip: Choose Details from the View menu if you want to use the expert mode options for creating a more detailed notification. All event choices are enabled, by default. Click to disable event choices you do not want. |
The NetWorker Customize menu provides access to powerful and versatile tools for altering backup configurations. You can create highly individual and specific methods for backing up data on your network. On the other hand, except for enabling backup groups in the Groups window, some administrators seldom have any need to touch the Customize menu.