Setting Backup Job (Setting Automatic Ejection) - Fujitsu PRIMERGY LTO4 User Manual

Table of Contents

Advertisement

3.4
Setting Backup Job (Setting Automatic
Ejection)
When executing backup automatically, follow the procedures below to set to eject the data cartridge
automatically after backup. Even when executing backup manually, make sure to eject the data car-
tridge after backup.
For Windows Backup (Windows Server 2003)
In batch files, etc., add a description that executes the following commands after the backup
commands.
Example: rsm refresh/lf"Quantum LTO 4 Tape Drive"
*1: Check the name to be assigned with "Computer Management"
Storage"
[Example of a batch file]
Line
Number
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
14:
15:
16:
17:
18:
*2: To create c:\test\test.bks, start Windows Backup, check the backup target in the [Backup]
tab, and select [Save Selections] in the [Job] menu.
For an example of a Windows Backup batch file, refer to Microsoft Knowledge Base, Article ID:
http://support.microsoft.com/kb/239892/en-us
For details about how to use the ntbackup, rsm command, refer to Windows help (Click [Start] –
[Help and Support] and search for "ntbackup" or "rsm").
72
rsm eject/lf"Quantum LTO 4 Tape Drive"/astart
"Libraries" (for Windows Server 2003).
Batch File Contents
@echo off
cls
setlocal
rsm inventory /lf"Quantum LTO 4 Tape Drive" /aFULL
timeout /t 60
rsm refresh /lf"Quantum LTO 4 Tape Drive"
timeout /t 60
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 backup @c:\test\test.bks /n "%computername%-%dtt%" /d "daily
%dtt%" /j "daily %dtt%" /p "LTO Ultrium" V:no /R:no /L:f /M normal /RS:NO
/HC:ON /UM
timeout /t 60
rsm refresh /lf"Quantum LTO 4 Tape Drive"
timeout /t 60
rsm eject /lf"Quantum LTO 4 Tape Drive"
timeout /t 60
endlocal
*1
"Storage"
"Removable
Backup
(*2)
Eject the
data
cartridge

Advertisement

Table of Contents
loading

Table of Contents