Solved

NTBackup Eject tape after Backup

Posted on 2008-10-15
2
1,723 Views
Last Modified: 2013-12-01
I am trying to get the Tape to eject after a tape backup in NTBackup, Have tried changing the Eject Tape flag to 1, but still will not eject when NTBackup exits. Am stuck as to how i can get this to work.
0
Comment
Question by:mikkykilo
2 Comments
 
LVL 10

Accepted Solution

by:
dfke earned 500 total points
ID: 22729069
I don't know what tape unit you are using but maybe you can use a variant of the following script. I hope this gets you on the right track.
echo off 
start /wait rsm.exe refresh /LF"Your_Library_Name" 
for /f "Tokens=1-4 Delims=/ " %%i in ('date /t') do set 
dt=%%i-%%j-%%k-%%l 
for /f "Tokens=1" %%i in ('time /t') do set tm=-%%i 
set tm=%tm::=-% 
set dtt=%dt%%tm% 
ntbackup.exe backup "@C:\Your_backup_script.bks" /n "Monday %dtt%" 
/d "Monday %dtt%" /v:no /r:no /rs:no /hcff /m normal /j "%dtt%" /l:f 
/p "4mm DDS" /UM 
rsm.exe eject /PF"Monday %dtt% - 1" /astart 

Open in new window

0
 

Author Comment

by:mikkykilo
ID: 22736548
Thanks, I think i have it working now.
0

Featured Post

VMware Disaster Recovery and Data Protection

In this expert guide, you’ll learn about the components of a Modern Data Center. You will use cases for the value-added capabilities of Veeam®, including combining backup and replication for VMware disaster recovery and using replication for data center migration.

Question has a verified solution.

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

Lets start to have a small explanation what is VAAI(vStorage API for Array Integration ) and what are the benefits using it. VAAI is an API framework in VMware that enable some Storage tasks. It first presented in ESXi 4.1, but only after 5.x sup…
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 setting the global and backup job media overwrite and protection periods in Backup Exec 2012. Log onto the Backup Exec Central Administration Server. Examine the services. If all or most of them are stop…
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…

776 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