cancel
Showing results for 
Search instead for 
Did you mean: 

Use bpflist command on NetBackup client

kml
Level 4
Partner Accredited
Hi all, bpflist binary is available on master & media servers (admincmd) but not on NetBackup clients. I have to use this command on clients, is there a solution ? I didn't try to simply copy the binary, i think there is some DLL also ? Thanks in advance. Regards
1 ACCEPTED SOLUTION

Accepted Solutions

Nicolai
Moderator
Moderator
Partner    VIP   

You can do that with bplist 

See : http://www.mass.dk/netbackup/quick-hints/94-how-to-find-ms-sql-database-files-using-bplist.html

The script is written for UNIX, but you can hijack the command as is. Please also note that bplist terminate each line with a null byte and you need to remove it before regular expression will work 

http://www.mass.dk/netbackup/quick-hints/88-remove-null-byte-from-bplist-output.html

Again written for UNIX but Powershell should do the job as well.

View solution in original post

5 REPLIES 5

revarooo
Level 6
Employee

Copying files across from Master/media to clients is not supported.

Use rsh or ssh to run the command on the master remotely from the client.

Nicolai
Moderator
Moderator
Partner    VIP   

Sorry - that will not work.

From the client you can use either bplist or bpclimagelist. 

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

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

What task do you need to accomplish ?

 

kml
Level 4
Partner Accredited
After an MS SQL Server backup i need to retrieve ndf & ldf physical paths. It seems that only bpflist gives me this information :-/ FN=7 L=0 PL=80 DL=200 BK=2968 II=1 RS=0 GB=0 DN=-1 P=/xxx.db.DOP.~.7.001of008.20141106171629..C D=33152 992102 992102 0 1415290590 1415290590 1415290590 1 12 13 47 22 0 10 3 1415290613 7 2 MSSQL Client NetBackup App C:\VirtualMounts\xxx.ldf MSSQL_METADATA_LOGFILE DOP_tlog01 I don't want other people to connect on our masters and execute this command. If i can find those informations with another command that's fine :) Thanks

Nicolai
Moderator
Moderator
Partner    VIP   

You can do that with bplist 

See : http://www.mass.dk/netbackup/quick-hints/94-how-to-find-ms-sql-database-files-using-bplist.html

The script is written for UNIX, but you can hijack the command as is. Please also note that bplist terminate each line with a null byte and you need to remove it before regular expression will work 

http://www.mass.dk/netbackup/quick-hints/88-remove-null-byte-from-bplist-output.html

Again written for UNIX but Powershell should do the job as well.

kml
Level 4
Partner Accredited
very good stuff, thanks Nicolai