Solved

NTBackup Eject tape after Backup

Posted on 2008-10-15
2
1,743 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
[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
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

Forrester Webinar: xMatters Delivers 261% ROI

Guest speaker Dean Davison, Forrester Principal Consultant, explains how a Fortune 500 communication company using xMatters found these results: Achieved a 261% ROI, Experienced $753,280 in net present value benefits over 3 years and Reduced MTTR by 91% for tier 1 incidents.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Azure web service cannot write on attached Azure  File Storage 3 58
Windows 2016 Storage Pool Issue 3 72
copy large amount of files 9 80
VMWare vSAN 5 85
A Bare Metal Image backup allows for the restore of an entire system to a similar or dissimilar hardware. They are highly useful for migrations and disaster recovery. Bare Metal Image backups support Full and Incremental backups. Differential backup…
The article will include the best Data Recovery Tools along with their Features, Capabilities, and their Download Links. Hope you’ll enjoy it and will choose the one as required by you.
To efficiently enable the rotation of USB drives for backups, storage pools need to be created. This way no matter which USB drive is installed, the backups will successfully write without any administrative intervention. Multiple USB devices need t…
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…

751 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