I'm a complete backup exec newbie.
I'm using version 10 rev 5484.
I can select a specific file to restore from Edit:Search Catalogs. I would like to be able to do the same thing from a command line, an SDK, or whatever.
There are two steps to the problem: 1) Find out what files are out there, and 2) Recover one or more files.
To find out what files are out there, i'm using
bemcmd -o69 -i -j -l<filename>
to get media IDs. This works fine.
Then, to find out what files are on a given set of media, I'm the standard script:
[General]
JOB_TYPE=Catalog
JOB_NAME=My Job name
SERVER=DEV-3-BILL
[Catalog_Options]
MEDIA_ID={00000009-0004-0000-0000-000000000000}
[Schedule]
RUN_IMMEDIATE=1
obviously the MEDIA_ID will vary, depending on the output from the first command.
The script is executed using this command:
bemcmd -o90 -v -f<scriptname> -l<logto>
However, when I execute that script, I get:
(01/24/06 08:09:16):"C:\Program Files\VERITAS\Backup Exec\NT\bemcmd" -o90 -v -f"D:\AssetRetrieval\CatalogScript01.txt" -l"d:\AssetRetrieval\TestOutput"
Connecting to media server '\\DEV-3-BILL'...
Connected.
Reading script file...
Inserting script...
ERROR performing operation: '-536837669'.
Disconnecting from server...
Disconnected.
RETURN VALUE: -1
which is a bit of a disappointment.
Can anyone point me in the right direction?
Thanks!
I'm using version 10 rev 5484.
I can select a specific file to restore from Edit:Search Catalogs. I would like to be able to do the same thing from a command line, an SDK, or whatever.
There are two steps to the problem: 1) Find out what files are out there, and 2) Recover one or more files.
To find out what files are out there, i'm using
bemcmd -o69 -i -j -l<filename>
to get media IDs. This works fine.
Then, to find out what files are on a given set of media, I'm the standard script:
[General]
JOB_TYPE=Catalog
JOB_NAME=My Job name
SERVER=DEV-3-BILL
[Catalog_Options]
MEDIA_ID={00000009-0004-0000-0000-000000000000}
[Schedule]
RUN_IMMEDIATE=1
obviously the MEDIA_ID will vary, depending on the output from the first command.
The script is executed using this command:
bemcmd -o90 -v -f<scriptname> -l<logto>
However, when I execute that script, I get:
(01/24/06 08:09:16):"C:\Program Files\VERITAS\Backup Exec\NT\bemcmd" -o90 -v -f"D:\AssetRetrieval\CatalogScript01.txt" -l"d:\AssetRetrieval\TestOutput"
Connecting to media server '\\DEV-3-BILL'...
Connected.
Reading script file...
Inserting script...
ERROR performing operation: '-536837669'.
Disconnecting from server...
Disconnected.
RETURN VALUE: -1
which is a bit of a disappointment.
Can anyone point me in the right direction?
Thanks!