Solved

NTBackup Eject tape after Backup

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

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

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…
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 tutorial will show how to configure a new Backup Exec 2012 server and move an existing database to that server with the use of the BEUtility. Install Backup Exec 2012 on the new server and apply all of the latest hotfixes and service packs. The…
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…

828 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