Solved

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

Posted on 2008-06-20
4
955 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Three Reasons Why Backup is Strategic

Backup is strategic to your business because your data is strategic to your business. Without backup, your business will fail. This white paper explains why it is vital for you to design and immediately execute a backup strategy to protect 100 percent of your data.

Question has a verified solution.

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

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 locating and launching the BEUtility application to properly change the service account username and\or password in situation where it may be necessary or where the password has been inadvertently change…
This tutorial will walk an individual through the process of installing the necessary services and then configuring a Windows Server 2012 system as an iSCSI target. To install the necessary roles, go to Server Manager, and select Add Roles and Featu…

739 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