• No results found

Example: Creating a policy that has a separate workflow for cloning

The following figure provides a high level overview of the configuration of a policy that contains two workflows, one for backups and one to clone a list of save sets.

Figure 17 Example of a policy with separate workflows for backup and cloning

Data Protection Policies

Road map to add a clone workflow to an existing policy 83

Note

The amount of data and length of time required to complete the backup can impact the ability to clone data when the backup and clone workflows are in the same policy. For example, if the clone action starts before the backup action completes, there might not be any data yet to clone, or in other cases, only the save sets that completed at the start time of the workflow will be taken into account. In both cases, NetWorker will mark the Clone Workflow as successful, but there is no guarantee that all the data from the backup workflow was cloned.

Protection groups for a cloning workflow

You can use two types of protection groups to clone save sets in a workflow that are separate from backup workflows. The type of protection group that you use depends on the way that you plan to configure the workflow.

Use a save set group or a query group to specify a list of save sets if cloning occurs as the head action in a cloning workflow:

l Save set group—Use a save set group in clone-only workflows where you want to clone a specific list of save sets. Save set groups are similar to the manual clone operations in NetWorker 8.2.x and earlier.

l Query group—Use a query group in clone-only workflows where you want to clone save sets on an ongoing basis, based on the save set criteria that you define. Query groups are similar to the scheduled clone operations in NetWorker 8.2.x and earlier.

Note

To clone save sets in a backup workflow, use basic client group or a dynamic client group. Strategies for traditional backups on page 43 provides detailed information about how to create clone actions in a traditional backup workflow.

Create multiple protection groups to perform cloning in different ways as part of separate workflows, or to perform cloning for different save sets on different schedules. For example:

l Create a basic client group for a workflow that performs a traditional backup of the a client file system followed by cloning of the save sets that result from the backup.

l Create a query group that identifies full save sets in the last two days to clone.

Creating a save set group

A save set group defines a static list of save sets for cloning or for snapshot index generation.

Before you begin

Determine the save set ID or clone ID (ssid/clonid) of the save sets for the group by using the Administration > Media user interface or the mminfo command.

Procedure

1. In the Administration window, click Protection.

2. In the expanded left pane, right-click Groups and select New.

The Create Group dialog box appears, starting with the General tab.

3. Type a name for the group in the Name box.

4. From the Group Type list, select Save set.

Data Protection Policies

5. Type a description of the group in the Comment box.

6. (Optional) To associate the group with a workflow, select the workflow from the Workflow (Policy) list.

You can also assign the group to a workflow when you create or edit a workflow.

7. In the Clone specific save sets (save set ID/clone ID) box, type the save set ID/clone ID (ssid/clonid) identifiers.

To specify multiple entries, type each value on a separate line.

8. To specify the Restricted Data Zone (RDZ) for the group, select the Restricted Data Zones tab, and then select the RDZ from the list.

9. Click OK.

Creating a query group

A query group defines a list of save sets for cloning or snapshot index generation, based on a list of save set criteria.

Procedure

1. In the Administration window, click Protection.

2. In the expanded left pane, right-click Groups and select New.

The Create Group dialog box appears, starting with the General tab.

3. Type a name for the group in the Name box.

4. From the Group Type list, select Query.

5. Type a description of the group in the Comment box.

6. (Optional) To associate the group with a workflow, select the workflow from the Workflow (Policy) list.

You can also assign the group to a workflow when you create or edit a workflow.

7. Specify one or more of the save set criteria in the following table.

Note

When you specify more than one save set criteria, the list of save sets only includes save sets that match all the specified criteria.

Table 10 Save set criteria Criteria Description Date and time

range

Specify the start date and time range for the save sets.

To specify the current date and time as the end date for the range, select Up to now.

To specify a different date and time as the end date for the range, select Up to and then select the date and time from the lists.

Backup level In the Filter save sets by level section, select the checkbox next to the backup level for the save set.

l full

l cumulative incr

l logs

Data Protection Policies

Road map to add a clone workflow to an existing policy 85

Table 10 Save set criteria (continued)

Criteria Description

l incremental

l manual Limit the

number of clones

Specify the number for the limit in the Limit number of clones list. The clone limit is the maximum number of clone instances that can be created for the save set.

Note

The default is set to 0, and cannot be changed for NAS or Block.

Client Select the checkbox next to one or more client resources that are associated with the save set in the Client list.

Policy Select the checkbox next to the policy used to generate the save set in the Policy list.

Workflow Select the checkbox next to the workflow used to generate the save set in the Workflow list.

Action Select the checkbox next to the action used to generate the save set in the Action list.

Group Select the checkbox next to the group associated with the save set in the Group list.

Pools Select the checkbox next to the media pool on which the save set is stored in the Pools list.

Note

You cannot select Pools for NAS.

Name Specify the name of the save set in the Filter save sets by name box.

Note

You cannot use wildcards to specify the save set name.

If you specify multiple criteria, then the save set must match all the criteria to belong to the group.

8. To specify the Restricted Data Zone (RDZ) for the group, select the Restricted Data Zones tab and then select the RDZ from the list.

9. Click OK.