v04 NBU83ADM - Lab 04 NetBackup Policies Windows
v04 NBU83ADM - Lab 04 NetBackup Policies Windows
In this lab, you use the NetBackup Administration Console to configure NetBackup policies and
schedules to perform backups of client file systems to pre-configured storage destinations.
In this exercise, you will use the NetBackup Administration Console to manually configure a
policy to perform both full and incremental backups of a client's file systems.
Note that the CRL expires every 7 days and must be manually refreshed in these
labs.
4. View the top entry in the left pane of the Administration Console window to
verify that you are connected to your master server.
5. If the NetBackup Administration Console is not currently connected to your
master server, launch a new instance of the NetBackup Administration
Console and connect the Administration Console to your master server.
Creating a policy
6. From the NetBackup Administration Console select the Policies entry, located
under NetBackup Management in the left pane.
From the All Policies pane, right-click in the white area and select New Policy.
The Add a New Policy dialog box is closed, and the LAB04-clients-to-master-
bdisk policy is opened in the Change Policy window.
This policy will be used to back up the clients that reside on your master and media server
systems respectively, as identified in the table below.
winmaster.vrtsedu.lab winmedia.vrtsedu.lab
9. Use the values from the appropriate column of the table below and enter the
parameters in the Attributes tab of the policy.
10. The operating system of the client is what dictates the Policy type selected in the
Policy. UNIX and Windows clients should not share the same policy.
11. Review the changes you have made to the policy Attributes and verify that they
are configured as intended (based on the table above).
Name: full_frequency
Retention 1 year
The colored lines (representing the start windows for various types of schedules) in
the top half of the Schedules tab may not initially appear when you save the
schedule. Click the Attributes tab, and then immediately return to
the Schedules tab. The colored lines should now be visible.
Name: diffincr_frequency
Retention 1 year
Modifying a schedule
20. Double-click the entry for the diffincr_frequency schedule (or click the entry for
the schedule and then click Change), to open the schedule.
21. Click the Start Window tab of the schedule. The figure below illustrates the
current Start Window settings for the schedule.
22. Modify the Start Window settings for the diffincr_frequency schedule, so that
differential incremental backups are allowed to run on the days and times indicated
in the table below.
Start Day Start Time End Day End Time
23. HINT: You can use the Duplicate button to duplicate the existing start window for
all the days of the week. To remove the start window for a given day of the week,
select the start window for that day and click the Delete button. This removes the
start window for that given day. The Clear button removes all the start windows for
the entire schedule.
24. Click OK to save the diffincr_frequency schedule and to close the Change
Schedule window.
After modifying and saving the schedule, the Schedules tab should appear as
illustrated in the figure below.
26. Enter the information for the first client -- the client that resides on your master
server -- using the information provided in the table below.
The Client Name field is a simple text field and will not check for validity of the
name entered. Ensure the correct FQDN of the client is entered.
Check the Detect client operating system box to cause NetBackup to discover the
operating system of the client. NetBackup can detect the operating system if the
NetBackup client software is installed on the system prior to filling out the policy
information.
27. After entering the information for the first client, click Add to add the first client,
and enable you to add the second client. Add the second client -- the client on your
media server -- using the information provided in the table below.
28. After entering the information for the second client, click OK to save the client
information and close the Add Client window.
29. Verify that entries for two clients -- the clients on your master and media server
systems -- are displayed in the Clients tab of the policy before continuing, as
illustrated in the figure below.
{width="5.999250874890639in" height="1.3331660104986878in"}
30. Take note of the contents of the Hardware and Operating System columns in
the Clients tab. The information in these columns was automatically determined by
NetBackup by querying the client system.
In the next steps, you add backup selections to the LAB04-clients-to-master-bdisk policy.
Any available client may be browsed. In your lab environment, the sample data is
present on all systems.
The Add button is initially greyed out. Entering a path in the Pathname or
directive text box activates the Add button to allow you to save the Pathname or
directive entry.
35. After selecting the Backup Selections, click OK to close the Browse window.
36. Click OK to save the backup selections, and to close the Add Backup
Selections window.
37. Select each of the policy tabs -- Attributes, Schedules, Clients, and Backup
Selections -- and briefly verify the contents of each tab.
38. Click OK to save the policy, and to close the Change Policy window.
You may need to resize (shrink) the Change Policy window to view the OK button at
the bottom of the window.
In this exercise, you use the NetBackup Administration Console to configure a policy that uses
calendar-based schedules to perform client backups.
Configuring the policy Attributes
4. Enter the parameter values listed in the table below in the appropriate fields of
the Attributes tab of the policy.
Parameter Parameter/Setting:
5. Review the changes you have made to the policy Attributes and verify that they
are configured as intended.
Name: full_calendar_tuesday
Retention 1 year
9. Any dates that are selected in the Exclude Dates tab are automatically displayed
with the red not symbol in the Include Dates tab of the schedule. This is so you can
see if there is a conflict of dates.
10. Click Add to save the full_calendar_tuesday schedule, and to add another
schedule to the policy.
11. Enter the values for the schedule in the Attributes, Start Window, Exclude
Dates, and Include Dates tabs, as indicated in the table below.
Name: diffincr_calendar_weekdays
Retention 1 year
Name: full_manual
Retention 1 month
17. Enter the information for the client, using the information provided in the table
below.
Client host name Client hardware and OS
18. You may use the Detect client operating system checkbox to cause NetBackup to
automatically discover the hardware and operating system of the client.
19. Click OK to save the client information and close the Add Client window.
20. Verify that the entry for the console.vrtsedu.lab client is visible in
the Clients tab of the policy before continuing to the next step.
22. Use the information provided in the table below to add a backup selection.
Windows E:\data
23. After entering the backup selection, click OK to save the backup selection and
to close the Add Backup Selection window.
24. View the contents of each of the tabs of the LAB04-console-to-master-
advdisk policy to verify the contents of the policy.
25. Click OK to save the policy and to close the Change Policy window.
You may need to resize (shrink) the Change Policy window to view the OK button in
the window.
26. Verify that the entry for the LAB04-console-to-master-advdisk policy is visible
in the All Policies pane of the NetBackup Administration Console.
Exercise C: Copying a policy to create a new policy
The NetBackup Administration Console provides a simple method of creating a new policy, by
copying an existing policy. The new policy can then be modified as needed. In this exercise, you
use that method to create a new policy.
In this exercise, you will copy an existing policy to a new policy and change the policy
parameters.
4. Change the Policy Storage parameter on the Attributes tab, so that backups
are written by this policy to the master_disk-tape_stugroup.
5. Modify the diffincr_frequency schedule of the policy to create a 2 hour
frequency and a Start window of 24 hours per day and 7 days a week.
Attributes tab: Setting:
Start Window
Setting:
tab:
6. After making the changes to the schedule, click OK to save the schedule.
7. Allow all other policy Attributes, Schedules, Clients, and Backup
Selections parameter settings to remain at their current settings.
8. Click OK to save and close the LAB04-clients-to-master-disk-tape-
stugroup policy.
You may need to resize (shrink) the Change Policy window to view the OK button in
the window.