cancel
Showing results for 
Search instead for 
Did you mean: 

BE 9.1 - Trying to pause and un-pause a B2D folder from CMD line

Craig_L
Level 2

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?

1 ACCEPTED SOLUTION

Accepted Solutions

pkh
Moderator
Moderator
   VIP    Certified

The -o60 and the -o61 switches are implemented for BE 12.5 and above.  See the document below

http://www.symantec.com/docs/TECH67416

View solution in original post

7 REPLIES 7

Ken_Putnam
Level 6

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?

Craig_L
Level 2

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.

Ken_Putnam
Level 6

Try a -o63 -i to display drive IDs or a -j to display drive names and then use the result in your -o60

pkh
Moderator
Moderator
   VIP    Certified

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.

Craig_L
Level 2

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

pkh
Moderator
Moderator
   VIP    Certified

The -o60 and the -o61 switches are implemented for BE 12.5 and above.  See the document below

http://www.symantec.com/docs/TECH67416

Ken_Putnam
Level 6

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