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>