cancel
Showing results for 
Search instead for 
Did you mean: 

crcontrol command details

Technic_rus
Level 3

Hello All.

We have a backup solution based on two W2008R2 servers running NetBackup 7.0.1 with MSDP feature.

We have a critical mistake in build (wrong drive used for MSDP DB) and we are looking the way to sort it out. Symantec support denied us.

 

crcontrol command has three keys that could help us to backup this DB, reconfigure CR and restore DB to correct drive. But there is no info in --help about those keys (PSB). Checked deduplication/NetBackup commands manuals - no luck.

Could somebody provide a manual which describes those keys?

Thank you in advance.

 

D:\Program Files\Veritas\pdde>Crcontrol.exe --help
This is Crcontrol.exe, Version 6.6.0.47282

Copyright (C) 2005 Symantec
Portions Copyright (C) 2000-2005 DATACENTERTECHNOLOGIES
Portions Copyright (C) 1994-2002 Ripley Software Development
Portions Copyright (C) 1995 University of Southern California
Portions Copyright (C) 1998, Regents of the University of California
Portions Copyright (C) 1995 by International Business Machines, Inc.
Portions Copyright (C) 1995-2003 Jean-loup Gailly and Mark Adler
Portions Copyright (C) 1996 by Internet Software Consortium.
Portions Copyright (C) 1991-2000, RSA Data Security, Inc.
All Rights Reserved

..............................

..............................

..............................

  --drstart   : Start DR backup (Full or Incremental)

  --drstop    : Stop  DR backup (Full or Incremental)
  --drstate   : DR state (None, Full or Incr)

..............................

..............................

..............................

 

 

 

 

1 ACCEPTED SOLUTION

Accepted Solutions

Technic_rus
Level 3

Thank you for reply.

We tested it and it works but we think that link is not a best idea because we have poor disk performance and we would like to eliminate any impact to disk.

We are going to do the following:

Log on to master & media. Run cmd.exe as Administrator. Browse to D:\Program files\Veritas\Netbackup\bin on both servers
Run bpdown -v -f on media first. Ensure that all proccess are stopped
Run the same command on master
On media run xcopy F:\backup\Databases E:\Database /E /I /H /K /O /X
Rename F:\backup\Databases to F:\backup\Databases_bak on media
Modify F:\Backup\etc\puredisk\contentrouter.cfg on media. Change "Path=F:\Backup\databases" row to "Path=E:\database" 
Modify F:\Backup\etc\puredisk\spa.cfg on media. Change "Path=F:\Backup\databases" row to "Path=E:\database" 
Modify PostgreSQL-8.3 service. Run regedit.exe on media. Browse to  HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\postgresql-8.3.
Amend ImagePath key to "D:\Program Files\Veritas\pdde\pddb\bin\pg_ctl.exe" runservice -N postgresql-8.3 -D "E:\database\pddb\data" -w
Run bpup -v -f on master. 
Run bpup -v -f on media. 

 I will post an update here once implemented.

Thank you.

View solution in original post

3 REPLIES 3

SymTerry
Level 6
Employee Accredited
Not sure there is a manual with the options your looking for.
 
Windows also has a way to do symbolic links. Maybe try doing it that way?

Technic_rus
Level 3

Thank you for reply.

We tested it and it works but we think that link is not a best idea because we have poor disk performance and we would like to eliminate any impact to disk.

We are going to do the following:

Log on to master & media. Run cmd.exe as Administrator. Browse to D:\Program files\Veritas\Netbackup\bin on both servers
Run bpdown -v -f on media first. Ensure that all proccess are stopped
Run the same command on master
On media run xcopy F:\backup\Databases E:\Database /E /I /H /K /O /X
Rename F:\backup\Databases to F:\backup\Databases_bak on media
Modify F:\Backup\etc\puredisk\contentrouter.cfg on media. Change "Path=F:\Backup\databases" row to "Path=E:\database" 
Modify F:\Backup\etc\puredisk\spa.cfg on media. Change "Path=F:\Backup\databases" row to "Path=E:\database" 
Modify PostgreSQL-8.3 service. Run regedit.exe on media. Browse to  HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\postgresql-8.3.
Amend ImagePath key to "D:\Program Files\Veritas\pdde\pddb\bin\pg_ctl.exe" runservice -N postgresql-8.3 -D "E:\database\pddb\data" -w
Run bpup -v -f on master. 
Run bpup -v -f on media. 

 I will post an update here once implemented.

Thank you.

Technic_rus
Level 3

it worked. implemented successfully. solution works much faster