Solved

NTBackup Eject tape after Backup

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

Comprehensive Backup Solutions for Microsoft

Acronis protects the complete Microsoft technology stack: Windows Server, Windows PC, laptop and Surface data; Microsoft business applications; Microsoft Hyper-V; Azure VMs; Microsoft Windows Server 2016; Microsoft Exchange 2016 and SQL Server 2016.

Question has a verified solution.

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

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.
Each year, investment in cloud platforms grows more than 20% (https://www.immun.io/hubfs/Immunio_2016/Content/Marketing/Cloud-Security-Report-2016.pdf?submissionGuid=a8d80a00-6fee-4b85-81db-a4e28f681762) as an increasing number of companies begin to…
This video teaches viewers how to encrypt an external drive that requires a password to read and edit the drive. All tasks are done in Disk Utility. Plug in the external drive you wish to encrypt: Make sure all previous data on the drive has been …
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…

617 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