Solved

Need sample script to delete B2D files after duplicate to tape job

Posted on 2008-06-20
4
951 Views
Last Modified: 2013-12-01
I'm backing up some data to disk and duplicating to tape.  I need a command / script to run at the end of the dup job to move the B2D file to retired media, delete the media from the catalog, then delete the file from disk.  

>>Windows Server 2003 environment / Backup Exec 12
0
Comment
Question by:moransa
  • 3
4 Comments
 
LVL 23

Expert Comment

by:Rahul Misra
ID: 21952825
Unfortunately there are no such scripts available.
What you can do is to create a new job to backup the B2D files and select the JOB TYPE as ARCHIVE backup,that will automatically delete the B2D or .BKF files,once the backp finishes successfully.
Please ensure that you put *.CFG in the EXCLUDE section for the backup cause if you run an archive backup of those files,it will result in the .CFG files being deleted hence causing the Backup to Disk folder to go  offline.


You could also set the media retention policy so that it automatically ovwewrites the .BKF files after a certain number of days.


For more information on Archive backup and media managemet please refer to the following docs.

ADMIN GUIDE
ftp://exftpp.symantec.com/pub/support/products/Backup_Exec_for_WindowsNT/297830.pdf

Archiving data
http://support.veritas.com/docs/299331 

About backup-to-disk folders and files
http://support.veritas.com/docs/299367 

Understanding backup methods and their advantages
http://support.veritas.com/docs/299316 


0
 

Author Comment

by:moransa
ID: 21973764
"create a new job to backup the B2D files and select the JOB TYPE as ARCHIVE backup"

My current scheme is a B2D job, then a duplicate to tape.  Are you suggesting to replace the B2D job, or add an additional?  I would not want to delete the B2D until the duplicate job completed.  
0
 

Author Comment

by:moransa
ID: 22081932
I back up the data to B2D, duplicate to tape.  When the duplicate job is finished, I need to run a script to delete the B2D file, but the duplicate job does not allow post scripts.  How can this be accomplished?  I have the script, I just need to figure out how to implement it.  
0
 

Accepted Solution

by:
moransa earned 0 total points
ID: 22145966
I cannot run on the scheme as "the creator" suggests because of the duplicate job, which runs after the job to copy the data to tape becaus the duplicate job has no place to run a script.  I need to delete the original data after it is copied to tape.  

There must be another way to accomplish this.  
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

VM backup deduplication is a method of reducing the amount of storage space needed to save VM backups. In most organizations, VMs contain many duplicate copies of data, such as VMs deployed from the same template, VMs with the same OS, or VMs that h…
Microsoft will be releasing the Windows 10 Creators Update in just a matter of weeks. Are you prepared? Follow these steps to ensure everything goes smoothly and you don't lose valuable data on your PC.
This tutorial will walk an individual through the steps necessary to enable the VMware\Hyper-V licensed feature of Backup Exec 2012. In addition, how to add a VMware server and configure a backup job. The first step is to acquire the necessary licen…
This tutorial will walk an individual through the process of configuring basic necessities in order to use the 2010 version of Data Protection Manager. These include storage, agents, and protection jobs. Launch Data Protection Manager from the deskt…

789 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question