cancel
Showing results for 
Search instead for 
Did you mean: 

bpimport error

belse
Level 5

Hi All,

I have been trying to recover DR file but getting the below error.

I am trying to recover the dr file in C:\Catalog folder. Could somebody help me pls? Its in basic disc and A00003 is the directory path in C:\

 

C:\Program Files\Veritas\NetBackup\bin\admincmd>bpimport -drfile c:\A00003 C:\Ca
talog
bpimport: unrecognized option C:\Catalog
 
bpimport: -create_db_info -id <media_id or path> |
    -stype server_type
    [-dp disk_pool_name [-dv disk_volume]]
    [-server <name>] [-L <output_file> [-en]] [-passwd] [-local]
    [-nh <ndmp host> [-mst media_subtype]] [-priority <number>]
 
bpimport: -drfile <media_id or path> -drfile_dest <fully_qualified_dir_name_on_m
aster>
    [-client <name>] [-server <name>] [-L <output_file> [-en]] [-passwd]
    [-priority <number>]
 
bpimport: [-l] [-p] [-pb] [-PD] [-PM] [-v] [-local] [-client <name>]
    [-M master_server]
    [-Bidfile <file_name>]
    [-st <sched_type>] [-sl <sched_label>] [-L <output_file> [-en]]
    [-policy <name>] [-s <startdate>] [-e <enddate>]
    [-pt <policy_type>] [-hoursago <hours>] [-cn <copy number>]
    [-backupid <backup_id>] [[-id <media_id or path>] |
    [-stype server_type]
    [-dp disk_pool_name [-dv disk_volume]]] [-priority <number>]
 
       Valid values for sched_type:
           FULL, INCR, CINC, UBAK, UARC, NOT_ARCHIVE
 
       Valid values for policy_type:
           Standard,  NetWare,  MS-Windows,  OS/2,
           AFS,  DataStore,  NBU-Catalog,  Generic,
           PureDisk-Export

 

***** Moved to new discussion from https://www-secure.symantec.com/connect/forums/catalog-backup-14  by MvdB *****

1 ACCEPTED SOLUTION

Accepted Solutions

RamNagalla
Moderator
Moderator
Partner    VIP    Certified

you are missing the command switch..

use below

C:\Program Files\Veritas\NetBackup\bin\admincmd>bpimport -drfile c:\A00003 -drfile_dest C:\Ca
talog

 

View solution in original post

6 REPLIES 6

RamNagalla
Moderator
Moderator
Partner    VIP    Certified

you are missing the command switch..

use below

C:\Program Files\Veritas\NetBackup\bin\admincmd>bpimport -drfile c:\A00003 -drfile_dest C:\Ca
talog

 

Marianne
Level 6
Partner    VIP    Accredited Certified

I have moved this post to a new discussion as the questions in your previous post have been answered.

Please see http://www.symantec.com/docs/HOWTO56301

bpimport -drfile -id <MediaID> -drfile_dest <Destination directory>

How is A00003 'Basic Disk'? It looks like Media Id, not disk!

So, if A00003 is tape, you need to run command as follows:

bpimport -drfile -id A00003 -drfile_dest C:\Catalog

If A00003 is REALLY a folder on the C-drive that contains the catalog backup, please show us screenshot of C:\A00003 folder.
 

PS: Catalog backups as well as drfile should NEVER be written to the same disk/drive letter as NBU installation to ensure availability in case of DR.
 

I find it strange that you need to recreate the drfile when you have been asking questions about the drfile for a while now and we have pointed you to all the neccessary documentation to ensure that you DO have drfile available.

belse
Level 5

Hi Nagalla,

Thanks for quick response. It did work.

 

belse
Level 5

Hi Marrianne,

Thanks for update.

"I find it strange that you need to recreate the drfile when you have been asking questions about the drfile for a while now and we have pointed you to all the neccessary documentation to ensure that you DO have drfile available"

I was testing my environment whether i wud be able to do DR in Crit-sit. 

belse
Level 5

Hi Marriane,

For reference.

Marianne
Level 6
Partner    VIP    Accredited Certified

If NBU, Catalog Backup and drfile are all on the same physical disk, recovery will be impossible in case of real disaster (e.g. disk failure).