Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

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

Posted on 2008-06-20
4
Medium Priority
?
967 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:Iamthecreator OM
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

Ransomware-A Revenue Bonanza for Service Providers

Ransomware – malware that gets on your customers’ computers, encrypts their data, and extorts a hefty ransom for the decryption keys – is a surging new threat.  The purpose of this eBook is to educate the reader about ransomware attacks.

Question has a verified solution.

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

This article is an update and follow-up of my previous article:   Storage 101: common concepts in the IT enterprise storage This time, I expand on more frequently used storage concepts.
Are you looking to recover an email message or a contact you just deleted mistakenly? Or you are searching for a contact that you erased from your MS Outlook ‘Contacts’ folder and now realized that it was important.
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…
This tutorial will show how to configure a single USB drive with a separate folder for each day of the week. This will allow each of the backups to be kept separate preventing the previous day’s backup from being overwritten. The USB drive must be s…

670 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