10-27-2011 09:17 AM
I am trying to use the command to pause and un-pause a B2D folder:
@echo off
: pause the B2D folder
bemcmd -o60 -d”Backup-to-Disk Folder 1”
: un-pause the B2D folder
bemcmd -o61 -d”Backup-to-Disk Folder 1”
Essentiall nothing happens, I get a return code of "-1" which means it didn't work. I've tried numerous variations of the folder name (after the -d). I am wondering if there is something I am missing here.
Yes, this is really old BE, but it's all I have.
Any suggestions?
Solved! Go to Solution.
11-02-2011 02:44 AM
The -o60 and the -o61 switches are implemented for BE 12.5 and above. See the document below
http://www.symantec.com/docs/TECH67416
10-27-2011 09:42 AM
Hmm, the oldest Command Line Guide I can find is for v10x, but according to that, you appear to be doing what you need to do
Do any other BEMCMD options work?
10-27-2011 01:18 PM
I did a -o68 which listed the devices with success. I can't help to think I don't have the syntax or device name or something right for the -d argument.
10-27-2011 01:41 PM
Try a -o63 -i to display drive IDs or a -j to display drive names and then use the result in your -o60
10-27-2011 06:32 PM
Unfortunately, you are out of luck. I think the -o60 and -o61 switches were implemented for later releases of BE, not BE 9.1. I believe that B2D was just introduced around the time BE 9.1 was released and a lot of functionalities were not developed yet.
11-01-2011 06:24 AM
Results below.
Seems like the -o63 shows one drive and -o68 shows what I would expect.
C:\Program Files\VERITAS\Backup Exec\NT>bemcmd -o63 -i
{C875A52F-3FB0-4110-B91B-D44769308783}
Number of drives:1
Return value:1
C:\Program Files\VERITAS\Backup Exec\NT>bemcmd -o63 -j
DELL 3
Number of drives:1
Return value:1
C:\Program Files\VERITAS\Backup Exec\NT>bemcmd -o68
All Drives (SGAPP2004):Drive Pool:{5F77CA8E-FDA9-4869-837B-8CE7FE386B26}
Backup-to-Disk Folder 1:Backup to disk:{492E9DDE-745C-4CB4-9B05-3F02FF93BC9A}
Backup-to-Disk Folder 2:Backup to disk:{A0188201-65C1-43FF-90EC-5DD26491B5E5}
Backup-to-Disk Folder 3:Backup to disk:{E051DB92-7775-45DB-8A46-089575150043}
Backup-to-Disk Folder 4:Backup to disk:{72CC8B86-D009-48D1-9041-775B7F4A7713}
Backup-to-Disk Folder 5:Backup to disk:{4A4346AD-F4FF-414F-B6DB-9BF4EA902E2D}
DELL 3:Drive:{C875A52F-3FB0-4110-B91B-D44769308783}
SGAPP2004:Machine:{238A965A-33EB-4DDF-96F2-614A623487E2}
Return value:1
11-02-2011 02:44 AM
The -o60 and the -o61 switches are implemented for BE 12.5 and above. See the document below
http://www.symantec.com/docs/TECH67416
11-02-2011 08:03 AM
There is no separate guide for v9, but BEMCMD is documented in the Admin Guide and the -o60 and -o61 operands talk specifically about "drives" rather than "devices", so it is possible that it wasn't programmed to handlle B2D devices