Solved

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

Posted on 2008-06-20
4
942 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:Iamthecreator
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

Highfive + Dolby Voice = No More Audio Complaints!

Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
Veeam Error 6 98
NDMP backup issue 1 38
Acronis Backup and Recovery 11.5 13 67
Operating an LTO on a W7 workstation 2 41
Storage devices are generally used to save the data or sometime transfer the data from one computer system to another system. However, sometimes user accidentally erased their important data from the Storage devices. Users have to know how data reco…
Create your own, high-performance VM backup appliance by installing NAKIVO Backup & Replication directly onto a Synology NAS!
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…

744 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

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now