RE: NTBackup - any resources
- From: v-chacez@xxxxxxxxxxxxx (chace zhang)
- Date: Fri, 17 Nov 2006 06:37:46 GMT
Hi,
Thank you for posting here.
Based on my research,
Ejecting the tape can''t be done using the backup utility; it''s the
removable storage manager that controls the tape and it can eject it:
''314844 How to Schedule Unattended Backups by Using a Stand-Alone Tape
Library - http://support.microsoft.com/?id=314844''.
You can do it through the GUI. In Computer Management, go to removable
storage. Open Libraries and right click on your tape drive and choose
eject. It can also be done from a command line. The command is RSM EJECT
and then you must specify the name of the device. The command line options
are explained in the online help (Help and Support Center.)
What I would suggest is to create a batch file that includes the backup
command as well as the RSM eject, and then modify the schedule in Task
Schedule to run the created batch file.
Open the SBS backup log (SBS Server Management console\Backup\View log) and
then you will see the detailed backup command that the backup runner
created.
You may want to check the Windows 2003 HCL to see if this tape drive is in
the compatible list. Sometimes, the eject command does not work due to the
hardware compatibility: http://www.microsoft.com/whdc/hcl/search.mspx.
I suggest we first use the RSM VIEW command to display the tape name and
execute the RSM EJECT command directly to confirm that your tape device
does support RSM command. Please follow these steps:
1. Insert the tape with backup file to tape device
2. Bring up a command line
3. Input the following command:
rsm view /tphysical_media
4. All the media name in your Library will be displayed as followings
including the tape name
PHYSICAL_MEDIA
Monday-Full - 1
Tuesday-Full - 1
Wednesday-Full - 1
Thursday-Full - 1
Friday-Full - 1
The command completed successfully.
5. Find the correct tape name match your tape from the displayed list and
execute the following command
RSM EJECT /pf "YourTapeName" /astart
6. Is the tape ejected correctly?
If we can confirm that the tape can be successfully ejected by above
command, we can use the NTbackup command with "/n" parameter to name the
tape, and then use RSM EJECT command to eject tape automatically. You can
compose your NTBackup script like following:
ntbackup.exe backup "@C:\Program Files\Microsoft Windows Small Business
Server\Backup\Small Business Backup Script.bks" /n "Your_tape_name" /d "SBS
Backup created on 2004-05-28 at 23:00" /v:yes /r:no /rs:no /hc:on /m normal
/j "Small Business Server Backup Job" /l:s /p "4mm DDS" /UM
Then, use the following command to eject your tape:
RSM EJECT /pf "Your_tape_name" /astart
Regarding email backup log, we can use a VBS script to send the email with
the backup log. However, since writing script is a development issue, I am
sorry that I cannot help further. It would be best addressed in the MSDN
Developer newsgroups. I have provided the link below:
http://msdn.microsoft.com/newsgroups/default.asp
- This can generally be addressed in Messaging and Collaboration.
Technically, a VBS script is used to the call the Messaging and
Collaboration object to create this email and then send through the SMTP
server of the SBS server. Since this requires development skills, if you
are interested in write such a script, please refer to the following page:
Messaging and Collaboration
http://msdn.microsoft.com/library/en-us/dnanchor/html/messagingcollaboration
asp
Collaboration Data Objects (CDO)
http://msdn.microsoft.com/library/en-us/cdo/html/_olemsg_overview_of_cdo.asp
I hope this information helps. You can post into the MSDN newsgroups for
developers for further assistance. Have a nice day.
Best Regards,
Chace Zhang (MSFT)
Microsoft CSS Online Newsgroup Support
Get Secure! - www.microsoft.com/security
=====================================================
This newsgroup only focuses on SBS technical issues. If you have issues
regarding other Microsoft products, you'd better post in the corresponding
newsgroups so that they can be resolved in an efficient and timely manner.
You can locate the newsgroup here:
http://www.microsoft.com/communities/newsgroups/en-us/default.aspx
When opening a new thread via the web interface, we recommend you check the
"Notify me of replies" box to receive e-mail notifications when there are
any updates in your thread. When responding to posts via your newsreader,
please "Reply to Group" so that others may learn and benefit from your
issue.
Microsoft engineers can only focus on one issue per thread. Although we
provide other information for your reference, we recommend you post
different incidents in different threads to keep the thread clean. In doing
so, it will ensure your issues are resolved in a timely manner.
For urgent issues, you may want to contact Microsoft CSS directly. Please
check http://support.microsoft.com for regional support phone numbers.
Any input or comments in this thread are highly appreciated.
=====================================================
This posting is provided "AS IS" with no warranties, and confers no rights.
--------------------
| From: "SimonR" <Simon@xxxxxxxxxxxxxx>
| Subject: NTBackup - any resources
| Date: Thu, 16 Nov 2006 23:25:18 -0000
| Lines: 8
| X-Priority: 3
| X-MSMail-Priority: Normal
| X-Newsreader: Microsoft Outlook Express 6.00.2900.2869
| X-RFC2646: Format=Flowed; Original
| X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2962
| Message-ID: <uc3awXdCHHA.4404@xxxxxxxxxxxxxxxxxxxx>
| Newsgroups: microsoft.public.windows.server.sbs
| NNTP-Posting-Host: 82-47-139-190.cable.ubr10.brad.blueyonder.co.uk
82.47.139.190
| Path: TK2MSFTNGXA01.phx.gbl!TK2MSFTNGP01.phx.gbl!TK2MSFTNGP06.phx.gbl
| Xref: TK2MSFTNGXA01.phx.gbl microsoft.public.windows.server.sbs:313338
| X-Tomcat-NG: microsoft.public.windows.server.sbs
|
| I need to eject the tape and email the backup log to me
| How can I do this with NTBackup
|
| Some of the stuff I've found is dated back to 2001 and 2002 etc
|
| Anyone point me to something uptodate ?
|
|
|
.
- References:
- NTBackup - any resources
- From: SimonR
- NTBackup - any resources
- Prev by Date: Re: Exchange problems: Mailbox failed to create
- Next by Date: Re: SBS R2 Update Service
- Previous by thread: NTBackup - any resources
- Next by thread: Splitting Exchange from SBS 2003
- Index(es):
Relevant Pages
|