Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

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

Posted on 2008-06-20
4
Medium Priority
?
971 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 24

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

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

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…
This article shows how to use a free utility called 'Parkdale' to easily test the performance and benchmark any Hard Drive(s) installed in your computer. We also look at RAM Disks and their speed comparisons.
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…
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…
Suggested Courses

876 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