delete_save_sets | Teradata DSA Commands - delete_save_sets - BAR - Data Stream Architecture

Teradata® DSA User Guide

Deployment
VantageCloud
VantageCore
Edition
Enterprise
IntelliFlex
VMware
Product
BAR
Data Stream Architecture
Release Number
17.20
Published
November 2022
Language
English (United States)
Last Update
2023-11-30
dita:mapPath
bis1632417576364.ditamap
dita:ditavalPath
vwp1576617377804.ditaval
dita:id
cyv1467242268519
Product Category
Software
Teradata Tools and Utilities

Purpose

The delete_save_sets command deletes the backup save sets for a backup job using a single or multiple job execution ID. It does not delete save sets for repository jobs.

Syntax

dsc delete_save_sets -I|job_execution_id id -S|skip_prompt

Example

dsc delete_job -I 10011 -S

Parameters

I|job_execution_id Job Execution ID
The job execution ID of the previous execution of the job.
O|override
[Optional] Flag used to delete related save sets. For example, if a Full save set is related to a Delta save set, use the override flag to also delete the Delta save set.
f|file file.xml
The file to specify multiple execution ID to delete multiple save sets. Either one of -I or -f should be present.
S|skip_prompt SkipPrompt
[Optional] Skips displaying a confirmation message before performing the command action.
u|user_authentication User
Required when security management is enabled. Supplies the command with the Viewpoint user, and triggers a password prompt for authentication.

Permissions required: DSA Job Permissions: Run and Edit.

A|abort
[Optional] Abort the current running request so the DSC does not delete the metadata. Cannot abort the deletion of save set files.
C|current
[Optional] Returns the current status of the recently executed delete save sets request.

Usage Notes

  • Delete_save_sets allows you to cleanup files and metadata when they are no longer needed. It deletes save sets and backup images from both the DSC repository and the backup solution.
  • When backups go across multiple TMSS dsc servers, the image files are not deleted if the TMSS servers use the same REMOTE_FILE_SYSTEM in the target group definition. See config_target_groups for more information.

XML File Example

Here is a sample XML file.
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<!--  Copyright (C) 2009 by Teradata Corporation. All Rights Reserved. TERADATA
        CORPORATION CONFIDENTIAL AND TRADE SECRET -->
<dscDeleteSaveSets
        xmlns="http://schemas.teradata.com/v2012/DSC"
        xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
        xsi:schemaLocation="DSC.xsd">
        <!--  List of multiple execution Id for the same job to delete save sets -->
        <job_execution_id>150</job_execution_id>
        <job_execution_id>151</job_execution_id>
        <job_execution_id>152</job_execution_id>
</dscDeleteSaveSets>