cancel
Showing results for 
Search instead for 
Did you mean: 

Restoring data from an exchange backup without contact to the original server

contra04
Level 5

Hi catostropic monstrous events going on.

 

I need to restore some exchange databases, which are disk images on local drives on my master server.  Dont need to go to tape.

 

The server has been rebuilt, and has no client installed on it, and I do not have an option to install it at present.

what does one do when trieng to restore data for clients that no longer exist?

Is an exchange netbackup client a different isntall than the regular client ?

 

How can I point to an image and just restore it to a location of my choice? the backup and restore client on the master server asks for a rsetore client and type....

 

from the command line...

bpimagelist -d 01/27/2012 -policy mbx1-store -U

No entity was found.

 

Any help would be extremely appreciated !

35 REPLIES 35

sksujeet
Level 6
Partner Accredited Certified

If you are trying to restore the exchange and if it is crashed you might be restoring it on top of it, or you can restore to recovery storage group in exchange.

If it was the flat database backup then you can restore it to any other server that has client installed. Do the restore from any of the media or master server.

In the BAR, select the source client as original server

Destination client where you want to restore

Policy type of restore Ms-exchange server or Ms-windows-nt if it was a flat backup as windows

Client is same its only the selection is different if you are restorig the exchange database.

Nicolai
Moderator
Moderator
Partner    VIP   

A Netbackup client install contain the Exchange database agent from version 6.5 and up.

You can always restore data even if the original client is gone. It's just a question of entering the right names and giving the right permissions (aka altnames)

Please refer to the Netbackup Exchange admin manual how to perform alternate restores (chapter 6):

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

PS: Image list command, is mbx-store the configured name in Netbackup ?

bpimagelist -d 01/01/2011 -client acme 

and

bpimagelist -d 01/01/2011 -client acme.domain.com 

will not return the same information 

contra04
Level 5

Hi thanks for the replies - I get:

 

ERROR: valid archive image produced, but no files deleted due to no fatal problems

 

I Imagine this error message is not the sharpest prose....?

 

Any ideas?

 

how can I restore from the image I have found in the cataloge?

Import it? then how do I get it to disk?

Nicolai
Moderator
Moderator
Partner    VIP   

A archive read data and delete files on the source

A Backup read data but does not delete files.

Are you trying to run an archive ?. Have you verifyed the images are in the catalog ?

find the images file on the disk, take note of the file name. It shoud be in the format of hostname_1234567:

 

e.g.
zebra_1328046115_C1_F1.1328046115.img
 
Then try bpimagelist -backupid zebra_1328046115 - This will tell you if the backup image is in the Netbackup catalog.
 

contra04
Level 5

Yes I can see them in the cataloge and know exactly where the image file is and the filename.

 

I just dont know how to do the restore outside of "backup and restore" which is giving me the error above ;)

contra04
Level 5

contra04
Level 5

 

C:\Program Files\VERITAS\NetBackup\bin>bpimagelist -backupid mbx1-lon_1327672178
IMAGE mbx1-lon 0 0 8 mbx1-lon_1327672178 mbx1_store 16 *NULL* root Daily 0 1 1327672178 17876 1328881778 1 0 277112488 3 2 3 0 mbx1_store_1327672178
L* *NULL* 0 1 0 0 0 *NULL* 1 0 0 0 0 0 0 *NULL* 0 0 0 *NULL* 21997 1 0 977 0 0 *NULL* *NULL* 0 0 0
HISTO -1 -1 -1 -1 -1 -1 -1 -1 -1 -1
FRAG 1 1 277112488 0 0 0 0 E:\Staging\mbx1-lon_1327672178_C1_F1 harry 262144 0 0 -1 0 harry 1328881778 0 65537 0 0 0 1 0 1327690054 0 *NULL* *NULL*
FRAG 2 1 8220416 0 2 20 7 CLU212 harry 65536 4789797 1327545850 0 0 *NULL* 1328881778 0 65537 0 0 0 1 0 1327718579 0 *NULL* *NULL*
FRAG 2 2 268892072 0 2 20 1 CLU252 harry 65536 2 1327713278 0 0 *NULL* 0 0 0 0 0 0 1 0 0 0 *NULL* *NULL*
 
Now how do I turn this into the original data ?
 
I have plently of space to restore this to on the master server

Mark_Solutions
Level 6
Partner Accredited Certified

You can only restore Exchange Data to an Exchange Server with a NetBackup client installed

Set up a Recovery Storage Group on a working Exchange Server of the same Exchange Type and restore it there using the original client as the source and the new one as the destination

All done in the Backup, Archive and Restore GUI - run this from the Master Server to overcome the alternate client restore issues

See the Admin Guide for full details

contra04
Level 5

Thanks mark - I have the client installed on a second exchange server now.

 

and the correct public folder backup selected for restore. Just waiting to restart the new exchagne server.

 

ONe more question - when these are restored to a recovery store - are the USN numbers updated so that the data appears newer that the "bad" public folders we have out there?

Mark_Solutions
Level 6
Partner Accredited Certified

The RSG is pretty isolated

If you want this to be restored for Production use then overwrite the original (if you are sure the backup you have is good)

Your decision - may be safe just to restore to a RSG and then extract what you need from it using Exchange tools

contra04
Level 5

Its ok - we are going to use an isolated environment on a new server. RSG doesnt work with public folders - which we lost to replication. everything is cool

Mark_Solutions
Level 6
Partner Accredited Certified

Great - when all is solved dont forget to come back and mark the post that helped the most as a solution to assist others in the future with a similar issue

contra04
Level 5

Argh it is far from solved it has one of two errors now.

 

We changed the IP address of the master to put it in a sandboxed environment, with one exhcnage server(that we are trying to restore to), and one domain controller.(required by exchange)

 

The master can see the client (same name as original box) but it kept failing with an error on restore status code 205: cannot connect to server backup restore manager

I thought as this was my first attempt at a restore from staging disk, maybe that was the issue - I got the same result from one that had been duplicated to tape a few days earlier.

 

This is for a public folder store, and we had it dismounted, and set to be overwritten as per the various documents.

 

I have had 3 symantec engeneers try to figure this out, to no avail - All connectivity and command line tests came up clean.  Telnetted to various ports etc...

 

I then re-enabled the second NIC, ont the original server that that it could talk to the rest of the clients, and dropped the gate way on the sandboxed vlan.  Full connectivity restored.

 

From here I installed Kroll Ontrack power controls - latest version and set it up to emaulate an exchange 2007 server, and followed their documentation to the letter.  That server ixbackup-lon has the netbackup client installed - and can contact the master. 

 

The Master server is not even making an attempt to contact the client - it doesnt get that far.  So whether is an emulated exchange server (Kroll) or a real server, it just doesnt get that far in the restore process.  Ive been using netstat on both ends, looking for established connections - there are non between client and master server (also media server)

 

This is Master server tape backup -> Ontrack Emulated Exchange server:

 

 02/02/2012 23:39:09 - begin Restore

02/02/2012 23:39:12 - 1 images required

02/02/2012 23:39:12 - media CLU223 required

02/02/2012 23:39:12 - media CLU231 required

02/02/2012 23:42:06 - restoring image mbx1-lon_1327587040

02/02/2012 23:58:07 - end Restore; elapsed time: 00:18:58

cannot connect on socket(25)

03/02/2012 00:13:05 - requesting resource CLU223

03/02/2012 00:13:05 - awaiting resource CLU223 Reason: Tape media server is not active, Media Server: potter, 

Robot Number: 0, Robot Type: TLD, Media ID: N/A, Drive Name: N/A, 

Volume Pool: N/A, Storage Unit: N/A, Drive Scan Host: N/A


03/02/2012 00:18:06 - Error bpbrm(pid=3040) bpcd on ixbackup-lon exited with status 59: access to the client was not allowed

03/02/2012 00:18:07 - connecting 
 

 This is the master server Disk Backup (staging) -> ontrack emulated Exchange server: 

02/02/2012 23:10:49 - begin Restore

02/02/2012 23:10:52 - restoring image mbx1-lon_1327731028

02/02/2012 23:16:09 - Error bpbrm(pid=3268) bpcd on ixbackup-lon exited with status 59: access to the client was not allowed

02/02/2012 23:16:15 - Error bpbrm(pid=3268) client restore EXIT STATUS 59: access to the client was not allowed 

02/02/2012 23:27:04 - restored image mbx1-lon_1327731028 - (cannot connect on socket(25)); restore time 00:16:12

02/02/2012 23:27:05 - end Restore; elapsed time: 00:16:16

the restore failed to recover the requested files(5) 

From Master server -> newly built Exchange server with same name - but on different IP address

 

 02/02/2012 19:25:05 - begin Restore

02/02/2012 19:25:07 - restoring image mbx1-lon_1327731028

02/02/2012 19:26:36 - end Restore; elapsed time: 00:01:31

the restore failed to recover the requested files(5) 

I am most concerned with restoring the the emulated Ontrack exchange environment, as we are now back on the prodcution vlan ready for the weekends backups.  Any ideas?

From IXBACKUP-LON - where I want to restore from:

 

C:\Program Files\Veritas\NetBackup\bin>bpclntcmd.exe -hn harry
host harry: harry at 10.1.104.78 (0x4e68010a) <- correct
The network communication is fine have checked routes etc, firewalls all off

This is the active conenctions at start of restore when initiated from ixbackup - harry is the master server

 

Active Connections
 
  Proto  Local Address          Foreign Address        State
 
   TCP    10.1.2.186:13724       harry:2861             ESTABLISHED

  TCP    10.1.2.186:13724       harry:2862             ESTABLISHED

  TCP    127.0.0.1:59888        IXBACKUP-LON:60176     ESTABLISHED

  TCP    127.0.0.1:60176        IXBACKUP-LON:59888     ESTABLISHED

  TCP    [::1]:59884            IXBACKUP-LON:59885     ESTABLISHED

  TCP    [::1]:59885            IXBACKUP-LON:59884     ESTABLISHED 

Marianne
Moderator
Moderator
Partner    VIP    Accredited Certified

Back to basics.

Your client cannot resolve the master's hostname to the SERVER entry.

Add hosts entries for master and client to ensure correct forward and reverse lookup using original hostnames.

contra04
Level 5

Hi Marianne - I have added host entries on both clients to be sure.

 

I can ping, telnet both ways.

 

I enabled verbose debug logging on the client and the errors I get are for our old media server trying to connect, rather than the master. - strange as the backup data is on the master's local disks, nothing to do with the old media server.

 

ixbackup-lon does is not listed in the "clients" section of the admin console - however I can query it etc

This is the error in the activity log:

 

 

  03/02/2012 07:54:50 - begin Restore

03/02/2012 07:54:53 - restoring image mbx1-lon_1327731028

03/02/2012 08:00:11 - Error bpbrm(pid=5840) bpcd on ixbackup-lon exited with status 59: access to the client was not allowed

03/02/2012 08:00:17 - Error bpbrm(pid=5840) client restore EXIT STATUS 59: access to the client was not allowed 

03/02/2012 08:11:06 - restored image mbx1-lon_1327731028 - (cannot connect on socket(25)); restore time 00:16:13

03/02/2012 08:11:12 - end Restore; elapsed time: 00:16:22

the restore failed to recover the requested files(5) 

 AND FROM THE CLIENT BPCD verbose: 


08:00:10.757 [2068.1672] <2> bpcd main: VERBOSE = 5
08:00:10.757 [2068.1672] <2> logparams: bpcd 
08:00:10.757 [2068.1672] <2> bpcd main: Got socket for input 480
08:00:10.757 [2068.1672] <2> ReadKeyfile: keyfile C:\Program Files\Veritas\NetBackup\bin\keyfile.dat does not exist
 
08:00:10.757 [2068.1672] <2> process_requests: offset to GMT 0
08:00:10.757 [2068.1672] <2> logconnections: BPCD ACCEPT FROM 10.2.20.20.4896 TO 10.1.2.186.13724
08:00:10.757 [2068.1672] <2> process_requests: setup_sockopts complete
08:00:10.772 [2068.1672] <2> bpcd peer_hostname: Connection from host potter.internal.robertwalters.com (10.2.20.20) port 4896
08:00:10.772 [2068.1672] <2> bpcd valid_server: comparing harry and potter.internal.robertwalters.com
08:00:10.772 [2068.1672] <4> bpcd valid_server: potter.internal.robertwalters.com is not a master server
08:00:10.772 [2068.1672] <16> bpcd valid_server: potter.internal.robertwalters.com is not a media server either
08:00:10.944 [2068.1672] <2> process_requests: output socket port number = 1
08:00:11.413 [2068.1672] <2> vnet_receive_network_socket: ../../libvlibs/vnet_vnetd.c.1257: hash_str1: 1b7a93900eaeba572fd42c91966c7ed1
08:00:11.413 [2068.1672] <2> vnet_receive_network_socket: ../../libvlibs/vnet_vnetd.c.1258: hash_str2: 9a5e7ff7633fd37fb8ba1986ddf42cd6
08:00:11.413 [2068.1672] <2> verify_hashes: ../../libvlibs/vnet_vnetd.c.1771: hash_str1: 1b7a93900eaeba572fd42c91966c7ed1
08:00:11.413 [2068.1672] <2> verify_hashes: ../../libvlibs/vnet_vnetd.c.1773: hash_str2: 9a5e7ff7633fd37fb8ba1986ddf42cd6
08:00:11.413 [2068.1672] <2> verify_hashes: ../../libvlibs/vnet_vnetd.c.1799: hash_str: 1b7a93900eaeba572fd42c91966c7ed1
08:00:11.413 [2068.1672] <2> process_requests: Duplicated vnetd socket on stderr
08:00:11.413 [2068.1672] <2> process_requests: <---- NetBackup 7.0 0 ------------initiated
08:00:11.413 [2068.1672] <2> process_requests: VERBOSE = 5
08:00:11.413 [2068.1672] <2> bpcd exit_bpcd: exit status 46  ----------->exiting
08:00:11.413 [2068.1672] <4> bpcd exit_bpcd: FTL - BPCD EXIT STATUS 46
 
08:00:11.413 [2068.1672] <16> process_requests: Server access denied
08:05:07.954 [3828.2340] <2> get_short: (1) cannot read (byte 1) from network: Connection timed out.
08:05:07.954 [3828.2340] <16> process_requests: token read: -3
08:05:07.954 [3828.2340] <4> process_requests:    h_errno = 10060 - Connection timed out.
08:05:07.954 [3828.2340] <16> bpcd main: process_requests returned 1
08:16:10.131 [3188.2440] <2> setup_debug_log: switched debug log file for bpcd
08:16:10.131 [3188.2440] <2> bpcd main: VERBOSE = 5
08:16:10.131 [3188.2440] <2> logparams: bpcd 
08:16:10.131 [3188.2440] <2> bpcd main: Got socket for input 480
08:16:10.131 [3188.2440] <2> ReadKeyfile: keyfile C:\Program Files\Veritas\NetBackup\bin\keyfile.dat does not exist
 
08:16:10.131 [3188.2440] <2> process_requests: offset to GMT 0
08:16:10.147 [3188.2440] <2> logconnections: BPCD ACCEPT FROM 10.1.104.78.3973 TO 10.1.2.186.13724
08:16:10.147 [3188.2440] <2> process_requests: setup_sockopts complete
08:16:10.147 [3188.2440] <2> bpcd peer_hostname: Connection from host harry (10.1.104.78) port 3973
08:16:10.147 [3188.2440] <2> bpcd valid_server: comparing harry and harry
08:16:10.147 [3188.2440] <4> bpcd valid_server: hostname comparison succeeded
08:16:10.319 [3188.2440] <2> process_requests: output socket port number = 1
08:16:10.522 [3188.2440] <2> vnet_receive_network_socket: ../../libvlibs/vnet_vnetd.c.1257: hash_str1: 368248a725f014f6193c3fc5148b4d51
08:16:10.522 [3188.2440] <2> vnet_receive_network_socket: ../../libvlibs/vnet_vnetd.c.1258: hash_str2: 3b0d03658ffd6675aa34de70cc34a37f
08:16:10.522 [3188.2440] <2> verify_hashes: ../../libvlibs/vnet_vnetd.c.1771: hash_str1: 368248a725f014f6193c3fc5148b4d51
08:16:10.522 [3188.2440] <2> verify_hashes: ../../libvlibs/vnet_vnetd.c.1773: hash_str2: 3b0d03658ffd6675aa34de70cc34a37f
08:16:10.522 [3188.2440] <2> verify_hashes: ../../libvlibs/vnet_vnetd.c.1799: hash_str: 368248a725f014f6193c3fc5148b4d51
08:16:10.522 [3188.2440] <2> process_requests: Duplicated vnetd socket on stderr
08:16:10.522 [3188.2440] <2> process_requests: <---- NetBackup 7.0 0 ------------initiated
08:16:10.522 [3188.2440] <2> process_requests: VERBOSE = 5
08:16:10.522 [3188.2440] <2> process_requests: Not using VxSS authentication with harry
 
Interface: 10.1.2.186 --- 0xb
  Internet Address      Physical Address      Type
  10.1.1.1              ec-30-91-e3-ca-80     dynamic   
  10.1.1.3              00-00-00-00-00-18     dynamic   
  10.1.1.53             00-0f-20-31-e6-6b     dynamic   
  10.1.1.87             00-50-56-af-00-40     dynamic   
  10.1.1.88             00-1e-0b-e9-be-be     dynamic   
  10.1.2.71             00-50-56-af-00-6a     dynamic   
  10.1.2.223            00-50-56-a5-00-0b     dynamic   
  10.1.31.255           ff-ff-ff-ff-ff-ff     static    
  224.0.0.22            01-00-5e-00-00-16     static    
  224.0.0.252           01-00-5e-00-00-fc     static    
08:16:10.537 [3188.2440] <2> process_requests: 
08:16:10.725 [3188.2440] <2> process_requests: BPCD_OPEN_FOR_WRITE_RQST
08:16:10.959 [3188.2440] <2> process_requests: open for write file name = C:\Program Files\Veritas\NetBackup\logs\user_ops\adm-c000\logs\NBWIN001
08:16:10.959 [3188.2440] <2> process_requests: buffer length = 4096
08:16:10.959 [3188.2440] <2> process_requests: our open flags = 0x119
08:16:10.959 [3188.2440] <2> process_requests: client open flags = 0x109
08:16:10.959 [3188.2440] <2> process_requests: completed the write of the file number to the output socket
08:16:11.178 [3188.2440] <2> process_requests: BPCD_LOG_RQST_NO_STATUS
08:16:11.178 [3188.2440] <2> process_requests: BPCD_CLOSE_FILE_RQST
08:16:11.397 [3188.2440] <2> process_requests: BPCD_DISCONNECT_RQST
08:16:11.397 [3188.2440] <2> bpcd exit_bpcd: exit status 0  ----------->exiting
08:16:11.647 [2620.4012] <2> setup_debug_log: switched debug log file for bpcd
08:16:11.647 [2620.4012] <2> bpcd main: VERBOSE = 5
08:16:11.647 [2620.4012] <2> logparams: bpcd 
08:16:11.647 [2620.4012] <2> bpcd main: Got socket for input 480
08:16:11.647 [2620.4012] <2> ReadKeyfile: keyfile C:\Program Files\Veritas\NetBackup\bin\keyfile.dat does not exist
 
08:16:11.647 [2620.4012] <2> process_requests: offset to GMT 0
08:16:11.647 [2620.4012] <2> logconnections: BPCD ACCEPT FROM 10.1.104.78.3976 TO 10.1.2.186.13724
08:16:11.647 [2620.4012] <2> process_requests: setup_sockopts complete
08:16:11.647 [2620.4012] <2> bpcd peer_hostname: Connection from host harry (10.1.104.78) port 3976
08:16:11.647 [2620.4012] <2> bpcd valid_server: comparing harry and harry
08:16:11.647 [2620.4012] <4> bpcd valid_server: hostname comparison succeeded
08:16:11.850 [2620.4012] <2> process_requests: output socket port number = 1

Marianne
Moderator
Moderator
Partner    VIP    Accredited Certified

Add SERVER entry on the client for: potter.internal.robertwalters.com

It seems the SERVER entry on the client is 'harry'.

: Connection from host potter.internal.robertwalters.com (10.2.20.20) port 4896

08:00:10.772 [2068.1672] <2> bpcd valid_server: comparing harry and potter.internal.robertwalters.com
08:00:10.772 [2068.1672] <4> bpcd valid_server: potter.internal.robertwalters.com is not a master server
08:00:10.772 [2068.1672] <16> bpcd valid_server: potter.internal.robertwalters.com is not a media server either
 

contra04
Level 5

Harry is the master server and the media server with the data on it.  Potter is an old server with a single tape drive attached, that we occasionaly use.  IT did however crash a few days ago. 

 

I need to keep the master as harry - but somehow add potter ?  Potter is a little sick ;)

This is me starting potter services 5 minutes after the last restore attempt that the logs are from:

 

 

C:\Documents and Settings\adminstrator>bpup -v -f
 
NetBackup 7.0 -- Startup Utility
 
 Starting services

> NetBackup Client Service

> NetBackup Client Service -- STARTED

> NetBackup SAN Client Fibre Transport Service

> NetBackup SAN Client Fibre Transport Service -- STARTED

> NetBackup Event Manager

> NetBackup Event Manager -- DISABLED

> NetBackup Volume Manager

> NetBackup Volume Manager -- STARTED

> NetBackup Device Manager

> NetBackup Device Manager -- STARTED

> NetBackup Remote Manager and Monitor Service

> NetBackup Remote Manager and Monitor Service -- STARTED

> NetBackup Compatibility Service

> NetBackup Compatibility Service -- STARTED

> NetBackup Request Daemon

> NetBackup Request Daemon -- STARTED

> NetBackup Job Manager

> NetBackup Job Manager -- DISABLED

> NetBackup Policy Execution Manager

> NetBackup Policy Execution Manager -- DISABLED

> NetBackup Service Layer

> NetBackup Service Layer -- STARTED

> NetBackup Vault Manager

> NetBackup Vault Manager -- STARTED

> NetBackup Storage Lifecycle Manager

> NetBackup Storage Lifecycle Manager -- NOT STARTED

> NetBackup Service Monitor

> NetBackup Service Monitor -- STARTED

> NetBackup Bare Metal Restore Boot Server

> NetBackup Bare Metal Restore Boot Server -- STARTED

Start up of one or more services failed. 
 
Thank you marianne I really appreciate your help!

contra04
Level 5

I am still unsure as to why potter is trying to get involved - as the backup and the restore and the master are all harry.  Maybe I need to change something on the master properties on the server?

 

is it worrying that ixbackup-lon is not listed as a client? or does it only get in this list if it has at least one backup job, or belongs to a policy?

Marianne
Moderator
Moderator
Partner    VIP    Accredited Certified

The client is resolving the master server connection attempt to that name.

Do the following - Clear host_cache on master and client:

bpclntcmd -clear_host_cache

Then test connectivity from master to client:

bptestbpcd -client <hostname> -verbose

Check client's bpcd log file.