Solved

NTBackup Eject tape after Backup

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

How to Backup Ubuntu to Amazon S3

CloudBerry Backup offers automatic cloud backup and restoration for Linux. It has both GUI and command line interface (CLI) ensuring its flexibility in use. Find out more

Join & Write a Comment

I previously wrote an article addressing the use of UBCD4WIN and SARDU. All are great, but I have always been an advocate of SARDU. Recently it was suggested that I go back and take a look at Easy2Boot in comparison.
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 tutorial will walk an individual through configuring a drive on a Windows Server 2008 to perform shadow copies in order to quickly recover deleted files and folders. Click on Start and then select Computer to view the available drives on the se…
This tutorial will show how to configure a single USB drive with a separate folder for each day of the week. This will allow each of the backups to be kept separate preventing the previous day’s backup from being overwritten. The USB drive must be s…

759 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

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now